I am trying to modify osgshaders to use DWMAKE... I must have made another mistake, as my makefile doesn't seem to work:

This is the GNUmakefile


include $(DWMAKE)/makedefs

CXXFILES =\
   GL2Scene.cpp \
   Noise.cpp \
   osgshaders.cpp

LIBS = -losgProducer -lProducer -losgText -losgGA -losgDB -losgUtil -losg $(GL_LIBS) $(X_LIBS) $(OTHER_LIBS)

EXEC = osgshaders

include $(DWMAKE)/makerules


This is the output of make

$ make

make[1]: Entering directory `/home/osgshaders/Linux64.Opt'
make[1]: *** No rule to make target `../../../include/osg/ShapeDrawable', needed by `GL2Scene.o'. Stop.
make[1]: Leaving directory `/home/osgshaders/Linux64.Opt'
make: *** [osgshaders.opt] Error 2


What did I do wrong?   I'll go ahead and say "Doh!" in advance.

thanks,
Ed



Don Burns wrote:
Hi Ed,

You've done too much! :) The install.sh was not really intended for installing the software, but rather an experiment for doing a 'make install'. Just ignore/delete it.

You should simply unpack the distribution (or CVS update/checkout) and just set your env variable to the directory where you check it out:

cvs -d :pserver:[EMAIL PROTECTED]:/cvs/DWMake co DWMake
cd DWMake
setenv DWMAKE `pwd`

Your GNU makefile should then work.

-don


On 10/30/06, *Ed* <[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>> wrote:

    I am trying to use DWmake to build my app....


    I retrieved a copy of DWMake by doing this:

      cvs -d :pserver:[EMAIL PROTECTED]:/cvs/DWMake co DWMake

    Then I....

    cd DWMake
    ./install.sh

    Then I set an env in my .bashrc file like this:

    export DWMAKE=/usr/local/DWMake

    Then I copied the osgsimple example to a place in my local projects
    tree.  Within osgimple directory I modified the GNUmakefile so
    that it
    looked like this....

       include $(DWMAKE)/makedefs
       CXXFILES = osgsimple.cpp
       LIBS = -losg
       EXEC = osgsimple
       include $(DWMAKE)/makerules

    When I try to build the example

    make

    I receive following messages:

    /usr/local/DWMake/Platforms//makedefs.linux:6:
    /usr/local/DWMake/Platforms//make
                                           defs.linux64_gcc: No such file
    or directory
    make: *** No rule to make target
    `/usr/local/DWMake/Platforms//makedefs.linux64_
                                                         gcc'.  Stop.

    What have I done wrong?

    Thanks,
    Ed

    _______________________________________________
    osg-users mailing list
    [email protected] <mailto:[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