Am Mittwoch, den 29.12.2010, 20:03 +0100 schrieb Julia Jacobson:
> Thanks for your answer. The file FindFLTK.cmake exists within my CMake 
> installation, but I still get an error message:
> "CMake Error at C:/Program Files/CMake 
> 2.8/share/cmake-2.8/Modules/FindPackageHandleStandardArgs.cmake:91 
> (MESSAGE):
> Could NOT find FLTK (missing: FLTK_LIBRARIES FLTK_FLUID_EXECUTABLE)"
> This is probably due to the fact that I haven't indicated anywhere where 
> to find my FLTK installation (i.e. C:\Program Files\fltk-1.1.10).
> 
Actually the module file (here FindFLTK) should find the libraries on
any platforms, but in this case...

Before FIND_PACKAGE(FLTK REQUIRED) insert:

SET(FLTK_DIR "C:/Program Files/fltk-1.1.10") # NO backslash!

If you did not install "fluid")
SET(FLTK_SKIP_FLUID TRUE)

FIND_PACKAGE(...

Micha


_______________________________________________
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to