-
Notifications
You must be signed in to change notification settings - Fork 649
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
Link errors on GNU/Linux due to change of type of symbol for OpenGL #734
Comments
Duplicate of, and please refer to #647 the answer is already made.
|
Both produce the exact same problem. With Clang, I even tried to restart from scratch (with a new folder), but again the same error happened. |
CMakeLists.txt:set(CMAKE_INTERPROCEDURAL_OPTIMIZATION_RELEASE ON) edit and set OFF |
Also Where are The Buld LOGS ? |
Did you find a root cause of this LTO behavior? Usually, LTO-only errors indicate an error somewhere (not only the compiler). So maybe related upstream-reported or smth should be fixed on Cemu side? |
Actually it is not only LTO issue, and brings some problems when building as shared lib (e.g. for libretro) |
Hi.
libstdc++-6-dev
,libstdc++-10-dev
,libstdc++-11-dev
,libstdc++-12-dev
libegl-dev
: 1.6.0 (bookworm, to have a better version of Mesa)fatal error: 'span' file not found
#644 and Error building using clang while linking CXX executable in Ubuntu 22.04 #647 that look like the same.export LANG=en && CC=clang-14 CXX=clang++-14 cmake -DCMAKE_BUILD_TYPE=release .. && make
export LANG=en && CC=gcc CXX=g++ cmake -DCMAKE_BUILD_TYPE=release .. && make
I guess that it compile for version X of the library and that it tried to link for version Y of the library. But, if my guess is correct, I don't know why it happens.
The text was updated successfully, but these errors were encountered: