I'd like to try out OpenSceneGraph, but I have problems building it
with MinGW on Windows. I haven't used MinGW for very long and never
built a big project with it, so it is possible that it is a setup
problem.

I have tried different approaches, but they give the same result.

Building OpenThreads and Producer works (though I manually have to
move the OpenThreads files to the locations set in OPENTHREADS_INC_DIR
and OPENTHREADS_LIB_DIR before building Producer).

Building OpenSceneGraph fails with the error "No rule to make target
../GNUmakefile" after successfully building lots of files. See the
tail of the output from make:

----SNIP!
Entering directory osgPlugins
make[2]: Entering directory `/c/OSG_OP_OT-1.2/OpenSceneGraph/src/osgPlugins'
Entering directory 3dc
make[3]: Entering directory `/c/OSG_OP_OT-1.2/OpenSceneGraph/src/osgPlugins/3dc'
../../../Make/makerules:103: warning: overriding commands for target
`/local/lib'
../../../Make/makerules:100: warning: ignoring old commands for target
`/local/lib'
../../../Make/makerules:128: warning: overriding commands for target
`/local/lib'
../../../Make/makerules:103: warning: ignoring old commands for target
`/local/lib'
../../../Make/makerules:183: warning: overriding commands for target
`/local/lib'
../../../Make/makerules:128: warning: ignoring old commands for target
`/local/lib'
make[4]: Entering directory
`/c/OSG_OP_OT-1.2/OpenSceneGraph/src/osgPlugins/3dc/MINGW.Opt'
../../../../Make/makerules:103: warning: overriding commands for
target `/local/lib'
../../../../Make/makerules:100: warning: ignoring old commands for
target `/local/lib'
../../../../Make/makerules:128: warning: overriding commands for
target `/local/lib'
../../../../Make/makerules:103: warning: ignoring old commands for
target `/local/lib'
../../../../Make/makerules:183: warning: overriding commands for
target `/local/lib'
../../../../Make/makerules:128: warning: ignoring old commands for
target `/local/lib'
[ -d MINGW.Opt ] || mkdir MINGW.Opt
cd MINGW.Opt; \
     make -f ../GNUmakefile DOF=-O2 TOPDIR=../../../../.. \
           THISDIR=../../. \
           MAKEDEPEND=Makedepend /local/lib
make[5]: Entering directory
`/c/OSG_OP_OT-1.2/OpenSceneGraph/src/osgPlugins/3dc/MINGW.Opt/MINGW.Opt'
make[5]: ../GNUmakefile: No such file or directory
make[5]: *** No rule to make target `../GNUmakefile'.  Stop.
make[5]: Leaving directory
`/c/OSG_OP_OT-1.2/OpenSceneGraph/src/osgPlugins/3dc/MINGW.Opt/MINGW.Opt'
make[4]: *** [/local/lib] Error 2
make[4]: Leaving directory
`/c/OSG_OP_OT-1.2/OpenSceneGraph/src/osgPlugins/3dc/MINGW.Opt'
make[3]: *** [/local/lib.opt] Error 2
make[3]: Leaving directory `/c/OSG_OP_OT-1.2/OpenSceneGraph/src/osgPlugins/3dc'
make[2]: *** [default] Error 1
make[2]: Leaving directory `/c/OSG_OP_OT-1.2/OpenSceneGraph/src/osgPlugins'
make[1]: *** [default] Error 1
make[1]: Leaving directory `/c/OSG_OP_OT-1.2/OpenSceneGraph/src'
make: *** [default] Error 1

Any ideas what the cause of this might be and how to fix it? I get the
same error if I execute make in other subdirectories of osgPlugins
(3dc is the first subdirectory in osgPlugins, so it's where the error
appears during a make of the whole tree).
_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/

Reply via email to