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
CMake Error at src/lib/openmj2/CMakeLists.txt:49 (target_compile_options):
Cannot specify compile options for target "PRIVATE" which is not built by
this project.
cmake:
..........................
CMake Error at src/lib/openmj2/CMakeLists.txt:49 (target_compile_options):
Cannot specify compile options for target "PRIVATE" which is not built by
this project.
CMakeFiles/CMakeError.log:
..........................
/usr/bin/cc -DCHECK_FUNCTION_EXISTS=pthread_create CMakeFiles/cmTryCompileExec1944669023.dir/CheckFunctionExists.c.o -o cmTryCompileExec1944669023 -rdynamic -lpthreads
/usr/lib64/gcc/x86_64-slackware-linux/4.9.2/../../../../x86_64-slackware-linux/bin/ld: cannot find -lpthreads
collect2: error: ld returned 1 exit status
build script:
..........................
!/bin/sh
cmake -DBUILD_THIRDPARTY:bool=on -DBUILD_DOC:bool=off -DBUILD_PKGCONFIG_FILES:bool=on -DCMAKE_BUILD_TYPE:string="Release" -DBUILD_VIEWER:bool=off -DBUILD_JAVA:bool=off -DBUILD_JPIP_SERVER:bool=on -DBUILD_SHARED_LIBS:bool=on -DBUILD_MJ2:bool=on -DBUILD_JP3D:bool=on -DBUILD_JPWL:bool=on -DBUILD_JPIP:bool=on -DCMAKE_INSTALL_PREFIX=/usr/local/TEST/opj2 ..
Compilation was successful only with '-DBUILD_MJ2:bool=off'.
winfried
The text was updated successfully, but these errors were encountered: