[Insight-users] Problem compiling ImageViewer
Karthik Krishnan
Karthik.Krishnan at kitware.com
Fri Feb 18 13:53:35 EST 2005
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
>
More information about the Insight-users
mailing list