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

linux installation problem #44

Open
aface0427 opened this issue Mar 23, 2023 · 5 comments
Open

linux installation problem #44

aface0427 opened this issue Mar 23, 2023 · 5 comments

Comments

@aface0427
Copy link

when I run command make in app folder(the last step)
It said cannot find -lcoretrace and exit
how can i solve this problem
i use ubuntu 18.04 server

@LightBarricade
Copy link

@aface0427 I have the same issue, did you solve it?

@LightBarricade
Copy link

I finally solved it by specifying the path to the libraries, but then I get another error with a lot of wx libraries, Im using wxWidgets 3.2.4 instead of 3.1.0, could that be the problem?

@aface0427
Copy link
Author

aface0427 commented Nov 25, 2023 via email

@jalcam
Copy link

jalcam commented Jul 25, 2024

I've followed the instructions but I'm stuck at this part:

 make
[  5%] Built target lk
[ 70%] Built target wex
[ 82%] Built target coretrace_api
[ 93%] Built target coretrace
[ 94%] Built target strace
[ 95%] Linking CXX executable SolTrace
/usr/bin/c++  -O3 -pthread CMakeFiles/SolTrace.dir/src/console.cpp.o CMakeFiles/SolTrace.dir/src/elementlist.cpp.o CMakeFiles/SolTrace.dir/src/fluxmap.cpp.o CMakeFiles/SolTrace.dir/src/geometry.cpp.o CMakeFiles/SolTrace.dir/src/intersections.cpp.o CMakeFiles/SolTrace.dir/src/optics.cpp.o CMakeFiles/SolTrace.dir/src/project.cpp.o CMakeFiles/SolTrace.dir/src/raydata.cpp.o CMakeFiles/SolTrace.dir/src/script.cpp.o CMakeFiles/SolTrace.dir/src/soltrace.cpp.o CMakeFiles/SolTrace.dir/src/sunshape.cpp.o CMakeFiles/SolTrace.dir/src/trace.cpp.o -o SolTrace  ../coretrace/coretrace.a ../../wex.a ../../lk/lk.a -L/usr/lib/x86_64-linux-gnu -pthread -lwx_gtk3u_unofficial_qa-3.2 -lwx_gtk3u_unofficial_aui-3.2 -lwx_gtk3u_unofficial_richtext-3.2 -lwx_gtk3u_unofficial_html-3.2 -lwx_gtk3u_unofficial_propgrid-3.2 -lwx_baseu_unofficial_net-3.2 -lwx_gtk3u_unofficial_stc-3.2 -lwx_gtk3u_unofficial_core-3.2 -lwx_baseu_unofficial_xml-3.2 -lwx_baseu_unofficial-3.2 -ldl -lfontconfig -lm -lcurl -lwx_gtk3u_unofficial_xrc-3.2 -lwx_gtk3u_unofficial_richtext-3.2 -lwx_gtk3u_unofficial_stc-3.2 -lwx_gtk3u_unofficial_ribbon-3.2 -lwx_gtk3u_unofficial_aui-3.2 -lwx_gtk3u_unofficial_propgrid-3.2 -lwx_gtk3u_unofficial_gl-3.2 -lwx_gtk3u_unofficial_qa-3.2 -lwx_gtk3u_unofficial_html-3.2 -lwx_baseu_unofficial_net-3.2 -lwx_gtk3u_unofficial_core-3.2 -lwx_baseu_unofficial_xml-3.2 -lwx_baseu_unofficial-3.2
/usr/bin/ld: ../../wex.a(gleasy.cpp.o): undefined reference to symbol 'glPixelZoom'
/usr/bin/ld: /lib/x86_64-linux-gnu/libGL.so.1: error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status
make[2]: *** [soltrace/app/CMakeFiles/SolTrace.dir/build.make:279: soltrace/app/SolTrace] Error 1
make[1]: *** [CMakeFiles/Makefile2:333: soltrace/app/CMakeFiles/SolTrace.dir/all] Error 2
make: *** [Makefile:91: all] Error 2

I think it's a flag issue, but I don't know much about cmake or c++

@fenollp
Copy link

fenollp commented Oct 9, 2024

Ah, just got back to this repo today. Maybe this PR can help? #33
However I need to find some time to rebase it...

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