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
Building on windows #285
Comments
Try the 0.4.7 Version |
It seems to build alright with 0.4.7; however it couldn't find some few libraries (which were installed using vcpkg)...
|
could you try applying the following patch to master and rebuild the python module? diff --git a/python/ext/aubiomodule.c b/python/ext/aubiomodule.c
index d4ed0336..2f44ad24 100644
--- a/python/ext/aubiomodule.c
+++ b/python/ext/aubiomodule.c
@@ -462,7 +462,7 @@ initaubio (void)
PyModule_AddObject (m, "sink", (PyObject *) & Py_sinkType);
PyModule_AddStringConstant(m, "float_type", AUBIO_NPY_SMPL_STR);
- PyModule_AddStringConstant(m, "__version__", DEFINEDSTRING(AUBIO_VERSION));
+ PyModule_AddStringConstant(m, "__version__", "0.5.0~alpha");
// add generated objects
add_generated_objects(m); you might want to make sure to uninstall the previous version first:
let us know if that helps, |
@piem that seems to make it fix 👍 |
thanks @Baklap4 so the problem is that, with some locales, the parameter extracted from could you let us know what your locale is (the language of your system installation)? thanks, piem |
i can't test the code change right now, but my system language is german:
|
thanks for your feedback @M4d40 and @Baklap4 it seems that we have found a workaround. now, i'm not sure what the correct way to fix this. the goal is to pass a version string argument to the compiler withouth messing the encoding, regardless of the user's locale. Since what do you get when running thanks, piem |
Heey i'm having issues trying to build this library on windows using the given commands
python waf configure build
It seems to not find:
complete logfile:
config.log
I ran this command within command prompt
I've got visual studio 2019 installed
Python 3.8.2 is installed and configured in path.
We're trying to use this within a crossplatform project (https://github.com/performous/performous) the only environment left is windows.. (the others being osx and linux)
The text was updated successfully, but these errors were encountered: