Menu

Problem building latest release on Linux

Help
2013-01-18
2013-08-28
  • Sebastian Montabone

    Hi,

    I tried compiling the latest release (waffles-2012-08-31-source.zip as well as the current code at the git repository) on Ubuntu Server 12.04 LTS 32 bits, but it stops with this error:

    make: *** No rule to make target ../../obj/GClasses/dbg/G3D.o', needed by../../lib/GClassesDbg.a'. Stop.

    I proceeded to compile the previous version (waffles-2011-12-6-source.zip) on the same system, and it worked perfectly. I checked the latest version on Windows and it also works.

    This suggests to me that there may be a problem in the Makefile of the latest version. Any help would be great.

     
  • Anonymous

    Anonymous - 2013-01-20

    I cannot seem to repro this issue. I suspect the problem is that waffles/obj/GClasses/dbg/G3D.d was generated improperly. I think that it will fix it if you delete the waffles/obj folder and rebuild. If that does not fix it, let me know, and I can give more explicit instructions about how I would debug it. Good luck!

     
  • Anonymous

    Anonymous - 2013-08-28

    Same issue here can't install on ubuntu 12.04 LTS 64 bit

    make: *** No rule to make target ../../obj/GClasses/dbg/G3D.o', needed by../../lib/GClassesDbg.a'. Stop.

    Installed the waffles-2011-12-6-source.zip which will fit my need just fine.

     
  • Mike Gashler

    Mike Gashler - 2013-08-28

    Hmm, I develop on Ubuntu 12.04 LTS 64-bit, so it is surprising that I have not seen this issue.

    The rule to make that target should be found in waffles/obj/GClasses/dbg/G3D.d, which should look something like this:

    ../../obj/GClasses/dbg/G3D.o: G3D.cpp G3D.h GError.h GRand.h GDom.h GHeap.h GMath.h GImage.h \
    GVec.h
    g++ -Wall -g -D_DEBUG -c G3D.cpp -o ../../obj/GClasses/dbg/G3D.o

    Does yours look like that? If you delete this file, it should just regenerate it. Does that help at all?

     

Anonymous
Anonymous

Add attachments
Cancel





Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.