how fix problem?
code:src/graphics/gstage.cp: in member function 'void gstage::setlights(tgraphicslightlist*)': src/graphics/gstage.cp:78: error: 'sprintf' not declared in scope src/graphics/gstage.cp: in member function 'void gstage::addlight(glight*)': src/graphics/gstage.cp:266: error: 'sprintf' not declared in scope scons: *** [.bld/polyworld/graphics/gstage.o] error 1 scons: building terminated because of errors. make: *** [all] error 2
hello. did ever working? here had polyworld working.
fix error, go every file complains (in case src/graphics/gstage.cp) , add following top:
complain l5 or 6 files.code:#include <stdio.h>
after fixed, complain char * conversion error. go src/tools/pwtxt/main.cpp , on line 180 change
tocode:char *name = rindex( path, '/' );
code:const char *name = rindex( path, '/' );
Forum The Ubuntu Forum Community Ubuntu Official Flavours Support General Help [ubuntu] was not declared in this scope
Ubuntu
Comments
Post a Comment