[osg-users] CMake cmpilation
Hello all, I'm compiling osg2.0 on visual studio. The project was created with CMake. I changed the compiler to intel compiler, and now nothing compiles. I get the errors: 1CMake Error: Error required internal CMake variable not set, cmake may be not be built correctly. 1Missing variable is: 1CMAKE_SIZEOF_VOID_P Any ideas why? How does the CMake works anyway?? I didn't see calls to it in the pre-build processing, include, or anything. Thanks, Guy. ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] CMake cmpilation
Hello Robert. Yes, I intend to upgrade... and yes, I'm looking at the CMake web site. Since I dwelt there fore about an hour wih no significant improvement, I just hoped someone already encountered this problem. Thanks anyway, Guy. Hi Guy, Might I suggest you have a look at the Cmake website to see if it supports the Intel compilers. Also I have to recommend moving from OSG-2.0 to OSG-2.6 as the later supports latest CMake versions which are more likely to support niche compilers. Robert. On Wed, Sep 10, 2008 at 3:09 PM, Guy [EMAIL PROTECTED] wrote: Hello all, I'm compiling osg2.0 on visual studio. The project was created with CMake. I changed the compiler to intel compiler, and now nothing compiles. I get the errors: 1CMake Error: Error required internal CMake variable not set, cmake may be not be built correctly. 1Missing variable is: 1CMAKE_SIZEOF_VOID_P Any ideas why? How does the CMake works anyway?? I didn't see calls to it in the pre-build processing, include, or anything. Thanks, Guy. ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.or g ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.or g ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] CMake cmpilation
Hi Guy, I'm compiling osg2.0 on visual studio. The project was created with CMake. I changed the compiler to intel compiler, and now nothing compiles. I get the errors: 1CMake Error: Error required internal CMake variable not set, cmake may be not be built correctly. 1Missing variable is: 1CMAKE_SIZEOF_VOID_P Any ideas why? How does the CMake works anyway?? I didn't see calls to it in the pre-build processing, include, or anything. First of all, I haven't seen anyone compiling OSG with the Intel compiler, so I have no idea if this is even supposed to work. If it isn't widely tested, chances are it won't work without some modifications since the CMake code is peppered with IF(MSVC)... statements where equivalents would probably be needed for the Intel compiler. On your more general question, I don't know on the Intel compiler, but on Visual Studio it adds some custom build targets which call cmake with scripts. I'm not sure how it's implemented exactly, but that's my general understanding of it. The ZERO_CHECK target checks that your CMake files haven't changed since the projects were generated, and regenerates the projects automatically if they were, for example. Hope this helps, J-S -- __ Jean-Sebastien Guay[EMAIL PROTECTED] http://www.cm-labs.com/ http://whitestar02.webhop.org/ ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org