Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for Windows 10 IoT Enterprise #19

Open
Viyyy opened this issue Apr 17, 2023 · 6 comments
Open

Support for Windows 10 IoT Enterprise #19

Viyyy opened this issue Apr 17, 2023 · 6 comments
Labels
bug Something isn't working

Comments

@Viyyy
Copy link

Viyyy commented Apr 17, 2023

When I create multiple instances of BFT, an exception is raised for access violation writing

@Viyyy
Copy link
Author

Viyyy commented Apr 17, 2023

import audioflux as af
from audioflux.type import SpectralFilterBankScaleType
from audioflux.type import SpectralDataType

NUM= 128
sr = 32000
bft1 = af.BFT(
num= NUM,
radix2_exp= 10,
samplate= sr,
scale_type=SpectralFilterBankScaleType.LOG,
)
print(0)
bft2 = af.BFT(
num= NUM,
radix2_exp= 11,
samplate= sr,
scale_type=SpectralFilterBankScaleType.LOG,
)
print(1)

bft_ls = []
for i in range(2):
bft = af.BFT(
num= NUM,
radix2_exp= 10+i,
samplate= sr,
scale_type=SpectralFilterBankScaleType.LOG,
)
bft_ls.append(bft)
print(2)

@Viyyy
Copy link
Author

Viyyy commented Apr 17, 2023

The python version is 3.6.13, the audioflux version is 0.1.4

@liufeigit liufeigit added the bug Something isn't working label Apr 17, 2023
@wtq2255
Copy link
Member

wtq2255 commented Apr 17, 2023

@Viyyy Please provide the system version

@Viyyy
Copy link
Author

Viyyy commented Apr 17, 2023

@Viyyy Please provide the system version
Thanks for your reply, here is my system version: Windows 10 IoT Enterprise.

@wtq2255
Copy link
Member

wtq2255 commented Apr 18, 2023

@Viyyy Please provide the system version
Thanks for your reply, here is my system version: Windows 10 IoT Enterprise.

We tested on win11/win10, but we don't have a test platform for Windows 10 IoT Enterprise release. We currently need to use MinGW to cross-compile for the Windows system, so you can use MinGW to cross-compile for Windows 10 IoT Enterprise under macOS to see if there is still a problem. If you encounter problems, you can reply again

brew install mingw-w64
python setup.py build_py_win
python setup.py install

@Viyyy
Copy link
Author

Viyyy commented Apr 18, 2023

@Viyyy Please provide the system version
Thanks for your reply, here is my system version: Windows 10 IoT Enterprise.

We tested on win11/win10, but we don't have a test platform for Windows 10 IoT Enterprise release. We currently need to use MinGW to cross-compile for the Windows system, so you can use MinGW to cross-compile for Windows 10 IoT Enterprise under macOS to see if there is still a problem. If you encounter problems, you can reply again

brew install mingw-w64
python setup.py build_py_win
python setup.py install

Thanks for your reply, I will try it latter.

@liufeigit liufeigit changed the title exception: access violation writing 0x0000023021C14000 Support for Windows 10 IoT Enterprise Apr 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants