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 would like to code something using your library, but unfortunately I cannot build this using the provided steps. I am using Linux Mint.
The console output and some basic info about my setup is pasted here.
sudo cmake -DCMAKE_INSTALL_PREFIX=dist ..
CMake Error at CMakeLists.txt:50 (install):
install TARGETS given no OBJECTS DESTINATION for object library target
"cmmk_obj".
-- Configuring incomplete, errors occurred!
See also "/home/bocian/projects/libcmmk/build/CMakeFiles/CMakeOutput.log".
✗ uname -a
Linux bocian 4.15.0-60-generic #67-Ubuntu SMP Thu Aug 22 16:55:30 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
✗ cmake -version
cmake version 3.10.2
✗ make -version
GNU Make 4.1
Built for x86_64-pc-linux-gnu
The text was updated successfully, but these errors were encountered:
mikebocian
changed the title
Cannot build
Error during build: install TARGETS given no OBJECTS DESTINATION for object library target
Sep 16, 2019
Removing "cmmk_obj" from that line (50) in CMakeLists.txt did the trick for me. That and specifying -DCMAKE_C_FLAGS=-fPIC after seeing the next error with the suggestion "recompile with -fPIC".
Hi there,
I would like to code something using your library, but unfortunately I cannot build this using the provided steps. I am using Linux Mint.
The console output and some basic info about my setup is pasted here.
The text was updated successfully, but these errors were encountered: