Re: [osg-users] [build] plz help!!! compiling OSG under cygwin ...plz help!!!!

2010-04-27 Thread Tomlinson, Gordon


Gordon Tomlinson
Product Manager 3d Technology  Project Wyvern
Overwatch(r)
An Operating Unit of Textron Systems
Did you try what Jan suggested about pointing to gcc ?

Have you looked at
http://www.openscenegraph.org/projects/osg/wiki/Support/PlatformSpecific
s/Cygwin

I also would recommend you do a search of the OSG mailing list archives
on cygwin e.g.

http://www.mail-archive.com/search?l=opensg-users%40lists.sourceforge.ne
tq=osg+cygwin




-Original Message-
From: osg-users-boun...@lists.openscenegraph.org
[mailto:osg-users-boun...@lists.openscenegraph.org] On Behalf Of sarah
keith
Sent: Tuesday, April 27, 2010 1:33 AM
To: osg-users@lists.openscenegraph.org
Subject: Re: [osg-users] [build] plz help!!! compiling OSG under cygwin
...plz help

well!! i dont have any option other than cygwin cz i have been assigned
a project and OSG is one of the modules to be compiled... i have
compiled most of the modules... 

plz plz if somebody could guide me in an exact way to install it with
cmake by use of cygwin ... i have little programming knowledge...

... 


Thank you!

Cheers,
sarah

--
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=27297#27297





___
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] [build] plz help!!! compiling OSG under cygwin ... plz help!!!!

2010-04-26 Thread Jan Ciger
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 free2writ...@gmail.com 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
 osg-users@lists.openscenegraph.org
 http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


Re: [osg-users] [build] plz help!!! compiling OSG under cygwin ... plz help!!!!

2010-04-26 Thread sarah keith
well!! i dont have any option other than cygwin cz i have been assigned a 
project and OSG is one of the modules to be compiled... i have compiled most of 
the modules... 

plz plz if somebody could guide me in an exact way to install it with cmake by 
use of cygwin ... i have little programming knowledge...

... 


Thank you!

Cheers,
sarah

--
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=27297#27297





___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org