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

openjpeg-master-2015-07-30 failed to compile on LINUX #556

Closed
szukw000 opened this issue Jul 30, 2015 · 0 comments
Closed

openjpeg-master-2015-07-30 failed to compile on LINUX #556

szukw000 opened this issue Jul 30, 2015 · 0 comments
Labels
Milestone

Comments

@szukw000
Copy link
Contributor

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

@mayeut mayeut closed this as completed in 372c887 Jul 30, 2015
@mayeut mayeut added this to the OPJ v2.1.1 milestone Aug 27, 2015
@mayeut mayeut added the bug label Sep 6, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants