[Insight-users] Compile problem
Luis Ibanez
luis . ibanez at kitware . com
Tue, 14 Oct 2003 11:08:47 -0400
Hi Jianguo,
1) What version of CMake did you use ?
2) Where did you installed CMake ?
3) Is CMake in your path ?
Your Makefile in
binForInsight/Utilities/zlib
should have a line defining how to
produce "cmake.depends" by invoking
CMake.
something like:
cmake.depends: $(CMAKE_MAKEFILE_SOURCE)
echo: "Building dependencies. cmake.depends..."
$(CMAKE_COMMAND) -S$(CMAKE_CURRENT_SOURCE) -O$(CMAKE_CURRENT_BINARY)
-H(CMAKE_SOURCE_DIR) -B(CMAKE_BINARY_DIR)
It looks like you may have installed CMake
incorrectly. A common mistake is to install
conflicting CMake versions.
Please check the path to your cmake executable
using :
"which cmake"
Regards,
Luis
-----------------------
Rao Jianguo wrote:
> Hello all,
>
> I try to comile itk on sparc-sun-solaris and got the following
> problems:
> ( I checked out the new version using cvs after checking the Darboard
> yesterday ).
>
>
> When turn the Example and Test off, it comiles fine.
> When I turn the Example on and compile again, I got the following
> error:
>
> ========
> /mydirectory/Insight/binForInsight/Examples/Iterators: building
> default_target
> Building dependencies. cmake.depends...
> `cmake.depends' is up to date.
> `cmake.check_depends' is up to date.
> `cmake.depends' is up to date.
> make: Fatal error: Don't know how to make target `cmake.depends'
> Current working directory
> /mydirectory/Insight/binForInsight/Utilities/zlib
> *** Error code 1
> The following command caused the error:
> cd /mydirectory/Insight/binForInsight/Utilities/zlib; make
> cmake.depends; make cmake.check_depends; make -f cmake.check_depends;
> make
> /mydirectory/Insight/binForInsight/bin/libitkzlib.a
> make: Fatal error: Command failed for target
> `/mydirectory/Insight/binForInsight/bin/libitkzlib.a'
> Current working directory
> /mydirectory/Insight/binForInsight/Examples/Iterators
> *** Error code 1
> ========
>
> I would be very grateful, if some one can help.
>
> Thanks for your attention,
>
> Jianguo
>
>
>
> _______________________________________________
> Insight-users mailing list
> Insight-users at itk . org
> http://www . itk . org/mailman/listinfo/insight-users
>