[ITK] FW: CMake error
Med SWEng
medcompsweng at gmail.com
Sat Apr 26 19:23:44 EDT 2014
I'm trying to install itk 4.4.0 instead, but in CMake, having this issue:
CMake Warning at C:/Program Files/CMake
2.8/share/cmake-2.8/Modules/FindITK.cmake:48 (find_package):
Could not find a package configuration file named "ITKConfig.cmake"
provided by package "ITK".
Add the installation prefix of "ITK" to CMAKE_PREFIX_PATH or set "ITK_DIR"
to a directory containing one of the above files. If "ITK" provides a
separate development package or SDK, be sure it has been installed.
Call Stack (most recent call first):
CMakeLists.txt:19 (FIND_PACKAGE)
CMake Error at CMakeLists.txt:27 (MESSAGE):
Cannot build ITKApps without ITK. Please set ITK_DIR.
Configuring incomplete, errors occurred!
See also "C:/Toolkits/itk-4.0.0/bin/CMakeFiles/CMakeOutput.log".
And, whenever I try to select a path instead of "ITK_DIR-NOTFOUND", it
always returns back to "ITK_DIR-NOTFOUND"
I don't think that installing ITK should be that complex? What is the issue
here?
Thanks.
On Sat, Apr 26, 2014 at 11:19 PM, Gib Bogle <g.bogle at auckland.ac.nz> wrote:
>
> ------------------------------
> *From:* Gib Bogle
> *Sent:* Sunday, 27 April 2014 9:17 a.m.
>
> *To:* Med SWEng
> *Subject:* RE: [ITK] CMake error
>
> Do you have this file?
>
> C:/Toolkits/itk-4.5.2/src/Modules/ThirdParty/VNL/src/vxl/v3p/netlib/
> libf2c/pow_dd.c
>
> Note: in cmake you should always use forward slashes '/' not '\'
>
> (I forgot my own advice - to copy messages to the mailing list ;)
>
> ------------------------------
> *From:* Med SWEng [medcompsweng at gmail.com]
> *Sent:* Sunday, 27 April 2014 9:08 a.m.
> *To:* Gib Bogle
> *Cc:* community at itk.org
> *Subject:* Re: [ITK] CMake error
>
> The fields where as follows:
>
> source: C:\Toolkits\itk-4.5.2\src
>
> binary: C:\Toolkits\itk-4.5.2\bin
>
>
> On Sat, Apr 26, 2014 at 10:58 PM, Gib Bogle <g.bogle at auckland.ac.nz>wrote:
>
>> What did you enter in the fields "Where is the source code:" and "Where
>> to build the binaries:"?
>>
>> (Please keep this conversation on the mailing list.)
>> ------------------------------
>> *From:* Med SWEng [medcompsweng at gmail.com]
>> *Sent:* Sunday, 27 April 2014 7:54 a.m.
>> *To:* Gib Bogle
>> *Subject:* Re: [ITK] CMake error
>>
>> Yes, I'm using cmake gui...
>>
>>
>> On Sat, Apr 26, 2014 at 9:50 PM, Gib Bogle <g.bogle at auckland.ac.nz>wrote:
>>
>>> You should have this file:
>>> InsightToolkit-4.5.0/Modules/ThirdParty/VNL/src/vxl/v3p/netlib/
>>> libf2c/pow_dd.c
>>> If you do not there is something wrong with your ITK source code
>>> installation, or (more likely) you have provided the wrong source location
>>> in cmake. Are you using cmake-gui?
>>> ------------------------------
>>> *From:* Community [community-bounces at itk.org] on behalf of Med SWEng [
>>> medcompsweng at gmail.com]
>>> *Sent:* Sunday, 27 April 2014 6:02 a.m.
>>> *To:* community at itk.org
>>> *Subject:* [ITK] CMake error
>>>
>>> I'm trying to install ITK, but got the following error in CMake
>>> while "generating":
>>>
>>> CMake Error at
>>> Modules/ThirdParty/VNL/src/vxl/v3p/netlib/CMakeLists.txt:474 (ADD_LIBRARY):
>>> Cannot find source file:
>>>
>>> libf2c/pow_dd.c
>>>
>>> Tried extensions .c .C .c++ .cc .cpp .cxx .m .M .mm .h .hh .h++ .hm .hpp
>>> .hxx .in .txx
>>>
>>> How can I solve this issue?
>>>
>>> Thanks.
>>>
>>
>>
>
> _______________________________________________
> Community mailing list
> Community at itk.org
> http://public.kitware.com/cgi-bin/mailman/listinfo/community
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/community/attachments/20140427/bd777bee/attachment-0002.html>
More information about the Community
mailing list