[CMake] Fltk project, visual studio 2005 (8) -- using FL/Fl.H
Atwood, Robert C
r.atwood at imperial.ac.uk
Thu Sep 13 15:25:55 EDT 2007
Hi,
I have a small project using FLTK, I have built successfully on Linux /
GCC using Cmake. This project does not have any ITK or VTK in it (yet)
. I am just tryign to also build it on Windows with Visual Studio 2005
(8) and though I believe I specified the correct location for FLTK
files, it fails to compile the project c++ files that reference FLTK.
These are generated by Fluid by the way. So far it's just the interface
with basically a dummy program that does not do anything.
I am using CMAKE gui for windows 2.4 patch 7.
The tabinter.h file contains:
// generated by Fast Light User Interface Designer (fluid) version
1.0108
#ifndef tabinter_h
#define tabinter_h
#include <FL/Fl.H>
... Etc....
I've selected the default for installing FLTK in Windows, C:\Program
Files\FLTK and selected
FLTK_INCLUDE_DIR C:/Program Files/FLTK/include/FL
In Cmake
The Microsoft Visual Studio Project properties indicate that 'additional
include directories' has:
C:\Program Files\FLTK\include\FL
The directory indicated contains:
Enumerations.H Fl_Input_Choice.H Fl_Spinner.H
Fl.H Fl_Int_Input.H Fl_Sys_Menu_Bar.H
Fl_Adjuster.H Fl_JPEG_Image.H Fl_Tabs.H
...Etcetera
When compiling tabinter.cxx in visual studio I get the message:
1>D:/rcatwood/progs/wirs_microsoft/tabinter.h(5) : fatal error C1083:
Cannot open include file: 'FL/Fl.H': No such file or directory
What have I done wrong?
Thanks
Robert
More information about the CMake
mailing list