[SOLVED]Error compiling openFrameworks embedded project #297
Replies: 3 comments 1 reply
-
|
I solved this by adding Now the project builds, but as soon as I run it, I get the following, and it segfaults: This is on Debian 12 with Python3.13.2 and Pyo 1.0.6 |
Beta Was this translation helpful? Give feedback.
-
|
I managed to both compile and run the app by changing the config.make to point to Python3.11, and by changing line 71 in m_pyo.h to also point to that Python version. Now the app compiles and runs, but the sound is distorted. I'm using Jack (I can see the app in Jack's graph), as I always do with Pyo, but it just doesn't sound right. I'll dig more into it. |
Beta Was this translation helpful? Give feedback.
-
|
I solved it! Eventually it was jack that was causing the issue. I removed the jack bits and the project built and run find! As with the Pd [pyo~] object, with its solution posted here #299 (comment), the m_pyo.h file has to change its lines 71-74, to point to the current Python you use. Change to the following: And here's the ofApp.h file: And here's the ofApp.cpp file (excluding any functions I'm not using in this test project): When I close the OF window, the program crashes. In debug mode, this is the output of GDB: This happens because OF calls Pyo::process() to process samples. I don't know how to solve this (yet), but since the program runs, I consider it to be not so important. My OS is Debian 12 and OF-0.12.0 with Python3.13 and Pyo-1.0.6. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I'm trying to embed Pyo into OF by following the instrucitons in the README file, but it fails. I changed some bits about the Python version, namely the following
where I replaced
pythonwithpython3, and edited themakecommand frommake && cp -r scripts bin/*.app/Contents/Resourcestomake %% cp -r scripts bin/data, but I'm getting the following errors:I know that embedding Pyo is a rather old project, but I think it's still doable and worth the trouble to make it. Any ideas?
Beta Was this translation helpful? Give feedback.
All reactions