Actually... I might have spoken too soon when I said that.

I'm now getting a different set of error messages:

make[1]: Entering directory `/install/OSG_OP_OT-0.9.9/Producer/src'
make[2]: Entering directory `/install/OSG_OP_OT-0.9.9/Producer/src/CYGWIN32.Opt'
c++  -O2 -W -Wall -L../..//lib/CYGWIN32  -L/usr/local/OpenThreads/bin -shared 
-Wl,--export-all-symbols -Wl,--out-implib,../..//lib/CYGWIN32/libProducer.dll.a 
InputArea.o VisualChooser.o RenderSurface.o KeyboardMouse.o Keyboard.o 
Trackball.o RenderSurface_X11.o RenderSurface_Win32.o RenderSurface_OSX_CGL.o 
RenderSurface_OSX_AGL.o Window3D.o Camera.o CameraGroup.o CameraConfig.o 
Timer.o Version.o ConfigLexer.o ConfigParser.o WGLExtensions.o           
-lglu32 -lopengl32 -lgdi32 -luser32 -lOpenThreads -lpthread -o libProducer.dll
Can't open .lib file: ../..//lib/CYGWIN32/libProducer.dll.a
collect2: ld returned 1 exit status
make[2]: *** [libProducer] Error 1
make[2]: Leaving directory `/install/OSG_OP_OT-0.9.9/Producer/src/CYGWIN32.Opt'
make[1]: *** [libProducer.opt] Error 2
make[1]: Leaving directory `/install/OSG_OP_OT-0.9.9/Producer/src'
make: *** [default] Error 1 

-----Original Message-----
From: Deckard, Matthew D 
Sent: Monday, July 10, 2006 7:47 AM
To: osg users
Subject: RE: [osg-users] Errors compiling Producer in cygwin

Thanks, Antoine, that fixed it. 

-----Original Message-----
From: Antoine Hue [mailto:[EMAIL PROTECTED]
Sent: Saturday, July 08, 2006 3:10 AM
To: osg users
Subject: Re: [osg-users] Errors compiling Producer in cygwin


Le 7 juil. 06, à 22:50, Deckard, Matthew D a écrit :

> When trying to compile Producer using Mingw in Cygwin, I get the 
> following errors:
>
> make[1]: Entering directory `/install/OSG_OP_OT-1.0/Producer/src'
> make[2]: Entering directory
> `/install/OSG_OP_OT-1.0/Producer/src/CYGWIN32.Opt'
> c++  -O2 -DPRODUCER_VERSION=\"1.0.1\" -DPRODUCER_VERSION_REVISION="1"
> -DWIN32 -W -Wall -DPR_LIBRARY -DNOMINMAX -I../..//include 
> -I../..//include -I../. -c ../InputArea.cpp In file included from 
> ../..//include/Producer/RenderSurface:24,
>                  from ../InputArea.cpp:20:
> ../..//include/Producer/RefOpenThreads:18:31: OpenThreads/Barrier: No 
> such file or directory
It looks like OpenThreads are not in the include path given to the compiler.
If I remember well, under MingW, OpenThreads (and Producer and
OpenSceneGraph) do not install in the default directory /usr/local but in 
/usr/local/OpenThread/ (try a "ls" on /usr/local). It means the compiler cannot 
find it by default.
Try adding the OPENTHREADS_INC_DIR and OPENTREADS_LIB_DIR variable to your 
environment.
>
> I've already installed OpenThreads, and I also tried a solution 
> suggested earlier on this mailing list of using the makefile in the 
> 'win32_src' directory for compiling that - that just gave me different 
> error messages. Any help would be very much appreciated. Thanks!
>
I do not know about that one.

Antoine

_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/
_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/
_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/

Reply via email to