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

I updated Ofelia libs OfxPd (PD 0.52-2) and OfxLua (1.4.4) #78

Open
Jonathhhan opened this issue Oct 1, 2022 · 23 comments
Open

I updated Ofelia libs OfxPd (PD 0.52-2) and OfxLua (1.4.4) #78

Jonathhhan opened this issue Oct 1, 2022 · 23 comments

Comments

@Jonathhhan
Copy link
Collaborator

Jonathhhan commented Oct 1, 2022

If someone wants to try:
https://github.com/Jonathhhan/ofxOfelia/tree/update_0.52-2

@Jonathhhan Jonathhhan changed the title I updated Ofelia libs OfxPd (PD 0.52-2 / current libPd) and OfxLua (1.4.4) I updated Ofelia libs OfxPd (PD 0.51-4 / current libPd) and OfxLua (1.4.4) Oct 2, 2022
@Jonathhhan Jonathhhan changed the title I updated Ofelia libs OfxPd (PD 0.51-4 / current libPd) and OfxLua (1.4.4) I updated Ofelia libs OfxPd (PD 0.52-2 / current libPd) and OfxLua (1.4.4) Oct 2, 2022
@Jonathhhan Jonathhhan changed the title I updated Ofelia libs OfxPd (PD 0.52-2 / current libPd) and OfxLua (1.4.4) I updated Ofelia libs OfxPd (PD 0.52-2) and OfxLua (1.4.4) Oct 3, 2022
@Newk77
Copy link

Newk77 commented Feb 8, 2023

could you PLEASE update it to be Boost 1.81 compatible? ...cannot get anything to work on linux in the current situation
Before the updates on linux i had this version working well.

@Jonathhhan
Copy link
Collaborator Author

@Newk77 probably that is an issue with ofxLua? Maybe someone else has an idea?

@Newk77
Copy link

Newk77 commented Feb 9, 2023

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:

