On 05/23/2012 01:03 PM, luke wrote:
> I tried to follow the documentation page to install fltk on a unix system but 
> when I tried to link fltk-1.3.0 with the latest InsightApplications-4.1.1 
> software. I kept getting some errors where the InsightApplications needs to 
> know where FLTKConfig.cmake file is but that is only created when I use the 
> cmake command compared to following the documentation page. But when I do a 
> ccmake comand, I get stopped by errors when I run the make command. Has 
> anyone else run into this problem?
>
> Luke H

In order to use fltk with CMake you have to build it with CMake.  The 
normal build process does not create the files CMake requires for use in 
your projects.  If you already have a non-CMake installation you can 
either remove it or build your CMake version to install into another 
directory.

Your build directory should be a clean directory of your own, not a 
pre-existing directory.

Go to your build directory and type ccmake /path/to/fltk1.3.0 not the 
src directory.

Hit c to get the base configuration.  Make any changes you like and hit 
c again to get the final configuration.  Hit g to generate the Makefile.

Make will generate warnings, but you shouldn't get any errors.  If you 
do, post the specifics here.

Do a sudo make install and you should be good to go.

Mike S

_______________________________________________
fltk mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk

Reply via email to