Open sellberg opened 7 years ago
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