[CMake] Is there really any cmake support?

Fred Fred stan1313 at hotmail.fr
Sun Apr 4 12:05:20 EDT 2010


Hmmm not sure I have understood.
Ok I have installed Qt from Nokia, and it seems that cmake found all what it needs since just a few variables are not found, namely QT_QTNSPLUGIN_... QT_QTDECLARATIVE_... and QT_QTDBUS...
Now what do you want? that I try to install just VTK and not PV directly?

From: mike.jackson at bluequartz.net
Date: Sun, 4 Apr 2010 11:32:44 -0400
Subject: Re: [CMake] Is there really any cmake support?
To: stan1313 at hotmail.fr
CC: themiwi at gmail.com; cmake at cmake.org

Sorry sent too quick.
So download Qt from Nokias web site, install that, then try building VTK with qt support turned on. You should be able to compile vtk with mingw ising the defaults for vtk. Try that first before try to compile vtk with at support. 


-----Mike Jackson                      www.bluequartz.netPrincipal Software Engineer       mike.jackson at bluequartz.net
BlueQuartz Software               Dayton, Ohio

On Apr 4, 2010, at 5:30, Fred Fred <stan1313 at hotmail.fr> wrote:



You are right!
Actually I have been confusing with MinGW and Cygwin and I realized that I just need MinGW because I need to compile my plugins on Windows, and MinGW would allow me to generate native Windows dlls, whereas Cygwin would require to add specific dlls to make the generated dll working.

So I deleted my Cygwin install and use only MinGW tools.
I managed to ccmake the application and started make.
But after 79% of the building has been completed, an error occurred: while trying to compile vtkQtView, the included file vtkView.h is not found. I did not find out how to specify a good path, so I tried to copy all the .h files in the Views directory into the GUISupport/Qt directory but as expected the compilation works but there are errors at the link stage.

So which mistake did I do?

> Subject: Re: [CMake] Is there really any cmake support?
> From: themiwi at gmail.com
> Date: Mon, 29 Mar 2010 10:03:38 +0200

> CC: cmake at cmake.org
> To: stan1313 at hotmail.fr
> 

> 
> On 29. Mar, 2010, at 9:51 , Fred Fred wrote:
> 
> > 
> > 
> >> Subject: Re: [CMake] Is there really any cmake support?
> >> From: themiwi at gmail.com

> >> Date: Mon, 29 Mar 2010 08:55:44 +0200
> >> CC: cmake at cmake.org
> >> To: stan1313 at hotmail.fr

> >> 
> >> 
> >> On 28. Mar, 2010, at 18:09 , Fred Fred wrote:
> >> 
> >>> [snip]
> >> 
> >>> What I do not understand is why would cmake use non ASCII characters? Since my path is in ASCII (at least I hope that a mkdir command with non-accentuated characters does not generate non ASCII paths!) and I checked all the paths in the cmake configuration editor, I do not understand where a problem may arise.

> >> 
> >> 
> >> Now, that seems to be a different problem... What is your operating system, your compiler etc.? If on Windows, are you using Cygwin or MinGW/MSYS? Also, please post the error message you get.

> > 
> > I use Cygwin and MinGW on a virtual machine with XP and g++.
> > Joint to this message are 2 screen captures of the cmake screen.
> 
> 
> That won't work! Either use the compilers that come with cygwin (just launch the installer again and select gcc4-g++ for installation) or use the native Windows CMake version.

> 
> The problem in your case is, that the MinGW g++ compiler doesn't understand what /cygdrive/c means, that's only a Cygwin convention.
> 
> 
> Michael
 		 	   		  
Envie de naviguer sur Internet sans laisser de trace? La solution avec Internet Explorer 8
_______________________________________________
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 		 	   		  
_________________________________________________________________
Découvrez comment SURFER DISCRETEMENT sur un site de rencontres !
http://clk.atdmt.com/FRM/go/206608211/direct/01/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20100404/946efb21/attachment.htm>


More information about the CMake mailing list