Dear Jean-Sebastien; 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, Lenny Smith -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 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 Hello Leonard, > 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, J-S -- ______________________________________________________ Jean-Sebastien Guay [EMAIL PROTECTED] http://www.cm-labs.com/ http://whitestar02.webhop.org/ _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

