-
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
setup_Unix.py in LFR not working #10
Comments
Thank you for confirmation, I also figured out that this works indeed for building. Very helpful. import pyaos as LFR even I can confirm that the file libglfw.so.3 is located in the /usr/lib directory? I will try now to build the libglfw once more. (x11 for manjaro linux) |
Ok, I tried to install also the 32-bit versions of the library and point the linker to that files (usr/lib32). Here are the last few lines of the output of setup_Unix: g++ -pthread -B /home/nidhoeggr/miniconda3/envs/cv2023/compiler_compat -Wl,--sysroot=/ -pthread -shared -B /home/nidhoeggr/miniconda3/envs/cv2023/compiler_compat -L/home/nidhoeggr/miniconda3/envs/cv2023/lib -Wl,-rpath=/home/nidhoeggr/miniconda3/envs/cv2023/lib -Wl,--no-as-needed -Wl,--sysroot=/ build/temp.linux-x86_64-cpython-37/../src/AOS.o build/temp.linux-x86_64-cpython-37/../src/gl_utils.o build/temp.linux-x86_64-cpython-37/../src/glad.o build/temp.linux-x86_64-cpython-37/../src/image.o build/temp.linux-x86_64-cpython-37/../src/utils.o build/temp.linux-x86_64-cpython-37/pyaos.o -L/usr/lib32 -lglfw -lassimp -o "/home/nidhoeggr/JKU/UE_CV/AOS/AOS for Drone Swarms/LFR/python/pyaos.cpython-37m-x86_64-linux-gnu.so" with the directory pointing directly to /usr/lib, g++ command is the only thing I get in the end of the script. |
Update: conda install -c conda-forge gcc=12.1.0 not it works. |
Description
The setup_Unix.py (
AOS for Own Projects/LFR/python/setup_Unix.py
) script is not working properly (linker-error for glfw and assimp libraries.I was able to make it work by changing
to
so this would be my proposal for a bugfix.
Environment
ubuntu22.04 base-docker image + necessary python packages
The text was updated successfully, but these errors were encountered: