> -----Original Message-----
> Brian Keener
> Sent: Wednesday, February 14, 2007 5:32 PM
> To: osg users
> Subject: Re: [osg-users] Trouble making Producer in Cygwin
>
> Bill Galbraith wrote:
> > However, I still hit this brick wall where it can't find
> > _ChoosePixelFormat, _DescribePixelFormat, and a host of
> other problems.
> >
> > Is anyone out there compiling this under Cygwin, and can
> you offer any
> > suggestions on how to fix this?
> >
>
> Bill,
>
> IO am using Cygwin and have compiled OpenThreads and Producer
> and OpenSceneGraph. There is some issue between
> OpenSceneGraph and OpenThreads and Cygwin I haven't been able
> to track but would love the assistance. As to getting your
> to compile I am sort of rushed at the moment (have somewhere to
> be) but I will look over later tonight or tomorrow and tell
> you what I can. In the meantime - please provide details on
> what you did as I don't recall doing anything more that what
> the instruction on the website say to do.
>
> And Yes I am on Gcc 3.4.4
>
> bk
>
Brian-
Thanks for the response. Let's see if I can detail everything that I did.
Maybe there is something that will hit you right away that I did wrong.
Got the latest version of PLIB from CVS, placed it into a directory at
/usr/local/source.
./autogen.sh (Looks like it's required now for CVS version,
although instrux dont say so)
./configure
make
make install
I hope that the presence of PLIB isn't screwing up anything. I understand
that I need both PLIB and OSG to build FlightGear.
Unpacked OSG into /development (I tried /usr/local/source once, I think with
the same results). I pulled the latest tarballs form the web page down, and
tried several days prior just in case. Same response.
The documentation that comes with the package says to use "gmake", but the
make on Cygwin is the GNU Make, version 3.81, so I just used the command
"make" instead of "gmake" ("gmake" isn't actually present).
Set my environment variables as I detailed before. I think that the
instructions on the web page are incorrect, since Make puts them in
different places than detailed. (Copied directly from my .bashrc file)
export OPENTHREADS_INC_DIR=/usr/local/include/OpenThreads
export OPENTHREADS_LIB_DIR=/usr/local/lib
export PRODUCER_INC_DIR=/usr/local/include/Producer
export PRODUCER_LIB_DIR=/usr/local/lib
export COMPILE_INTROSPECTION=no
export PATH="$OPENTHREADS_LIB_DIR:$PATH"
export PATH="$PRODUCER_LIB_DIR:$PATH"
export PATH="/usr/local/OpenSceneGraph/bin:$PATH"
Went to /development/OpenThreads:
make
make install
That worked fine. Went to /development/Producer
mkdir /development/Producer/lib/CYGWIN32
make
During the Make, I get a bunch of these messages:
c++ -M -I../../..//include -I/usr/local/include/OpenThreads -I.././
../InputArea.cpp '>' .depend/InputArea.cpp
In file included from ../../../include/Producer/InputArea:22,
from ../InputArea.cpp:19:
../../../include/Producer/Types:44:24: GL/glx.h: No such file or
directory
There is no file "GL/glx.h", except in /usr/X11R6/include.
And then I get a bunch of error messages, some of which are:
VisualChooser.o:VisualChooser.cpp:(.text+0x1921): undefined
reference to [EMAIL PROTECTED]'
VisualChooser.o:VisualChooser.cpp:(.text+0x19ff): undefined
reference to [EMAIL PROTECTED]'
VisualChooser.o:VisualChooser.cpp:(.text+0x1aac): undefined
reference to [EMAIL PROTECTED]'
RenderSurface_Win32.o:RenderSurface_Win32.cpp:(.text+0x4d74):
undefined reference to [EMAIL PROTECTED]'
RenderSurface_Win32.o:RenderSurface_Win32.cpp:(.text+0x4f44):
undefined reference to [EMAIL PROTECTED]'
RenderSurface_Win32.o:RenderSurface_Win32.cpp:(.text+0x517c):
undefined reference to [EMAIL PROTECTED]'
Hope that's enough information for you.
Thanks,
Bill
_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/