/home/newk/Documents/OF/addons/ofxOfelia/libs/ofxLua/src/bindings/desktop/ofBindings.cpp: In function ‘int _wrap_saveURLTo(lua_State*)’:
/home/newk/Documents/OF/addons/ofxOfelia/libs/ofxLua/src/bindings/desktop/ofBindings.cpp:48635:51: error: invalid initialization of reference of type ‘const std::filesystem::__cxx11::path&’ from expression of type ‘const boost::filesystem::path’
48635 |   result = ofSaveURLTo((std::string const &)*arg1,(boost::filesystem::path const &)*arg2); {
      |                                                   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/newk/Documents/OF/libs/openFrameworks/ofMain.h:11:
/home/newk/Documents/OF/libs/openFrameworks/utils/ofURLFileLoader.h:74:81: note: in passing argument 2 of ‘ofHttpResponse ofSaveURLTo(const std::string&, const std::filesystem::__cxx11::path&)’
   74 | ofHttpResponse ofSaveURLTo(const std::string& url, const std::filesystem::path& path);
      |                                                    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~
/home/newk/Documents/OF/addons/ofxOfelia/libs/ofxLua/src/bindings/desktop/ofBindings.cpp: In function ‘int _wrap_saveURLAsync(lua_State*)’:
/home/newk/Documents/OF/addons/ofxOfelia/libs/ofxLua/src/bindings/desktop/ofBindings.cpp:48645:59: error: invalid initialization of reference of type ‘const std::filesystem::__cxx11::path&’ from expression of type ‘const boost::filesystem::path’
48645 |   result = (int)ofSaveURLAsync((std::string const &)*arg1,(boost::filesystem::path const &)*arg2);
      |                                                           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/newk/Documents/OF/libs/openFrameworks/utils/ofURLFileLoader.h:84:73: note: in passing argument 2 of ‘int ofSaveURLAsync(const std::string&, const std::filesystem::__cxx11::path&)’
   84 | int ofSaveURLAsync(const std::string& url, const std::filesystem::path& path);
      |                                            ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~
/home/newk/Documents/OF/addons/ofxOfelia/libs/ofxLua/src/bindings/desktop/ofBindings.cpp: At global scope:
/home/newk/Documents/OF/addons/ofxOfelia/libs/ofxLua/src/bindings/desktop/ofBindings.cpp:17204:12: warning: ‘int _wrap_3dPrimitive_draw(lua_State*)’ defined but not used [-Wunused-function]
17204 | static int _wrap_3dPrimitive_draw(lua_State* L) { int SWIG_arg = 0; of3dPrimitive *arg1 = (of3dPrimitive *) 0 ;
      |            ^~~~~~~~~~~~~~~~~~~~~~
make[1]: *** [/home/newk/Documents/OF/libs/openFrameworksCompiled/project/makefileCommon/compile.project.mk:307: /home/newk/Documents/OF/addons/ofxOfelia/LinuxExternal/obj/linux64/Release/addons/ofxLua/src/bindings/desktop/ofBindings.o] Error 1
make[1]: Leaving directory '/home/newk/Documents/OF/addons/ofxOfelia/LinuxExternal'
make: *** [/home/newk/Documents/OF/libs/openFrameworksCompiled/project/makefileCommon/compile.project.mk:129: Release] Error 2

this might give more clues as to what is wrong
full compile output here (link expires after a year)

@cuinjune
Copy link
Owner

cuinjune commented Feb 9, 2023

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.

@cuinjune
Copy link
Owner

cuinjune commented Feb 9, 2023

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 ofxLua folder. Then you can cd to ofxLua/swig and run make desktop LANG=lua NAME=ofBindings in the Terminal. And then copy the ofxLua/swig/lua/desktop/ofBindings.cpp file to ofxLua/src/bindings/desktop directory and replace the existing file. And then you can try to build Ofelia again. I hope this makes sense.

@Newk77
Copy link

Newk77 commented Feb 9, 2023

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.

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

@Newk77
Copy link

Newk77 commented Feb 10, 2023

after copying the files from swig-openframeworks over the files in ../ofxLua/swig and then building swig i get:

~ >>> cd /home/newk/Documents/OF/addons/ofxOfelia/libs/ofxLua/swig/                                                                                          
~/.../ofxLua/swig >>> make desktop LANG=lua NAME=ofBindings                                                                                                  
### Generating: openFrameworks desktop
swig -c++ -lua -O -small  -I../../../libs/openFrameworks -DMODULE_NAME=of -DOF_SWIG_RENAME -o lua/desktop/ofBindings.cpp openFrameworks.i
openFrameworks/openFrameworks/main.i:52: Error: Unable to find 'utils/ofConstants.h'
openFrameworks/openFrameworks/main.i:76: Error: Unable to find 'math/ofMathConstants.h'
openFrameworks/openFrameworks/main.i:104: Error: Unable to find 'utils/ofUtils.h'
openFrameworks/openFrameworks/main.i:134: Error: Unable to find 'gl/ofFbo.h'
openFrameworks/openFrameworks/main.i:141: Error: Unable to find 'gl/ofTexture.h'
openFrameworks/openFrameworks/main.i:175: Error: Unable to find 'graphics/ofImage.h'
openFrameworks/openFrameworks/main.i:218: Error: Unable to find 'graphics/ofGraphicsBaseTypes.h'
openFrameworks/openFrameworks/main.i:228: Error: Unable to find 'sound/ofSoundBaseTypes.h'
openFrameworks/openFrameworks/main.i:240: Error: Unable to find 'video/ofVideoBaseTypes.h'
openFrameworks/openFrameworks/3d.i:10: Error: Unable to find '3d/ofNode.h'
openFrameworks/openFrameworks/3d.i:14: Error: Unable to find '3d/of3dUtils.h'
openFrameworks/openFrameworks/3d.i:18: Error: Unable to find '3d/ofCamera.h'
openFrameworks/openFrameworks/3d.i:26: Error: Unable to find '3d/ofEasyCam.h'
openFrameworks/openFrameworks/3d.i:61: Error: Unable to find '3d/ofMesh.h'
openFrameworks/openFrameworks/3d.i:69: Error: Unable to find '3d/of3dPrimitives.h'
openFrameworks/openFrameworks/app.i:11: Error: Unable to find 'app/ofWindowSettings.h'
openFrameworks/openFrameworks/app.i:69: Error: Unable to find 'app/ofAppRunner.h'
openFrameworks/openFrameworks/communication.i:27: Error: Unable to find 'communication/ofArduino.h'
openFrameworks/openFrameworks/communication.i:37: Error: Unable to find 'communication/ofSerial.h'
openFrameworks/openFrameworks/math.i:18: Error: Unable to find 'math/ofMath.h'
openFrameworks/openFrameworks/math.i:42: Error: Unable to find 'math/ofMatrix3x3.h'
openFrameworks/openFrameworks/math.i:66: Error: Unable to find 'math/ofMatrix4x4.h'
openFrameworks/openFrameworks/math.i:94: Error: Unable to find 'math/ofQuaternion.h'
openFrameworks/openFrameworks/math.i:115: Error: Unable to find 'math/ofVec2f.h'
openFrameworks/openFrameworks/math.i:136: Error: Unable to find 'math/ofVec3f.h'
openFrameworks/openFrameworks/math.i:157: Error: Unable to find 'math/ofVec4f.h'
openFrameworks/openFrameworks/events.i:41: Error: Unable to find 'events/ofEvents.h'
openFrameworks/openFrameworks/gl.i:34: Error: Unable to find 'gl/ofBufferObject.h'
openFrameworks/openFrameworks/gl.i:64: Error: Unable to find 'gl/ofGLUtils.h'
openFrameworks/openFrameworks/gl.i:72: Error: Unable to find 'gl/ofLight.h'
openFrameworks/openFrameworks/gl.i:83: Error: Unable to find 'gl/ofMaterial.h'
openFrameworks/openFrameworks/gl.i:123: Error: Unable to find 'gl/ofShader.h'
openFrameworks/openFrameworks/gl.i:131: Error: Unable to find 'gl/ofVbo.h'
openFrameworks/openFrameworks/gl.i:135: Error: Unable to find 'gl/ofVboMesh.h'
openFrameworks/openFrameworks/graphics.i:16: Error: Unable to find 'graphics/ofGraphicsConstants.h'
openFrameworks/openFrameworks/graphics.i:101: Error: Unable to find 'graphics/ofPixels.h'
openFrameworks/openFrameworks/graphics.i:128: Error: Unable to find 'graphics/ofPath.h'
openFrameworks/openFrameworks/graphics.i:151: Error: Unable to find 'graphics/ofPolyline.h'
openFrameworks/openFrameworks/graphics.i:196: Error: Unable to find 'graphics/ofGraphics.h'
openFrameworks/openFrameworks/graphics.i:203: Error: Unable to find 'graphics/of3dGraphics.h'
openFrameworks/openFrameworks/graphics.i:297: Error: Unable to find 'graphics/ofTrueTypeFont.h'
openFrameworks/openFrameworks/sound.i:30: Error: Unable to find 'sound/ofSoundStream.h'
openFrameworks/openFrameworks/sound.i:44: Error: Unable to find 'sound/ofSoundPlayer.h'
openFrameworks/openFrameworks/types.i:25: Error: Unable to find 'types/ofColor.h'
openFrameworks/openFrameworks/types.i:84: Error: Unable to find 'types/ofPoint.h'
openFrameworks/openFrameworks/types.i:114: Error: Unable to find 'types/ofRectangle.h'
openFrameworks/openFrameworks/types.i:133: Error: Unable to find 'types/ofTypes.h'
openFrameworks/openFrameworks/utils.i:6: Error: Unable to find 'utils/ofFpsCounter.h'
openFrameworks/openFrameworks/utils.i:32: Error: Unable to find 'utils/ofXml.h'
openFrameworks/openFrameworks/utils.i:36: Error: Unable to find 'utils/ofMatrixStack.h'
openFrameworks/openFrameworks/utils.i:96: Error: Unable to find 'utils/ofFileUtils.h'
openFrameworks/openFrameworks/utils.i:126: Error: Unable to find 'utils/ofLog.h'
openFrameworks/openFrameworks/utils.i:134: Error: Unable to find 'utils/ofSystemUtils.h'
openFrameworks/openFrameworks/utils.i:152: Error: Unable to find 'utils/ofURLFileLoader.h'
openFrameworks/openFrameworks/video.i:15: Error: Unable to find 'video/ofVideoGrabber.h'
openFrameworks/openFrameworks/video.i:24: Error: Unable to find 'video/ofVideoPlayer.h'
make: *** [Makefile:121: openFrameworks] Error 1

what am i doing wrong?

for instance the first one it cannot find is here: /home/newk/Documents/OF/libs/openFrameworks/utils/
while i am building from: .................................... /home/newk/Documents/OF/addons/ofxOfelia/libs/ofxLua/swig/

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

@Newk77
Copy link

Newk77 commented Feb 10, 2023

hmmm.. changing line 91 of Makefile into OF_HEADERS = -I../../../../../libs maybe...

OK that worked 👍 (it didn't spit anything onto terminal but it did make the file)

@Newk77
Copy link

Newk77 commented Feb 10, 2023

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)

@cuinjune
Copy link
Owner

cuinjune commented Feb 10, 2023

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 OF/addons folder so that it can be OF/addons/ofxOfelia, and then cd to the LinuxExternal directory and run make in the Terminal? If it builds successfully, you will find the Ofelia external binary in the LinuxExternal/bin folder.

Also, you might need to run the following before building the external to update some OF libs if you haven't.

cd OF/addons/ofxOfelia/scripts/Linux64
sudo ./updateOF.sh

@Newk77
Copy link

Newk77 commented Feb 10, 2023

Are you using the latest ofxLua (master branch)

i was using the one inside of this download.. there was no instructions here to be getting it somewhere else 😛
Do i need to put this into OF/addons/ofxOfelia/libs/ofxLua? and then do the swig bindings compilation i guess

and OF 0.11.2 which is the latest stable release?

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

If so, can you download this branch: https://github.com/cuinjune/Ofelia/tree/update/v4.1.0 and put the folder into the OF/addons folder so that it can be OF/addons/ofxOfelia, and then cd to the LinuxExternal directory and run make in the Terminal? If it builds successfully, you will find the Ofelia external binary in the LinuxExternal/bin folder.

will try this again with the inclusion of recommended ofxLua from the other source

Also, you might need to run the following before building the external to update some OF libs if you haven't.

cd OF/addons/ofxOfelia/scripts/Linux64
sudo ./updateOF.sh

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

@Newk77
Copy link

Newk77 commented Feb 10, 2023

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
Last change to ofxLua was made 4months ago... maybe things changed a bit in syntax and is now incompatible with current OF?
(sorry if i spout nonsense, i try to understand what is going wrong)

@Newk77
Copy link

Newk77 commented Feb 10, 2023

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)
...or should i get and compile those separately and put them there before making ofxOfelia?

@cuinjune
Copy link
Owner

When you compile Ofelia, it just uses the libraries located in the Ofelia/libs folder, and the libraries in the OF/addons folder won't be used or affected. If you use this branch: https://github.com/cuinjune/Ofelia/tree/update/v4.1.0, you don't need to update any libraries in the Ofelia/libs folder because I've already updated them a few weeks ago. And If you use this branch, you would need to use the stable OF 0.11.2 instead of the nightly build because that's the one I used to regenerate the ofBindings.cpp. If you really want to use the nightly build, you'd need to regenerate this file using the command I mentioned earlier.

@Newk77
Copy link

Newk77 commented Feb 12, 2023

Well then most of the Linux users are screwed at the moment, as openFrameworks 0.11.2 fails to build due to GStreamer
(mine trips over OF/libs/openFrameworks/sound/ofOpenALSoundPlayer during compilation, on both computers).

what version of Boost library is installed, on the linux machine you build the binary with?
i still think that version increase to 1.80/1.81 on my systems is the culprit in this incompatibility.

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:

/home/newk/Documents/OF/addons/ofxOfelia/libs/ofxLua/src/bindings/desktop/ofBindings.cpp: In function ‘int _wrap_saveURLTo(lua_State*)’:
/home/newk/Documents/OF/addons/ofxOfelia/libs/ofxLua/src/bindings/desktop/ofBindings.cpp:49627:51: error: invalid initialization of reference of type ‘const std::filesystem::__cxx11::path&’ from expression of type ‘const boost::filesystem::path’
49627 |   result = ofSaveURLTo((std::string const &)*arg1,(boost::filesystem::path const &)*arg2); {
      |                                                   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/newk/Documents/OF/libs/openFrameworks/ofMain.h:11:
/home/newk/Documents/OF/libs/openFrameworks/utils/ofURLFileLoader.h:74:81: note: in passing argument 2 of ‘ofHttpResponse ofSaveURLTo(const std::string&, const std::filesystem::__cxx11::path&)’
   74 | ofHttpResponse ofSaveURLTo(const std::string& url, const std::filesystem::path& path);
      |                                                    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~
/home/newk/Documents/OF/addons/ofxOfelia/libs/ofxLua/src/bindings/desktop/ofBindings.cpp: In function ‘int _wrap_saveURLAsync(lua_State*)’:
/home/newk/Documents/OF/addons/ofxOfelia/libs/ofxLua/src/bindings/desktop/ofBindings.cpp:49637:59: error: invalid initialization of reference of type ‘const std::filesystem::__cxx11::path&’ from expression of type ‘const boost::filesystem::path’
49637 |   result = (int)ofSaveURLAsync((std::string const &)*arg1,(boost::filesystem::path const &)*arg2);
      |                                                           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/newk/Documents/OF/libs/openFrameworks/utils/ofURLFileLoader.h:84:73: note: in passing argument 2 of ‘int ofSaveURLAsync(const std::string&, const std::filesystem::__cxx11::path&)’
   84 | int ofSaveURLAsync(const std::string& url, const std::filesystem::path& path);
      |                                            ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~
/home/newk/Documents/OF/addons/ofxOfelia/libs/ofxLua/src/bindings/desktop/ofBindings.cpp: At global scope:
/home/newk/Documents/OF/addons/ofxOfelia/libs/ofxLua/src/bindings/desktop/ofBindings.cpp:17280:12: warning: ‘int _wrap_3dPrimitive_draw(lua_State*)’ defined but not used [-Wunused-function]
17280 | static int _wrap_3dPrimitive_draw(lua_State* L) { int SWIG_arg = 0; of3dPrimitive *arg1 = (of3dPrimitive *) 0 ;
      |            ^~~~~~~~~~~~~~~~~~~~~~
make[1]: *** [/home/newk/Documents/OF/libs/openFrameworksCompiled/project/makefileCommon/compile.project.mk:307: /home/newk/Documents/OF/addons/ofxOfelia/LinuxExternal/obj/linux64/Release/addons/ofxLua/src/bindings/desktop/ofBindings.o] Error 1
make[1]: *** Waiting for unfinished jobs....
make[1]: Leaving directory '/home/newk/Documents/OF/addons/ofxOfelia/LinuxExternal'
make: *** [/home/newk/Documents/OF/libs/openFrameworksCompiled/project/makefileCommon/compile.project.mk:129: Release] Error 2

is this something to go ask the developer of ofxLua?

@Jonathhhan
Copy link
Collaborator Author

I hope I did not create any confusion with my branch :)

@cuinjune
Copy link
Owner

cuinjune commented Feb 12, 2023

I built the Ofelia binary on Ubuntu 22.04.1 LTS and it uses boost 1.74 as I checked.
Maybe you can try creating a symlink (as mentioned in this post), and then try using my external binary again in Pd?
I think you can run the following:

sudo ln /usr/lib/libboost_filesystem.so.1.81.0 /usr/lib/libboost_filesystem.so.1.74.0

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 make to build, and then make run to run the example.

@Newk77
Copy link

Newk77 commented Feb 13, 2023

@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.
If it is possible to symlink for only ofxLua/OF and not systemwide it could maybe get things working but like the OP in the issue pointed out, it is not without errors.
I don't want to symlink libraries systemwide like that, it could cause allot of errors on the system with other packages looking for the current version of Boost.

i did try compiling the ofxLua/luaExample on it's own (had to first use OF ProjectGenerator, before i could make it)
but it struggles with the same issue, so i leave it at that for now and contact @danomatika to see if he is willing and able to make it work for both old and new Boost versions.

@danomatika
Copy link

danomatika commented Feb 13, 2023

As noted, I think the error messages tells you what is going on:

error: invalid initialization of reference of type ‘const std::filesystem::__cxx11::path&’ from expression of type ‘const boost::filesystem::path’

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:

./scripts/generate_bindings.sh

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.

@danomatika
Copy link

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.

@danomatika
Copy link

danomatika commented Oct 30, 2023

I have updated ofxLua for OF 0.12 and the new version tag is 1.5.0.

The main fix was to wrap the of::filesystem::path type alias instead of boost::filesystem:path. This should work with whatever of::filesystem::path comes from.

@danomatika
Copy link

@Jonathhhan noticed a couple of bugs which are now fixed in ofxLua 1.5.1.

@Jonathhhan
Copy link
Collaborator Author

Jonathhhan commented Nov 15, 2023

@danomatika @cuinjune there is another issue #85, because Lua was updated to 5.4.6 in ofxLua. If downgraded to 5.3.6 ofxOfelia works like before. I guess, this file needs to be updated to work with the new Lua version, but no idea what to change: https://github.com/cuinjune/Ofelia/blob/master/scripts/common/ofxOfeliaPdBindings.i
Here is a list of possible incompatibilities: https://www.lua.org/manual/5.4/manual.html#8

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants