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

'undefined symbol: _ZNK5boost10filesystem4path9extensionEv' (Linux) and development status of ofelia #79

Open
zepadovani opened this issue Nov 25, 2022 · 7 comments

Comments

@zepadovani
Copy link

I'm trying to make ofelia work on different linux systems (first I was trying in Manjaro and then I decided to run some virtual machines to see if the problem was localized). T

After downloading the 0.4 version via deken and running the scripts (arch ones for Manjaro 21.3.7 and Endeavour 3.43-1 using Puredata 0.53 and the Ubuntu ones for Ubuntu Studio 22.10, Pure Data 0.52-2), I could not instantiate the library.

The initial issues I had seem to be related to the libGLEW and libboost_filesystem versions expected by ofelia. I have tried to solve this by creating symlinks with the expected filenames.

sudo ln /usr/lib/libGLEW.so.2.2 /usr/lib/libGLEW.so.2.1
sudo ln /usr/lib/libboost_filesystem.so.1.80.0 /usr/lib/libboost_filesystem.so.1.71.0

Although these first issues are solved by doing this, I still get this error while trying the shape/polygon example:

/home/padovani/pd-externals/ofelia/ofelia.pd_linux: /home/padovani/pd-externals/ofelia/ofelia.pd_linux: undefined symbol: _ZNK5boost10filesystem4path9extensionEv
ofelia d $0-of
... couldn't create
/home/padovani/pd-externals/ofelia/ofelia.pd_linux: /home/padovani/pd-externals/ofelia/ofelia.pd_linux: undefined symbol: _ZNK5boost10filesystem4path9extensionEv
ofelia d $0-of
... couldn't create
/home/padovani/pd-externals/ofelia/ofelia.pd_linux: /home/padovani/pd-externals/ofelia/ofelia.pd_linux: undefined symbol: _ZNK5boost10filesystem4path9extensionEv
ofelia d $0-of
... couldn't create
/home/padovani/pd-externals/ofelia/ofelia.pd_linux: /home/padovani/pd-externals/ofelia/ofelia.pd_linux: undefined symbol: _ZNK5boost10filesystem4path9extensionEv
ofelia f;
ofPushMatrix();
ofTranslate(ofGetWidth() * 0.2, ofGetHeight() * 0.5);
ofRotateZDeg(ofGetFrameNum() * 0.5);
polygon(0, 0, 82, 3);
ofPopMatrix();
;
ofPushMatrix();
ofTranslate(ofGetWidth() * 0.5, ofGetHeight() * 0.5);
ofRotateZDeg(ofGetFrameNum() * 1);
polygon(0, 0, 80, 20);
ofPopMatrix();
;
ofPushMatrix();
ofTranslate(ofGetWidth() * 0.8, ofGetHeight() * 0.5);
ofRotateZDeg(ofGetFrameNum() * -1);
polygon(0, 0, 70, 7);
ofPopMatrix();

... couldn't create
/home/padovani/pd-externals/ofelia/ofelia.pd_linux: /home/padovani/pd-externals/ofelia/ofelia.pd_linux: undefined symbol: _ZNK5boost10filesystem4path9extensionEv
ofelia f;
ofBackground(102);
ofFill();
function polygon(x, y, radius, npoints);
local angle = OF_TWO_PI / npoints;
ofBeginShape();
for i = 0, OF_TWO_PI, angle do;
local sx = x + math.cos(i) * radius;
local sy = y + math.sin(i) * radius;
ofVertex(sx, sy);
end;
ofEndShape(true);
end;

... couldn't create

Any clues on how to solve this?

BTW... is ofelia development currently abandoned? It seems that things stoped two years ago... :/

Thanks in advance for any clues!

@60-hz
Copy link

60-hz commented Jan 14, 2023

@cuinjune I would also like to know about the current statut of ofelia, since I am using it in many workshops.
Cheers and wish you all the best for 2023!

@cuinjune
Copy link
Owner

@60-hz Sorry, I've been busy with other things lately. I tried to update Ofelia last year on macOS but something didn't work and I was not able to fix it. I will try again in the coming week. Thank you and I wish the best for you too!

@60-hz
Copy link

60-hz commented Jan 16, 2023

Thanks for the infos! I hope that you will be able to update it since it's a very interesting project!

@cuinjune
Copy link
Owner

@zepadovani @60-hz I've built Ofelia with openFrameworks 0.11.2 for Linux and macOS.

For now, you can download and unzip the attached file, and replace the files in the existing ofelia external directory. I will also upload them to Deken soon.

Please let me know if it doesn't work. You can also try building the externals yourself on this branch: https://github.com/cuinjune/Ofelia/tree/update/v4.1.0

@60-hz
Copy link

60-hz commented Jan 28, 2023

Thanks @cuinjune, I tried it and the examples seems to works well on macOS!
This issue is still here with M1 Computer #74

@Newk77
Copy link

Newk77 commented Feb 8, 2023

i'm on the same stranded boat as the OP..
it does not work or compile on linux due to updates on Boost (from 1.80 to 1.81)
even when compiling both OF and ofxOfelia with a downgraded Boost to 1.80 and the the fork of @Jonathhhan

i am also stuck at newest versions of OF because of incompatibilities with openAL/Gstreamer and unable to downgrade that

also better practice to refrain from symlinking older libraries to newer ones systemwide, as that might make a system quite unstable

so pretty PLEASE update ofelia to use Boost 1.81

@applecargo
Copy link

applecargo commented Mar 20, 2023

@zepadovani @60-hz I've built Ofelia with openFrameworks 0.11.2 for Linux and macOS.

For now, you can download and unzip the attached file, and replace the files in the existing ofelia external directory. I will also upload them to Deken soon.

* Linux: [ofelia_Linux.tar.gz](https://github.com/cuinjune/Ofelia/files/10471494/ofelia_Linux.tar.gz)

* macOS: [ofelia_macOS.tar.gz](https://github.com/cuinjune/Ofelia/files/10471495/ofelia_macOS.tar.gz)

Please let me know if it doesn't work. You can also try building the externals yourself on this branch: https://github.com/cuinjune/Ofelia/tree/update/v4.1.0

Thanks @cuinjune, I tried it and the examples also works well on Linux machine (debian/sid).

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

5 participants