home home

downloads files

forum forum

docs docs

wiki wiki

faq faq

Cube & Cube 2 FORUM


compiling

by $k!llz on 06/01/2008 02:32, 26 messages, last message: 06/11/2008 18:09, 6107 views, last view: 05/17/2024 21:58

dows any1 have tips to compile sauerbraten
? cause im usein devc++ and it keeps giving me

make exe **** [..sauerbraten\src\all\3dgui.o] error 1

plz help

   Board Index    Go to next 20 messagesGo to last 20 messages

#1: ..

by Hirato Kirata on 06/01/2008 03:10

3dgui.cpp is in /src/engine/ not /src/all/ :)
but other than that, I really don't know, is there any other output?

also I should point out that most people here use a combination of MinGW and codeblocks on windows, so perhaps you could give compiling a try with that

~Hirato Kirata

reply to this message

#2: ..

by Quin on 06/01/2008 07:40

http://cube.wikispaces.com/Building+and+Compiling

reply to this message

#3: Re: ..

by )FC($k!llz on 06/01/2008 22:45, refers to #1

Compiler: Default compiler
Building Makefile: \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"C:\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\Dev-Cpp\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\Makefile.win\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"
Executing make...
make.exe -f \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"C:\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\Dev-Cpp\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\Makefile.win\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\" all
g++.exe -D__DEBUG__ -c ../sauerbraten/src/all/3dgui.cpp -o ../sauerbraten/src/all/3dgui.o -I\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"C:/sauerbraten/src/include\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\" -I\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"C:/sauerbraten/src/all\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\" -fdollar-in-identifiers -pg -g3

cc1plus.exe: error: unrecognized command line option \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"-fdollar-in-identifiers\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"

make.exe: *** [../sauerbraten/src/all/3dgui.o] Error 1

Execution terminated

reply to this message

#4: Re: ..

by SheeEttin on 06/01/2008 23:12, refers to #3

I've never seen someone fail the math question so many times...

Anyway, try telling your IDE to not use -fdollar-in-identifiers.

reply to this message

#5: Re: ..

by )FC($k!llz on 06/01/2008 23:25, refers to #4

i do then i get

Compiler: mingw32-g++
Building Makefile: "C:\Dev-Cpp\Makefile.win"
Executing make...
make.exe -f "C:\Dev-Cpp\Makefile.win" all
g++.exe -D__DEBUG__ -c ../sauerbraten/src/all/3dgui.cpp -o ../sauerbraten/src/all/3dgui.o -I"C:/sauerbraten/src/include" -I"c:/sauerbraten/src/all" -pg -g3

In file included from ../sauerbraten/src/all/pch.h:42,
from ../sauerbraten/src/all/3dgui.cpp:6:
c:/sauerbraten/src/all/enet.h:16:24: enet/win32.h: No such file or directory
c:/sauerbraten/src/all/enet.h:21:24: enet/types.h: No such file or directory
c:/sauerbraten/src/all/enet.h:22:27: enet/protocol.h: No such file or directory

c:/sauerbraten/src/all/enet.h:23:23: enet/list.h: No such file or directory
c:/sauerbraten/src/all/enet.h:24:28: enet/callbacks.h: No such file or directory
In file included from ../sauerbraten/src/all/pch.h:42,
from ../sauerbraten/src/all/3dgui.cpp:6:
c:/sauerbraten/src/all/enet.h:64: error: `enet_uint32' does not name a type
c:/sauerbraten/src/all/enet.h:65: error: `enet_uint16' does not name a type
c:/sauerbraten/src/all/enet.h:91: error: expected `)' before '*' token
c:/sauerbraten/src/all/enet.h:91: error: expected `,' or `;' before '*' token
c:/sauerbraten/src/all/enet.h:115: error: `enet_uint32' does not name a type
c:/sauerbraten/src/all/enet.h:116: error: ISO C++ forbids declaration of `enet_uint8' with no type
c:/sauerbraten/src/all/enet.h:116: error: expected `;' before '*' token
c:/sauerbraten/src/all/enet.h:118: error: `ENetPacketFreeCallback' does not name a type
c:/sauerbraten/src/all/enet.h:123: error: `ENetListNode' does not name a type
c:/sauerbraten/src/all/enet.h:124: error: `enet_uint32' does not name a type
c:/sauerbraten/src/all/enet.h:125: error: `ENetProtocol' does not name a type
c:/sauerbraten/src/all/enet.h:130: error: `ENetListNode' does not name a type
c:/sauerbraten/src/all/enet.h:131: error: `enet_uint16' does not name a type

c:/sauerbraten/src/all/enet.h:132: error: `enet_uint16' does not name a type
c:/sauerbraten/src/all/enet.h:133: error: `enet_uint32' does not name a type
c:/sauerbraten/src/all/enet.h:134: error: `enet_uint32' does not name a type
c:/sauerbraten/src/all/enet.h:135: error: `enet_uint32' does not name a type
c:/sauerbraten/src/all/enet.h:136: error: `enet_uint32' does not name a type
c:/sauerbraten/src/all/enet.h:137: error: `enet_uint16' does not name a type



and it goes on and on and on

reply to this message

#6: Re: ..

by SheeEttin on 06/01/2008 23:37, refers to #5

I'd suggest getting a copy of Code::Blocks. It's always worked for me.

Though you might just need a newer version of MinGW... I know the version distributed with C::B is an old one, and the one you're using might be old as well.

reply to this message

#7: Re: ..

by )FC($k!llz on 06/02/2008 00:21, refers to #4

ok so ive got the code::Blocks now
so how do i set that dollar identifier thingy?

reply to this message

#8: Re: ..

by SheeEttin on 06/02/2008 00:39, refers to #7

Pretty sure you don't need to in Code::Blocks.

reply to this message

#9: ..

by )FC($k!llz on 06/02/2008 00:41

i compiled using codeblocks and this is wat is gave me



-------------- Build: default in sauerserver ---------------

Compiling: ..\src\all\3dgui.cpp
In file included from C:\sauerbraten\src\all\/pch.h:42,
from C:\sauerbraten\src\all\3dgui.cpp:6:
C:/sauerbraten/src/all/enet.h:16:24: error: enet/win32.h: No such file or directory
C:/sauerbraten/src/all/enet.h:21:24: error: enet/types.h: No such file or directory
C:/sauerbraten/src/all/enet.h:22:27: error: enet/protocol.h: No such file or directory
C:/sauerbraten/src/all/enet.h:23:23: error: enet/list.h: No such file or directory
C:/sauerbraten/src/all/enet.h:24:28: error: enet/callbacks.h: No such file or directory
C:/sauerbraten/src/all/enet.h:64: error: 'enet_uint32' does not name a type
C:/sauerbraten/src/all/enet.h:65: error: 'enet_uint16' does not name a type
C:/sauerbraten/src/all/enet.h:91: error: expected `)' before '*' token
C:/sauerbraten/src/all/enet.h:115: error: 'enet_uint32' does not name a type
C:/sauerbraten/src/all/enet.h:116: error: ISO C++ forbids declaration of 'enet_uint8' with no type
C:/sauerbraten/src/all/enet.h:116: error: expected ';' before '*' token
C:/sauerbraten/src/all/enet.h:118: error: 'ENetPacketFreeCallback' does not name a type
C:/sauerbraten/src/all/enet.h:123: error: 'ENetListNode' does not name a type
C:/sauerbraten/src/all/enet.h:124: error: 'enet_uint32' does not name a type
C:/sauerbraten/src/all/enet.h:125: error: 'ENetProtocol' does not name a type
C:/sauerbraten/src/all/enet.h:130: error: 'ENetListNode' does not name a type
C:/sauerbraten/src/all/enet.h:131: error: 'enet_uint16' does not name a type
C:/sauerbraten/src/all/enet.h:132: error: 'enet_uint16' does not name a type
C:/sauerbraten/src/all/enet.h:133: error: 'enet_uint32' does not name a type
C:/sauerbraten/src/all/enet.h:134: error: 'enet_uint32' does not name a type
C:/sauerbraten/src/all/enet.h:135: error: 'enet_uint32' does not name a type
C:/sauerbraten/src/all/enet.h:136: error: 'enet_uint32' does not name a type
C:/sauerbraten/src/all/enet.h:137: error: 'enet_uint16' does not name a type
C:/sauerbraten/src/all/enet.h:138: error: 'ENetProtocol' does not name a type
C:/sauerbraten/src/all/enet.h:144: error: 'ENetListNode' does not name a type
C:/sauerbraten/src/all/enet.h:145: error: 'enet_uint16' does not name a type
C:/sauerbraten/src/all/enet.h:146: error: 'enet_uint16' does not name a type
C:/sauerbraten/src/all/enet.h:147: error: 'ENetProtocol' does not name a type
C:/sauerbraten/src/all/enet.h:148: error: 'enet_uint32' does not name a type
C:/sauerbraten/src/all/enet.h:149: error: 'enet_uint32' does not name a type
C:/sauerbraten/src/all/enet.h:150: error: ISO C++ forbids declaration of 'enet_uint32' with no type
C:/sauerbraten/src/all/enet.h:150: error: expected ';' before '*' token
C:/sauerbraten/src/all/enet.h:198: error: 'enet_uint16' does not name a type
C:/sauerbraten/src/all/enet.h:199: error: 'enet_uint16' does not name a type
C:/sauerbraten/src/all/enet.h:200: error: 'enet_uint16' does not name a type
C:/sauerbraten/src/all/enet.h:201: error: 'enet_uint16' does not name a type
C:/sauerbraten/src/all/enet.h:202: error: 'ENetList' does not name a type
C:/sauerbraten/src/all/enet.h:203: error: 'ENetList' does not name a type
C:/sauerbraten/src/all/enet.h:214: error: 'enet_uint16' does not name a type
C:/sauerbraten/src/all/enet.h:215: error: 'enet_uint16' does not name a type
C:/sauerbraten/src/all/enet.h:216: error: 'enet_uint32' does not name a type
C:/sauerbraten/src/all/enet.h:222: error: 'enet_uint32' does not name a type
C:/sauerbraten/src/all/enet.h:223: error: 'enet_uint32' does not name a type
C:/sauerbraten/src/all/enet.h:224: error: 'enet_uint32' does not name a type
C:/sauerbraten/src/all/enet.h:225: error: 'enet_uint32' does not name a type
C:/sauerbraten/src/all/enet.h:226: error: 'enet_uint32' does not name a type
C:/sauerbraten/src/all/enet.h:227: error: 'enet_uint32' does not name a type
C:/sauerbraten/src/all/enet.h:228: error: 'enet_uint32' does not name a type
C:/sauerbraten/src/all/enet.h:229: error: 'enet_uint32' does not name a type
C:/sauerbraten/src/all/enet.h:230: error: 'enet_uint32' does not name a type
Process terminated with status 1 (0 minutes, 4 seconds)
50 errors, 0 warnings

reply to this message

#10: ..

by ACCESS-GRANTED on 06/02/2008 00:44

LOL n00b there is NO hope for this one let it go guys

reply to this message

#11: Re: ..

by SheeEttin on 06/02/2008 01:37, refers to #9

Yeeeeaaaaahhh... At this point I'm going to suggest that your current setup is completely borked.

Uninstall Sauer (back up any maps, etc. you want to keep), Code::Blocks, and MinGW, and install them again. Hopefully that'll work.

reply to this message

#12: src/all

by MeatROme on 06/02/2008 04:11

This element keeps repeating in his posts ... there's definitely something fishy about that!

reply to this message

#13: ..

by {Qs}Homicidal on 06/02/2008 04:42

maby he moved the files

reply to this message

#14: Re: src/all

by SheeEttin on 06/02/2008 05:57, refers to #12

Methinks it's something about the make target "all"...
Maybe create a shortcut at C:\sauerbraten\src\all pointing to C:\sauerbraten\src?

reply to this message

#15: Re: src/all

by MeatROme on 06/02/2008 14:55, refers to #14

If I know my Code::Blocks the project usually comes with 2 default build-targets "Debug" and "Install" .. you should have a target to "default" .. or create a Makefile especially for Code::Blocks.
Maybe there's been some misconfiguration going on with the prepared build-targets making them look inside different folders for source-files ... I know C::B generally has seperate sub-folders for obj and binaries for each build-target ... but if you mark your project to use a custom Makefile and then point it at the one inside sauerbraten/src those won't be used either :-)

HTH

reply to this message

#16: Re: src/all

by SheeEttin on 06/02/2008 21:25, refers to #15

Or just use the included Code::Blocks project (src/mingw/sauerbraten.cbp). ;)

reply to this message

#17: Re: src/all

by $k!llz on 06/06/2008 05:11, refers to #16

ok SheeEttin i opened the code blocks thing an the (src/mingw/sauerbraten.cbp). ;)

and this is wat i get

C:\sauerbratenassasin\src\engine\rendermodel.cpp||In function 'void renderclient(dynent*, const char*, modelattach*, int, int, int, int, float)':|
C:\sauerbratenassasin\src\engine\rendermodel.cpp|867|error: 'struct igameclient' has no member named 'allowmove'|
C:\sauerbratenassasin\src\engine\rendermodel.cpp|869|error: 'struct igameclient' has no member named 'allowmove'|
||=== Build finished: 2 errors, 0 warnings ===|

reply to this message

#18: Compiling on Mac doesnt work

by Redon@alternativeAccount... on 06/06/2008 13:31

I want to compile CVS version for my mac but it doesnt work...

its always shows this error:
http://img359.imageshack.us/img359/6651/bild5kg0.png

reply to this message

#19: Re: Compiling on Mac doesnt work

by MovingTarget on 06/06/2008 13:33, refers to #18

Seems like you don't have the SDL libraries installed.

reply to this message

#20: Re: Compiling on Mac doesnt work

by Redon@alternativeAccount... on 06/06/2008 13:45, refers to #19

and how do i have to install them?

reply to this message

   Board Index    Go to next 20 messagesGo to last 20 messages


Unvalidated accounts can only reply to the 'Permanent Threads' section!


content by Aardappel & eihrul © 2001-2024
website by SleepwalkR © 2001-2024
54038622 visitors requested 71819070 pages
page created in 0.023 seconds using 9 queries
hosted by Boost Digital