1
Technical Help: IN GAME bugs (after loading world) /
« on: February 24, 2005, 03:21:07 pm »Quote
Originally posted by Karosh_Steinkatz You are using gcc 3.4.x, aren\'t you?
Open the file /src/common/util/heap.h and change all \'Get\' to \'this->Get\' and the one \'Top\' to \'this->Top\'
Yes, you are right - i\'m using gcc 3.4.3
I did a cvs update and i saw that the Get\'s and Top is allready changed - thanks! I\'m compling it right now.
No luck :-( here are the new errors:
Code: [Select]
C++ ./out/linuxx86/debug/src/common/util/eventmanager.o
In file included from src/common/util/eventmanager.h:26,
from src/common/util/eventmanager.cpp:30:
./src/common/util/heap.h: In member function `void Heap::Insert(T*)\':
./src/common/util/heap.h:51: error: there are no arguments to `Get\' that depend on a template parameter, so a declaration of `Get\' must be available
./src/common/util/heap.h:51: error: (if you use `-fpermissive\', G++ will accept your code, but allowing the use of an undeclared name is deprecated)
g++ -c -o ./out/linuxx86/debug/src/common/util/eventmanager.o -DCS_DEBUG -g3 -I/home/test/crystal/CS/include -I/home/test/crystal/cel/include -fexceptions -I. -I./include -I./src/common -I./src/client -I./src/server src/common/util/eventmanager.cpp
...failed C++ ./out/linuxx86/debug/src/common/util/eventmanager.o ... Code: [Select]
C++ ./out/linuxx86/debug/src/client/pscal3dcallback.o
In file included from src/client/pscal3dcallback.cpp:30:
src/client/pscal3dcallback.h:24:32: cal3d/animcallback.h: No such file or directory
In file included from src/client/pscal3dcallback.cpp:30:
src/client/pscal3dcallback.h:48: error: invalid use of undefined type `struct CalAnimationCallback\'
/home/test/crystal/CS/include/imesh/spritecal3d.h:99: error: forward declaration of `struct CalAnimationCallback\'
src/client/pscal3dcallback.cpp: In member function `virtual csPtr psCal3DCallbackLoader::Parse(iDocumentNode*, iLoaderContext*, iBase*)\':
src/client/pscal3dcallback.cpp:74: error: no matching function for call to `iSpriteCal3DFactoryState::RegisterAnimCallback(csString&, psCal3DCallbackEffect*, float&)\'
/home/test/crystal/CS/include/imesh/spritecal3d.h:325: note: candidates are: virtual bool iSpriteCal3DFactoryState::RegisterAnimCallback(const char*, CalAnimationCallback*, float)
g++ -c -o ./out/linuxx86/debug/src/client/pscal3dcallback.o -DCS_DEBUG -g3 -I/home/test/crystal/CS/include -I/home/test/crystal/cel/include -fexceptions -I/home/test/crystal/cal3d -I. -I./include -I./src/common -I./src/client -I./src/server src/client/pscal3dcallback.cpp
...failed C++ ./out/linuxx86/debug/src/client/pscal3dcallback.o ...

