-
Notifications
You must be signed in to change notification settings - Fork 3
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
ccmake error #12
Comments
I think the warning is probably unrelated to the error. Did you try to remove the build directory and try again? |
I tested with cmake 3.9.1 without problems. |
Thanks for testing it, yes I've removed the directory and tried several times. I'll go through the configurations and the dependencies again to check I haven't missed anything. I noticed my installation of CUDA does not appear to pick up the graphic card correctly, but I don't think it is related to the make error. |
Can you turn on CMAKE_VERBOSE_MAKEFILE and paste the error output? |
@sellberg Did you manage to fix this? I recently got the same error, which was caused by a syntax error in an underlying python script (part of the libspimage build). The problem became clear when looking at the src/CMakeFiles/_spimage_pybackend.dir/flags.make file... |
I tried to install libspimage on a new computer but got an error I haven’t seen before (I have used cmake 3.2.3 before, now I installed cmake 3.9.0 from brew). It seems to be related to some new CMake policy related to
RPATH
:https://cmake.org/cmake/help/v3.9/policy/CMP0068.html
Have you seen this before? I tried to set the
INSTALL_NAME_DIR
explicitly in theRPATH
part (see starred ** rows below) of/libspimage/CMakeLists.txt
, but no luck so far.Any idea how to solve it?
Cheers,
Jonas
When pressing
g
inccmake
:When compiling library with
make
:src/CMakeFiles/_spimage_pybackend.dir/flags.make:10: *** multiple target patterns. Stop.
make[1]: *** [src/CMakeFiles/_spimage_pybackend.dir/all] Error 2
make: *** [all] Error 2
The text was updated successfully, but these errors were encountered: