[osg-users] Configure error on Sun Solaris machine
Smith, Leonard C
leonard.c.smith at ngc.com
Mon Jul 14 09:29:38 PDT 2008
I myself haven't seen this error when building on Linux. I am using Cmake version 2.6 on a Sun box. I will look into the CMakeModules directory, and see if this helps, thank you.
I agree that it would be very helpful if Cmake were a little more verbose while processing. I have worked a lot with gmake and GNUmakefiles over the years, and have on occasion found gmake -dnp to be the only way to diagnose a problem.
Thank you again for your help,
From: osg-users-bounces at lists.openscenegraph.org [mailto:osg-users-bounces at lists.openscenegraph.org] On Behalf Of Jean-Sébastien Guay
Sent: Monday, July 14, 2008 11:13 AM
To: OpenSceneGraph Users
Subject: Re: [osg-users] Configure error on Sun Solaris machine
> There is no FOREACH statement in my CMakeLists.txt file. Where does
> this error come from?
I do not use Solaris, so I can only suggest a few paths for you to investigate. First of all, what version of CMake are you using?
The FOREACH statements are probably coming from the files included from the CMakeModules subdirectory. As to where the erroneous FOREACH statement is coming from, it would be useful if CMake would tell you which macro or function it was processing when it got the error... In any case, I haven't seen that error when generating build files for OSG (neither on Windows nor on Linux) which is why I suspect it's a CMake version problem.
Hope this helps,
Jean-Sebastien Guay jean-sebastien.guay at cm-labs.com
osg-users mailing list
osg-users at lists.openscenegraph.org
More information about the osg-users