-
Notifications
You must be signed in to change notification settings - Fork 21
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
I updated Ofelia libs OfxPd (PD 0.52-2) and OfxLua (1.4.4) #78
Comments
could you PLEASE update it to be Boost 1.81 compatible? ...cannot get anything to work on linux in the current situation |
@Newk77 probably that is an issue with ofxLua? Maybe someone else has an idea? |
Maybe i did do something wrong with the setup? A couple of years ago i did remember needing to copy ofxLua to some directory or did the installation instructions change on Ofelia's main github page to reflect an easier setup? anyway i think i just copy the lines where compiling go wrong here:
this might give more clues as to what is wrong |
Have you tried this Ofelia external binary (for macOS/Linux) that I recently built? I used the latest version of Pd, OF, and the addons including OfxLua. Let me know if it works. |
For ofxLua, I think you might need to regenerate the SWIG bindings (if you haven't) by downloading https://github.com/danomatika/swig-openframeworks and putting it into |
i did not try your binary yet and went first to compile it.. just tried that now and in Pd then gives an error that it cannot find "libboost_filesystem.so.1.74.0" which is much older then 1.81 ...weird! will be trying to compile your last forked version (4.1.0) with those instructions in your post above and hope i can get further then last time i tried juggling that SWIG thing :P |
after copying the files from swig-openframeworks over the files in ../ofxLua/swig and then building swig i get:
what am i doing wrong? for instance the first one it cannot find is here: /home/newk/Documents/OF/libs/openFrameworks/utils/ renaming all the paths by hand in the .i files with a preceding "../../../../../libs/openFrameworks/" would be a bit cumbersome but if it makes it work then might be worth it, haha |
hmmm.. changing line 91 of Makefile into OK that worked 👍 (it didn't spit anything onto terminal but it did make the file) |
after copying that into place of bindings file, now when building it does not look different then the error before ?? link to full compilation (expires after a year) when in the process do i use the updateOF.sh script? (like the instructions i did it before building ofxOfelia) |
Are you using the latest ofxLua (master branch) and OF 0.11.2 which is the latest stable release? If so, can you download this branch: https://github.com/cuinjune/Ofelia/tree/update/v4.1.0 and put the folder into the Also, you might need to run the following before building the external to update some OF libs if you haven't.
|
i was using the one inside of this download.. there was no instructions here to be getting it somewhere else 😛
i am using the current nightly build as recommended by OF.. i tried 0.11.2 (and older ones, in hope those might work with Ofelia) but it fails to compile due to openAL/GStreamer
will try this again with the inclusion of recommended ofxLua from the other source
allright, then it's clear that i do all of those things before the updateOF script, then after that, the final step to build ofxOfelia |
this is what it gives me now... might be different in process but struggles to get over the same lines of syntax in ofBindings.cpp |
if the compilation would have been succesfull, would it have made entries into OF/addons/ for ofxLua ofxMidi and ofxPd ..next to ofxOfelia? (This is how i imagined this to be working) |
When you compile Ofelia, it just uses the libraries located in the |
Well then most of the Linux users are screwed at the moment, as openFrameworks 0.11.2 fails to build due to GStreamer what version of Boost library is installed, on the linux machine you build the binary with? I did try all the methods explained in steps here (with building and copying of a new ofBindings.cpp file) for the working nightly builds of openFrameworks, including the last version of_v20230211_linux64gcc6_nightly ....but no dice. Still this:
is this something to go ask the developer of ofxLua? |
I hope I did not create any confusion with my branch :) |
I built the Ofelia binary on Ubuntu 22.04.1 LTS and it uses boost 1.74 as I checked.
And if you keep having problems with ofxLua when building Ofelia, you might want to first check if you can build the ofxLua example project (ofxLua/luaExample). I think you can just run |
@Jonathhhan : on the contrary, you're update rekindled my interest into Ofelia 😃 because i could use it again after some time of incompatibility, too bad it didn't last that long (on my system). @cuinjune : then there is a pretty huge gap between Manjaro (Arch) and Ubuntu for the verion of Boost (1.74 vs 1.81), i cannot downgrade that far. i did try compiling the ofxLua/luaExample on it's own (had to first use OF ProjectGenerator, before i could make it) |
As noted, I think the error messages tells you what is going on:
In ofConstants.h, I believe openFrameworks has a check if boost::filesystem or std::filesystem are available. The bindings rea regenerated using SWIG by my system using of OF 0.11.2 and whatever boost headers are included with it. You can regenerate the bindings yourself by cloning the ofxLua repo and it's submodule dependencies. Do not just download a zip, use git to clone it. This is listed in the ofxLua README: https://github.com/danomatika/ofxLua#installation-and-build You can then install swig via your package manager and (re)generate the bindings using the script in the ofxLua/scripts dir:
I believe the SWIG interfaces files in swig-openframeworks already use "std::filesystem" while ofxConstants.h will typdef boost::filesystem to std::filesystem if it's not found. There isn't anything specifically boost-related in the interfaces, it's all just picked up by SWIG from the OF headers, so I'm not sure if there is much I can do to "suddenly make it work" for you on my end. |
Also, please note that the ofxLua bindings and swig-openframeworks are only compatible with the current stable release of openFrameworks. I do not test against the GitHub master branch or any nightly builds. I only update the bindings just before a new stable release is coming or is out. This is written in the README. |
I have updated ofxLua for OF 0.12 and the new version tag is 1.5.0. The main fix was to wrap the |
@Jonathhhan noticed a couple of bugs which are now fixed in ofxLua 1.5.1. |
@danomatika @cuinjune there is another issue #85, because |
If someone wants to try:
https://github.com/Jonathhhan/ofxOfelia/tree/update_0.52-2
The text was updated successfully, but these errors were encountered: