by Sauerplayer
on 05/16/2007 20:59, 3 messages, last message: 05/17/2007 06:27, 1467 views, last view: 05/03/2024 22:39 |
Hey,
Just thought I'd drop a line here and ask what can compile the Sauerbraten source code. I'm using Code::Blocks v1.0 to edit the source and tried using the GNU GCC Compiler add-on to compile it, but I get crap like this for example:
-------------------------------
Compiling: C:\Documents and Settings\Ty\Desktop\los\src\engine\rendergl.cpp
C:/Documents and Settings/Ty/Desktop/los/src/engine/rendergl.cpp:3:17: pch.h: No such file or directory
In file included from C:/Documents and Settings/Ty/Desktop/los/src/engine/rendergl.cpp:4:
C:/Documents and Settings/Ty/Desktop/los/src/engine/engine.h:1:18: cube.h: No such file or directory
C:/Documents and Settings/Ty/Desktop/los/src/engine/engine.h:2:21: iengine.h: No such file or directory
C:/Documents and Settings/Ty/Desktop/los/src/engine/engine.h:3:19: igame.h: No such file or directory
In file included from C:/Documents and Settings/Ty/Desktop/los/src/engine/engine.h:5,
from C:/Documents and Settings/Ty/Desktop/los/src/engine/rendergl.cpp:4:
C:/Documents and Settings/Ty/Desktop/los/src/engine/world.h:23: 'uchar' is used
as a type, but is not defined as a type.
C:/Documents and Settings/Ty/Desktop/los/src/engine/world.h:24: parse error
before `[' token
C:/Documents and Settings/Ty/Desktop/los/src/engine/world.h:25: 'uchar' is used
as a type, but is not defined as a type.
C:/Documents and Settings/Ty/Desktop/los/src/engine/world.h:26: parse error
before `,' token
C:/Documents and Settings/Ty/Desktop/los/src/engine/world.h:27: 'uchar' is used
as a type, but is not defined as a type.
C:/Documents and Settings/Ty/Desktop/los/src/engine/world.h:28: parse error
before `[' token
C:/Documents and Settings/Ty/Desktop/los/src/engine/world.h:60: parse error
before `{' token
C:/Documents and Settings/Ty/Desktop/los/src/engine/world.h:62: parse error
before `short'
C:/Documents and Settings/Ty/Desktop/los/src/engine/world.h:63: parse error
before `int'
C:/Documents and Settings/Ty/Desktop/los/src/engine/world.h:64: parse error
before `const'
C:/Documents and Settings/Ty/Desktop/los/src/engine/world.h: In function `void
mask(int)':
C:/Documents and Settings/Ty/Desktop/los/src/engine/world.h:66: `x' undeclared
(first use this function)
C:/Documents and Settings/Ty/Desktop/los/src/engine/world.h:66: (Each
undeclared identifier is reported only once for each function it appears
in.)
C:/Documents and Settings/Ty/Desktop/los/src/engine/world.h:66: `y' undeclared
(first use this function)
C:/Documents and Settings/Ty/Desktop/los/src/engine/world.h:66: `z' undeclared
(first use this function)
C:/Documents and Settings/Ty/Desktop/los/src/engine/world.h: At global scope:
C:/Documents and Settings/Ty/Desktop/los/src/engine/world.h:68: parse error
before `)' token
C:/Documents and Settings/Ty/Desktop/los/src/engine/world.h:69: parse error
before `,' token
C:/Documents and Settings/Ty/Desktop/los/src/engine/world.h:69: syntax error
before `.' token
C:/Documents and Settings/Ty/Desktop/los/src/engine/world.h:69: syntax error
before `.' token
C:/Documents and Settings/Ty/Desktop/los/src/engine/world.h:69: syntax error
before `.' token
C:/Documents and Settings/Ty/Desktop/los/src/engine/world.h:70: parse error
before `&' token
C:/Documents and Settings/Ty/Desktop/los/src/engine/world.h:72: parse error
before `)' token
C:/Documents and Settings/Ty/Desktop/los/src/engine/world.h:73: parse error
before `,' token
C:/Documents and Settings/Ty/Desktop/los/src/engine/world.h:73: syntax error
before `.' token
C:/Documents and Settings/Ty/Desktop/los/src/engine/world.h:73: syntax error
before `.' token
C:/Documents and Settings/Ty/Desktop/los/src/engine/world.h:73: syntax error
before `.' token
C:/Documents and Settings/Ty/Desktop/los/src/engine/world.h:74: parse error
before `&' token
C:/Documents and Settings/Ty/Desktop/los/src/engine/world.h:77: base class `
vvec' has incomplete type
C:/Documents and Settings/Ty/Desktop/los/src/engine/world.h:78: parse error
before `{' token
C:/Documents and Settings/Ty/Desktop/los/src/engine/world.h:79: 'bvec' is used
as a type, but is not defined as a type.
C:/Documents and Settings/Ty/Desktop/los/src/engine/world.h:80: base class `
fvertexff' has incomplete type
C:/Documents and Settings/Ty/Desktop/los/src/engine/world.h:80: 'bvec' is used
as a type, but is not defined as a type.
In file included from C:/Documents and Settings/Ty/Desktop/los/src/engine/engine.h:6,
from C:/Documents and Settings/Ty/Desktop/los/src/engine/rendergl.cpp:4:
C:/Documents and Settings/Ty/Desktop/los/src/engine/octa.h:5: parse error
before `,' token
C:/Documents and Settings/Ty/Desktop/los/src/engine/octa.h:6: parse error
before `[' token
C:/Documents and Settings/Ty/Desktop/los/src/engine/octa.h:18: 'ivec' is used
as a type, but is not defined as a type.
C:/Documents and Settings/Ty/Desktop/los/src/engine/octa.h:19: parse error
before `,' token
C:/Documents and Settings/Ty/Desktop/los/src/engine/octa.h:25: parse error
before `,' token
C:/Documents and Settings/Ty/Desktop/los/src/engine/octa.h:28: syntax error
before `*' token
C:/Documents and Settings/Ty/Desktop/los/src/engine/octa.h:29: 'ushort' is used
as a type, but is not defined as a type.
C:/Documents and Settings/Ty/Desktop/los/src/engine/octa.h:30: 'uchar' is used
as a type, but is not defined as a type.
C:/Documents and Settings/Ty/Desktop/los/src/engine/octa.h:36: parse error
before `[' token
C:/Documents and Settings/Ty/Desktop/los/src/engine/octa.h:37: parse error
before `,' token
C:/Documents and Settings/Ty/Desktop/los/src/engine/octa.h:38: parse error
before `,' token
C:/Documents and Settings/Ty/Desktop/los/src/engine/octa.h:43: parse error
before `[' token
C:/Documents and Settings/Ty/Desktop/los/src/engine/octa.h:48: field `v' has
incomplete type
C:/Documents and Settings/Ty/Desktop/los/src/engine/octa.h:50: 'ushort' is used
as a type, but is not defined as a type.
C:/Documents and Settings/Ty/Desktop/los/src/engine/octa.h:64: parse error
Process terminated with status 1 (0 minutes, 5 seconds)
52 errors, 0 warnings
--------------------------------------
This leads me to think that Code::Blocks
and GNU GCC Compiler are not the best
Sauerbraten code compilers, since I even tried to recompile the unmodified source and still got errors. Get back to me here if you have an answer.
-Sauerplayer
|