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/
