Re: [vmtk-users] Vmtk compiling problem
Brought to you by:
davidsteinman,
lucantiga
From: Luca A. <luc...@gm...> - 2012-10-22 13:46:15
|
Hi Laurentiu, it's kind of hard for me to tell. It looks like there is an install prefix (which should be prepended to /lib/InsightToolkit, like /usr/local/lib/InsightToolkit, or somepath/Install/lib/InsightToolkit) that is not recognized by cmake (e.g. not passed from SuperBuild to the specific ITK build), so that the resulting install destination is /lib/InsightToolkit, i.e. an absolute path. Usually this passing of values between project is performed in SuperBuild.txt. Overall it's quite strange that you have this issue now and didn't have it earlier, plus I don't recall having this issue in the past. Maybe an idea would be trying with an older CMake version? Hope this helps somehow... Luca On Oct 15, 2012, at 6:56 PM, Lipsa Laurentiu Mihai wrote: > Hello Luca, > I tried to compile a last year vmtk version and I receive this error: > > Filter ZLIB is ON > -- Configuring done > CMake Error: INSTALL(EXPORT "ITKTargets") given absolute DESTINATION "/lib/InsightToolkit" but the export references an installation of target "itksys" which has relative DESTINATION "lib". > CMake Error: INSTALL(EXPORT "ITKTargets") given absolute DESTINATION "/lib/InsightToolkit" but the export references an installation of target "itkvcl" which has relative DESTINATION "lib". > CMake Error: INSTALL(EXPORT "ITKTargets") given absolute DESTINATION "/lib/InsightToolkit" but the export references an installation of target "itkv3p_netlib" which has relative DESTINATION "lib". > CMake Error: INSTALL(EXPORT "ITKTargets") given absolute DESTINATION "/lib/InsightToolkit" but the export references an installation of target "itkv3p_lsqr" which has relative DESTINATION "lib". > CMake Error: INSTALL(EXPORT "ITKTargets") given absolute DESTINATION "/lib/InsightToolkit" but the export references an installation of target "itkvnl" which has relative DESTINATION "lib". > CMake Error: INSTALL(EXPORT "ITKTargets") given absolute DESTINATION "/lib/InsightToolkit" but the export references an installation of target "itkvnl_algo" which has relative DESTINATION "lib". > CMake Error: INSTALL(EXPORT "ITKTargets") given absolute DESTINATION "/lib/InsightToolkit" but the export references an installation of target "ITKVNLInstantiation" which has relative DESTINATION "lib". > CMake Error: INSTALL(EXPORT "ITKTargets") given absolute DESTINATION "/lib/InsightToolkit" but the export references an installation of target "ITKCommon" which has relative DESTINATION "lib". > CMake Error: INSTALL(EXPORT "ITKTargets") given absolute DESTINATION "/lib/InsightToolkit" but the export references an installation of target "itkNetlibSlatec" which has relative DESTINATION "lib". > CMake Error: INSTALL(EXPORT "ITKTargets") given absolute DESTINATION "/lib/InsightToolkit" but the export references an installation of target "ITKStatistics" which has relative DESTINATION "lib". > CMake Error: INSTALL(EXPORT "ITKTargets") given absolute DESTINATION "/lib/InsightToolkit" but the export references an installation of target "ITKIOImageBase" which has relative DESTINATION "lib". > CMake Error: INSTALL(EXPORT "ITKTargets") given absolute DESTINATION "/lib/InsightToolkit" but the export references an installation of target "ITKMesh" which has relative DESTINATION "lib". > CMake Error: INSTALL(EXPORT "ITKTargets") given absolute DESTINATION "/lib/InsightToolkit" but the export references an installation of target "itkzlib" which has relative DESTINATION "lib". > CMake Error: INSTALL(EXPORT "ITKTargets") given absolute DESTINATION "/lib/InsightToolkit" but the export references an installation of target "ITKMetaIO" which has relative DESTINATION "lib". > CMake Error: INSTALL(EXPORT "ITKTargets") given absolute DESTINATION "/lib/InsightToolkit" but the export references an installation of target "ITKSpatialObjects" which has relative DESTINATION "lib". > CMake Error: INSTALL(EXPORT "ITKTargets") given absolute DESTINATION "/lib/InsightToolkit" but the export references an installation of target "ITKPath" which has relative DESTINATION "lib". > CMake Error: INSTALL(EXPORT "ITKTargets") given absolute DESTINATION "/lib/InsightToolkit" but the export references an installation of target "ITKLabelMap" which has relative DESTINATION "lib". > CMake Error: INSTALL(EXPORT "ITKTargets") given absolute DESTINATION "/lib/InsightToolkit" but the export references an installation of target "ITKQuadEdgeMesh" which has relative DESTINATION "lib". > CMake Error: INSTALL(EXPORT "ITKTargets") given absolute DESTINATION "/lib/InsightToolkit" but the export references an installation of target "ITKOptimizers" which has relative DESTINATION "lib". > CMake Error: INSTALL(EXPORT "ITKTargets") given absolute DESTINATION "/lib/InsightToolkit" but the export references an installation of target "ITKPolynomials" which has relative DESTINATION "lib". > CMake Error: INSTALL(EXPORT "ITKTargets") given absolute DESTINATION "/lib/InsightToolkit" but the export references an installation of target "ITKBiasCorrection" which has relative DESTINATION "lib". > ..................... > ..................... > and finishing like that: > > as relative DESTINATION "lib". > -- Generating done > CMake Warning: > Manually-specified variables were not used by the project: > > ITK_USE_OPTIMIZED_REGISTRATION_METHODS > git_EXECUTABLE > > > -- Build files have been written to: /home/lau/vmtk-build/ITK-Build > make[2]: *** [Stamp/ITK/ITK-configure] Error 1 > make[1]: *** [CMakeFiles/ITK.dir/all] Error 2 > make: *** [all] Error 2 > > In a most recent version(in other computer) doesn' t give this problems. Which can be the problem? > > > Best regards, > Laurentiu > ------------------------------------------------------------------------------ > Don't let slow site performance ruin your business. Deploy New Relic APM > Deploy New Relic app performance management and know exactly > what is happening inside your Ruby, Python, PHP, Java, and .NET app > Try New Relic at no cost today and get our sweet Data Nerd shirt too! > http://p.sf.net/sfu/newrelic-dev2dev_______________________________________________ > vmtk-users mailing list > vmt...@li... > https://lists.sourceforge.net/lists/listinfo/vmtk-users |