You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm pretty new to C++ and CMake. I've been trying to get the FTXUI library working with pybind, but I keep getting the error /usr/bin/ld: final link failed: bad value once the make command reaches 100%. I've done a lot of research and it seems it's caused by cmake trying to use a static library with a dynamic one, and to use the fPIC flag. I've tried things in my CMakeLists.txt to enable this flag, or import the library in a different way entirely, but nothing has worked so far. As I said earlier, I'm very new to CMake and C++ so any help would be appreciated.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I'm pretty new to C++ and CMake. I've been trying to get the FTXUI library working with pybind, but I keep getting the error
/usr/bin/ld: final link failed: bad value
once themake
command reaches 100%. I've done a lot of research and it seems it's caused by cmake trying to use a static library with a dynamic one, and to use thefPIC
flag. I've tried things in myCMakeLists.txt
to enable this flag, or import the library in a different way entirely, but nothing has worked so far. As I said earlier, I'm very new to CMake and C++ so any help would be appreciated.Beta Was this translation helpful? Give feedback.
All reactions