[Insight-users] Cmake (w/ Qt & VTK ) linking error
Caleb Johnston
cjj37 at cornell.edu
Tue May 4 14:00:26 EDT 2010
I am building a cross platform tool using Qt, VTK, and ITK. On my Mac, I
just install Qt, VTK and ITK and Cmake, set the environment paths and then
compile using my Cmake file and everything works fine. I'm using
find_package() in Cmake to find ITK, VTK, and Qt. Again, it works fine on my
mac. Now, under windows XP with Msys (w/ MinGW) make files using the native
compiler, I can build ITK, VTK and install Qt and Cmake. But when I generate
the build files using Cmake for my project they will not be able to satisfy
any ITK dependencies (missing c++ header includes). Its fine for resolving
VTK and Qt dependencies but not ITK.
Summary:
VTK compiles.
ITK compiles.
ITK and VTK install fine.
Cmake has no problems generating build files.
I can build my project on OSX.
However, when I compile using Msys make with MinGW, no header file from ITK
can be located and the compilation then fails.
thanks,
Caleb
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.itk.org/pipermail/insight-users/attachments/20100504/0dcdcb82/attachment.htm>
More information about the Insight-users
mailing list