-
Notifications
You must be signed in to change notification settings - Fork 0
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
Bring CppSound into CsoundAC #13
Comments
The CI build has libcsnd6 as a dylib from Csound, but no header files for it. So maybe just bringing in the headers will do the job. |
Try adding header for non-dev libcsnd6 (#13).
|
Had to change |
Now it's:
See:
The CsoundAC library is built with rpath
|
I added an rpath to |
The Python example runs and completes, but the score ends up empty. Is it in fact the case that a newly built and installed |
Index 9 ( |
|
One more problem... Visual Studio Code uses Python 3.11, but CsoundAC's Python API installs for Python 3.12. |
And another... bwfmetaedit was not installed, but now is (now that there is a brew package for it). |
Python version not a problem after all. |
I am re-opening this issue because building CsoundAC for Python 3.12 is indeed a problem on macOS. I need to build CsoundAC for Python 3.11 at least on macOS. And I am putting Soundfile support back in for native and Python interfaces. |
It depends on what you want to search for. If you want 3.7.3, use find_package(Python3 3.7.3 EXACT). If you want version 3.7, regardless of the third digit, you can specify find_package(Python3 3.7 EXACT). In this case, the version 3.7.x, with the greatest value for x, will be founded. And if you want to search specifically in a directory, set variable Python3_ROOT: set(Python3_ROOT /ourbuilds/python) |
Pay close attention to https://cmake.org/cmake/help/latest/module/FindPython.html. |
I ran |
Replaced 3.12 with 3.13 in CMakeLists.txt. Builds. Loading locally I get:
This implies SWIG is using the wrong Python library. |
I am considering dropping support for the Python interface to CsoundAC. But first, I will try cleaning up my Python installation. |
I partly cleaned up the installation by removing python3.11 and re-installing python3.12. I had to use |
New problems. Pyqt5 and llvm use Python 3.9 which is installed but does not remove with brew. And pip treats python3.9 as the default. |
Put python3.12 from homebrew first in my PATH and now things build and load using python3.12. |
What a nightmare. I truly am spending more time configuration and debugging than composing, all efforts to do otherwise not really working. I am going to try with pyenv. |
This seemed to do something:
|
Created a Python venv and installed the soundfile in it it. Maybe I can now copy that to the |
Finally! Cloned python-soundfile and: |
Continuous integration builds are failing because the csnd library headers are not found.
libcsnd
libraries and #includes from CMakeLists.txt.CppSound
withCxxSound
throughout filenames and code. UseCxx
preface rather than a new namespace?The text was updated successfully, but these errors were encountered: