[Insight-users] Problem compiling ImageViewer
Arun Kulshreshtha
arunk at mrcoffee.engr.sgi.com
Sat Feb 19 20:15:21 EST 2005
hi,
I could solve my problem after reading the following page...
http://www.cognitica.com/download/snap/Install.html
Regards
Arun Kulshreshtha
Arun Kulshreshtha wrote:
> Hi karthik,
>
> I downloaded the Insight application and after uncompressing it, i
> changed to that directory and then build all the applications. But all
> the applications are not build including ImageViewer. I guess it is
> not able to detect FLTK. I am using FLTK 1.1.4.
>
> What should I do now ??
>
> Regards
> Arun
>
>
> Karthik Krishnan wrote:
>
>> Arun,
>>
>> Looks like you're trying to build ImageViewer from the specific
>> directory. You might want to build it from the top level
>> InsightAPplications directory, since each subdirectory imports a lot
>> of varibles from the top level CMakeLists.
>>
>> Thanks
>> kk
>> PS: Also you might want to avoid doing an insource build. You can do
>> an out of source build as
>> muBinaryDir $ cmake PATH_TO_SOURCE_DIR
>>
>>
>> Arun Kulshreshtha wrote:
>>
>>> hi,
>>>
>>> When i try to compile ImageViewer on my system i got the following
>>> error messege
>>>
>>> $cmake .
>>> -- Check for working C compiler: gcc -- works
>>> -- Check for working CXX compiler: c++ -- works
>>> CMake Error: Error in cmake code at
>>> /usr/people/arunk/ITK/ia32/Applications/ImageViewer/CMakeLists.txt:38:
>>> Unknown CMake command "ADD_GUI_EXECUTABLE".
>>> CMake Error: Error in cmake code at
>>> /usr/people/arunk/ITK/ia32/Applications/ImageViewer/CMakeLists.txt:45:
>>> Unknown CMake command "ITK_DISABLE_FLTK_GENERATED_WARNINGS".
>>> -- Configuring done
>>> arunk at saki:/usr/people/arunk/ITK/ia32/Applications/ImageViewer> make
>>> make: *** No targets specified and no makefile found. Stop.
>>>
>>> I have set the following environment variables after installing fltk
>>> FLTK_INCLUDE_DIR
>>> FLTK_FLUID_EXECUTABLE
>>>
>>> ITK_DIR was already set.
>>>
>>> Can Someone help.
>>>
>>> Regards
>>> Arun Kulshreshtha
>>> _______________________________________________
>>> Insight-users mailing list
>>> Insight-users at itk.org
>>> http://www.itk.org/mailman/listinfo/insight-users
>>>
>>
>>
>
> _______________________________________________
> Insight-users mailing list
> Insight-users at itk.org
> http://www.itk.org/mailman/listinfo/insight-users
>
More information about the Insight-users
mailing list