-
Jona
@alexandros just found out that most of the Linux libs are static (.a), for those you do not need any extra files. But at least ofxStableDiffusion uses a shared lib: https://github.com/Jonathhhan/ofxOfeliaExtended/tree/main/libs/ofxStableDiffusion/libs/stable-diffusion/lib/Linux64
Also had no luck with compiling for Linux yet... -
Jona
@alexandros the content in the .zip folder is everything needed for the Windows external. ofeliaExtendedLib contains everything that is needed for the external (examples etc.), except the compiled libs. Actually, I could rename ofeliaExtendedLib to ofelia again, which maybe makes it more clear...
-
Jona
@svanya I made a projectM addon for Open Frameworks recently: https://github.com/Jonathhhan/ofxProjectM Maybe I can add it to ofxOfeliaExtended, eventually.
-
Jona
@raynovich you can try the (inofficialy) updated version: https://github.com/Jonathhhan/ofxOfelia/tree/update-april-2024
-
Jona
For the stable diffusion example you need a model like https://huggingface.co/stabilityai/sd-turbo/blob/main/sd_turbo.safetensors (preset is for sd turbo, but other models are also working. See here for more info: https://github.com/leejet/stable-diffusion.cpp).
And put it into the model folder of the example. -
Jona
@alexandros yes, I definitely need to update the documentation. It should still be valid for ofxOfelia. In Visual Studio I had to add ofelia_setup as a linker flag. Probably you need to copy some shared libs to the folder where ofelia.pd_linux is. Here you can see which libs (dll`s) are needed for Windows: ofeliaExtended-Win64-20250127.zip https://github.com/Jonathhhan/ofxOfeliaExtended/releases/tag/ofeliaExtended-Win64-20250127
I guess, the same are needed for Linux, too (would be nice, to automate that stuff). -
Jona
@alexandros I tried to compile with Ubuntu and there are some issues. But you need to keep the addons name ofxOfeliaExtended (ofxImGui is included then) - that might be your issue. I will give it another try. I use the OF master branch, so possibly the lua bindings need to be regenerated, if you use an older OF version (https://github.com/Jonathhhan/ofxOfeliaExtended/tree/main/scripts/common and https://github.com/Jonathhhan/ofxOfeliaExtended/tree/main/libs/ofxLua/scripts).
Btw: I also updated the regular addon / external ofxOfelia some time ago and it is still working... https://github.com/Jonathhhan/ofxOfelia/tree/update-april-2024
Regarding ofxImGui: I included the develop-branch: https://github.com/jvcleave/ofxImGui/tree/develop -
Jona
Here is a new Windows release: https://github.com/Jonathhhan/ofxOfeliaExtended/releases/tag/ofeliaExtended-Win64-20250127 It should be possible to compile for Linux and OSX, too. But did not test it yet (Linux was working with the last version).
For compiling the Windows external:
First build a VS Solution with the project generator.
Build as release.
This need to be set in the project settings:
Build as .dll.
Compile as standard.
Linker option: /export:ofelia_setup -
Jona
@alexandros I will have a look soon. I build the external for Linux and Windows, but it was some time ago.