[CMake] Building FLTK for Visual Studio 2010

2012-09-04 Thread Zein Salah
Hi,

Previously, i used to build fltk 1.1.7 with Cmake for VS2008 and
everything (ITK, InsightApplication, etc.) worked fine.

I try now to make the same using Cmake 2.8.9 for VS2010.
Building FLTK 1.1.7  works fine (No error!). But Cmake fails
to generate a project for InsightApplication. First, it did not include
an entry for FLTK_FLUID_EXECUTABLE. When I add an entry
manually, All error disappear except for this one:

CMake Error at CMakeLists.txt:131 (INCLUDE):   include called with
wrong number of arguments.  Include only takes one   file

The question is:

1. Does FLTK 1.1.x principally work for VS2010?
2. If yes, any idea how to around the errror above?

Much thanks,
Zein
--

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


[CMake] DLL Question

2009-01-21 Thread Zein Salah
Hello,
 
I am building a program with CMake and compiling it with visual 
studio 2005 (VC 8). The program needs some .dll files which do not 
exist in the output directory in which the output executable file is written. 
So when I run the program, I get the message that a dll file is missing etc. 
My question is: can I tell the program in CMake where the dll files are?
Or can I force the program to link these dlls at linking-time so that 
they are not needed at runtime?
 
Many thanks,
Zein
___
CMake mailing list
CMake@cmake.org
http://www.cmake.org/mailman/listinfo/cmake

[CMake] Problem with CMake 2.2 and Qt 2.3nc

2006-05-31 Thread Zein Salah
Title: Problem with CMake 2.2 and Qt 2.3nc






Hello Everybody,


Is there actually a conflict between Cmake 2.2 and Qt 2.3 non-commercial?

I am asking because I have newly built my Qt/ITK project with cmake 2.2. 

Cmake generates a message: "Multiple versions of Qt found, please set DESIRED_QT_VERSION"

Actually, I have only one version of qt, which is the 2.3 non commercial version.


I tried to just give 2 in the field "DESIRED_QT_VERSION", but as I compiled 

the project with  MS Studio .NET 2003, I got the following error: 




-- Build started: Project: qglviewer, Configuration: Debug Win32 --


Building QT Wrapped File D:/NPRTool-BIN/qglviewer/moc_qglviewer_MOC_SRCS.cxx

moc: D:/NPRTool/qglviewer/qglviewer_MOC_SRCS: No such file

Project : error PRJ0019: A tool returned an error code from "Building QT Wrapped File D:/NPRTool-BIN/qglviewer/moc_qglviewer_MOC_SRCS.cxx"

Build log was saved at "file://d:\NPRTool-BIN\qglviewer\qglviewer.dir\Debug\BuildLog.htm"

qglviewer - 1 error(s), 0 warning(s)



-- Done --


    Build: 0 succeeded, 1 failed, 0 skipped



Any idea what to do?? what the problem is? BTW, the same project worked well

with cmake 2.0.5 and MS studio .NET 2003.


Many thanks in advanced, 

Zein




___
CMake mailing list
CMake@cmake.org
http://www.cmake.org/mailman/listinfo/cmake

[CMake] conflict between CMake 2.4.2 and Qt 2.3nc

2006-05-29 Thread Zein Salah
Title: conflict between CMake 2.4.2 and Qt 2.3nc






Hello Everybody,


Is there actually a conflict between Cmake 2.4.2 and Qt 2.3 non-commercial?

I am asking because I have newly built my qt-itk project with cmake 2.4.2. 

Cmake generates a message: "Multiple versions of Qt found, please set DESIRED_QT_VERSION"

Actually, I have only one version of qt, which is the 2.3 non commercial version.


I tried to just give 230 in the field "DESIRED_QT_VERSION", but as compiled the project with 

MS Studio .NET 2003, I got the following error: 


-- Build started: Project: qglviewer, Configuration: Debug Win32 --


QT Wrapped File

moc: D:/NPRTool/qglviewer/qglviewer_MOC_SRCS: No such file

Project : error PRJ0019: A tool returned an error code from "QT Wrapped File"


Build log was saved at "file://d:\NPRTool-BIN\qglviewer\qglviewer.dir\Debug\BuildLog.htm"

qglviewer - 1 error(s), 0 warning(s)



-- Done --


    Build: 0 succeeded, 1 failed, 0 skipped




Any idea what to do?? what the problem is? Should I simply switsh back 

to Cmake 2.0.5 that used to work well with me?



Many thanks in advanced, 

Zein




___
CMake mailing list
CMake@cmake.org
http://www.cmake.org/mailman/listinfo/cmake

[CMake] cmake 2.4.2 and qt 2.3nc

2006-05-26 Thread Zein Salah
Title:  cmake 2.4.2 and qt 2.3nc








 -Ursprüngliche Nachricht-

Von:    Zein Salah  

Gesendet:   Mittwoch, 24. Mai 2006 14:02

An: ITK Users (E-Mail)

Betreff:    cmake 2.4.2 and qt 2.3nc


Hello, 


I have newly built my qt-itk project with cmake 2.4.2. 

cmake generates a message: Multiple versions of Qt found, please set DESIRED_QT_VERSION

Actually, I have only one version of qt, which is the 2.3 non commercial version.


I tried to just give 230 in the field "DESIRED_QT_VERSION", but as compiled the project with 

MS Studio .NET 2003, I got the following error. 


-- Build started: Project: qglviewer, Configuration: Debug Win32 --


QT Wrapped File

moc: D:/NPRTool/qglviewer/qglviewer_MOC_SRCS: No such file

Project : error PRJ0019: A tool returned an error code from "QT Wrapped File"


Build log was saved at "file://d:\NPRTool-BIN\qglviewer\qglviewer.dir\Debug\BuildLog.htm"

qglviewer - 1 error(s), 0 warning(s)



-- Done --


    Build: 0 succeeded, 1 failed, 0 skipped


Any idea what to do?? what the problem is?


Many thanks in advanced,


Zein




___
CMake mailing list
CMake@cmake.org
http://www.cmake.org/mailman/listinfo/cmake