Hello Sarah, I believe you must set the environment variables required by MSVC before CMake will be able to find it. On my machine, with VS 2008 Express it is this script: C:\Program Files\Microsoft Visual Studio 9.0\VC\vcvarsall.bat
As you are trying to run the thing under Cygwin, you will need to translate the script to bash to be able to run it, I believe. However, to be honest, if you want to save yourself a lot of pain, then either: - use gcc with Cygwin, not VC++, if CMake doesn't find that automatically, you will need to tell it that it should be using gcc (there is a command line switch for that) - download latest VC++ Express edition and forget about Cygwin. Cygwin is a non-standard hack on Windows and a lot of things just plain do not work correctly with it. Regards, Jan On Mon, Apr 26, 2010 at 7:07 AM, sarah keith <[email protected]> wrote: > Hi, > > ... > > well i am trying to compile flight gear flight simulator. . > i have compiled most of the libraries , but this one is rele causing me > problems.. > > i am using cygwin. and i have to compile osg 2.8.3.. > > my cmake version is 2.6.0-1 and it is particularly built for cygwin (i guess) > .. > > bill hoffman has been helping me alot .. > > the problem is this : > > > when i give these commands in the osg directory in cygwin/home/ > > i get the following errors.. > > $ cmake .. > > cmake error: cmake was unable to find a build program corresponding to > "visual studio 6" CMAKE_MAKE_PROGRAM is not set. > > cmake error : could not find cmake module file: C:/cygwin/home/project > ab/Openscenegraph-2.8.3/CMakeFiles/CMakeCCompiler.cmake > > C:/cygwin/home/project > ab/Openscenegraph-2.8.3/CMakeFiles/CMakeCXXCompiler.cmake > > configuring incomplete errors occured.. > > if u can guide me plz what to do ??? > > > Thank you! > > Cheers, > sarah > > ------------------ > Read this topic online here: > http://forum.openscenegraph.org/viewtopic.php?p=27268#27268 > > > > > > _______________________________________________ > 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

