[osg-users] Any idea how to tell ccmake to build MINGW on Cygwin

2011-09-22 Thread Brian Keener
I was trying to build a Windows version of OSG on Cygwin (I can build 
an X version) and wasn't having any luck.  Now that Cygwin has a 
cross-compiler for MINGW (reworked - not the old -MNO_CYGWIN option) I 
thought I would give that a try.  Seems I can tell it where all the 
pertinent compiler and linker programs are and maybe even the libs but 
I'm still missing something as I keep getting an error on the make in 
pthreads.  

Anyone tried building a MINGW version on CYGWIN yet?

thanks

bk


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


Re: [osg-users] Any idea how to tell ccmake to build MINGW on Cygwin

2011-09-22 Thread Ryan Pavlik
Any particular reason you want to use Cygwin to build on mingw? As far as I
can tell, it's easier to just build with mingw/msys directly.

Using the mingw shell (aka MSYS - it's a bash shell), I ran cmake-gui
(it's in my path, the normal windows cmake), chose the MSYS Makefiles
generator (use the mingw makefiles generator if you don't have msys/bash
installed and are using cmd and the mingw make instead), with default
native compilers, and it successfully configured. It has already completed
building OpenThreads without an issue, and it looks like it is doing fine
compiling the osg module at the moment. (Testing with 2.8 svn since I had it
handy.)

Ryan

On Thu, Sep 22, 2011 at 12:13 PM, Brian Keener 
bkee...@thesoftwaresource.com wrote:

 I was trying to build a Windows version of OSG on Cygwin (I can build
 an X version) and wasn't having any luck.  Now that Cygwin has a
 cross-compiler for MINGW (reworked - not the old -MNO_CYGWIN option) I
 thought I would give that a try.  Seems I can tell it where all the
 pertinent compiler and linker programs are and maybe even the libs but
 I'm still missing something as I keep getting an error on the make in
 pthreads.

 Anyone tried building a MINGW version on CYGWIN yet?

 thanks

 bk


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




-- 
Ryan Pavlik
HCI Graduate Student
Virtual Reality Applications Center
Iowa State University

rpav...@iastate.edu
http://academic.cleardefinition.com
___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org