home home

downloads files

forum forum

docs docs

wiki wiki

faq faq

Cube & Cube 2 FORUM


General Thread

by Aardappel on 01/05/2002 01:55, 15499 messages, last message: 12/08/2021 21:22, 8826016 views, last view: 12/09/2021 02:34

for questions, announcements etc.

Go to first 20 messagesGo to previous 20 messages    Board Index    Go to next 20 messagesGo to last 20 messages

#15204: Problems compiling sauerbraten on Ubuntu 14.04

by Torgo101 on 09/30/2014 19:30

Hello, I've been having some problems compiling Sauerbraten, I have the required sdl libraries, but this is what happens when I try to do the usual make dance:
g++ -O3 -fomit-frame-pointer -Wall -fsigned-char -fno-exceptions -fno-rtti -Ishared -Iengine -Ifpsgame -Ienet/include -I/usr/X11R6/include `sdl-config --cflags` -o shared/cube.tmp.h.gch shared/cube.h
In file included from shared/cube.h:69:0:
shared/iengine.h:353:99: error: default argument given for parameter 3 of ‘void filtertext(char*, const char*, bool, int)’ [-fpermissive]
extern void filtertext(char *dst, const char *src, bool whitespace=true, int len= sizeof(string)-1);
^
In file included from shared/cube.h:64:0:
shared/tools.h:1204:13: error: after previous specification in ‘void filtertext(char*, const char*, bool, int)’ [-fpermissive]
extern void filtertext(char *dst, const char *src, bool whitespace = true, int len = sizeof(string)-1);
^
In file included from shared/cube.h:69:0:
shared/iengine.h:353:99: error: default argument given for parameter 4 of ‘void filtertext(char*, const char*, bool, int)’
extern void filtertext(char *dst, const char *src, bool whitespace=true, int len= sizeof(string)-1);
^
In file included from shared/cube.h:64:0:
shared/tools.h:1204:13: error: after previous specification in ‘void filtertext(char*, const char*, bool, int)’
extern void filtertext(char *dst, const char *src, bool whitespace = true, int len = sizeof(string)-1);
^
make: ** [shared/cube.h.gch] Erro 1

The thing is, I've been able to compile the Tesseract fork without any problems, but it uses sdl2 libraries.
Any idea on what I'm doing wrong?

reply to this message

#15205: ..

by eihrul on 10/02/2014 10:16

Delete line 353 from shared/iengine.h

reply to this message

#15206: SauerEnchanced Compiling issues

by hypernova^ on 10/07/2014 23:50

Hey guys,

I have some problems with compiling Sauerenchanced for Linux:

g++ -O3 -fomit-frame-pointer -Wall -fsigned-char -Ishared -Iengine -Ifpsgame -Ienet/include -I/usr/X11R6/include `sdl-config --cflags` -c -o engine/cubeloader.o engine/cubeloader.cpp
engine/cubeloader.cpp: In member function ‘void cubeloader::load_cube_world(char*)’:
engine/cubeloader.cpp:262:26: error: cannot convert ‘stream*’ to ‘gzFile’ for argument ‘1’ to ‘int gzclose(gzFile)’
gzclose(f);
^
engine/cubeloader.cpp:267:133: error: cannot convert ‘stream*’ to ‘gzFile’ for argument ‘1’ to ‘int gzclose(gzFile)’
if(hdr.version>5 && !mod) { conoutf(CON_ERROR, "map %s requires a newer version of the Cube 1 importer", cgzname); gzclose(f); return; }
^
engine/cubeloader.cpp:283:76: error: cannot convert ‘stream*’ to ‘gzFile’ for argument ‘1’ to ‘off_t gzseek(gzFile, off_t, int)’
if(mod) gzseek(f, hdr.numents*sizeof(c_persistent_entity), SEEK_CUR);
^
In file included from shared/cube.h:65:0,
from engine/engine.h:4:
engine/cubeloader.cpp: At global scope:
shared/command.h:99:48: warning: ‘__dummy_importcube’ defined but not used [-Wunused-variable]
#define COMMANDN(name, fun, nargs) static bool __dummy_##fun = addcommand(#name, (void (*)())fun, nargs)
^
shared/command.h:100:30: note: in expansion of macro ‘COMMANDN’
#define COMMAND(name, nargs) COMMANDN(name, name, nargs)
^
engine/cubeloader.cpp:375:1: note: in expansion of macro ‘COMMAND’
COMMAND(importcube, "s");
^
make: *** [engine/cubeloader.o] Error 1

If anyone knows what I can do to fix this, please let me know :)

reply to this message

#15207: Re: SauerEnchanced Compiling issues

by suicizer03 on 10/08/2014 18:55, refers to #15206

I have some problems reading your comment due missing symbols o.o

reply to this message

#15208: Re: SauerEnchanced Compiling issues

by hypernova^ on 10/08/2014 19:04, refers to #15207

Yea idk why but this just happened starting yesterday D:

reply to this message

#15209: Re: SauerEnchanced Compiling issues

by hypernova^ on 10/08/2014 22:00, refers to #15208

It looks like the ? refers to ' (single quote)

reply to this message

#15210: Server Hosting

by MrPlatipus on 10/24/2014 23:03

Every time I open server.bat, I get an error that says "could not create server host". My firewall allows all functions of saurbraten through. Any ideas?

reply to this message

#15211: Re: Server Hosting

by raz on 10/28/2014 12:24, refers to #15210

Did you forward the default ports?

28785 and 28786, both UDP, both ways traffic afaik.

reply to this message

#15212: Re: Server Hosting

by hypernova^ on 10/30/2014 02:29, refers to #15210

I get this error when a server is already running in the same directory, perhaps the same thing is happening to you.

reply to this message

#15213: ..

by Kook on 10/30/2014 03:00

Hi crew

Upgraded my old mac mini to a core 2 duo from an old core duo. So now have 2GHZ but inboard graphics yuck.

I was able to play on the old machine after someone helpfully gave me some info in adjusting the option settings.

My frame rate is around 20-30fps at the moment and gameplay is severely affected I have tried turning down all the in game effects, which only helped a little.

reply to this message

#15214: Re: ..

by suicizer03 on 10/30/2014 11:50, refers to #15213

Setting a lower resolution often works best compared to setting off most of the fancy features.

reply to this message

#15215: Other Options to Quadropolis

by FatFreddy on 11/06/2014 06:56

Hi there, can somebody tell me if there is another Community for Maps (Quadropolis is down) .... it does not matter if the Community in English or German.

Thanks for your help

Regards

FatFreddy

reply to this message

#15216: Re: Other Options to Quadropolis

by suicizer03 on 11/06/2014 12:27, refers to #15215

It isn't down at all?

reply to this message

#15217: sauerbraten installing doesnt work

by Timtimelo on 11/11/2014 15:31

I'm new to sauerbraten and wanted to install it today. but now the problem is that whenever i install it with the normal installer it will complete but when i look in the maps it should be there is nothing or it says that the map doesnt exist. please help i want to play sauerbraten

reply to this message

#15219: Cube 1 Soundtrack

by meirerion on 11/22/2014 21:08

I actually really enjoyed cube's soundtrack.
Is there anyway I can retrieve it?

Have a nice shoot

reply to this message

#15220: Re: Cube 1 Soundtrack

by suicizer03 on 11/22/2014 21:20, refers to #15219

Install Cube Engine and Sauerbraten, copy-paste the sound-tracks over and rename them or make a script which let it play more than 9 sounds.

reply to this message

#15221: bumpmap help

by Timakrov_Gunn on 12/03/2014 06:42

I have an md3 weapon model all set and ready to be used in Sauerbraten, with the exception of a bumpmap. Now, I tried to make a bumpmap for the weapon, and fixed up the cfg for it, but when I go to play the game and turn bumpmaps on, it crashes. I don't know what I did wrong. What do I need to do to make a bumpmap work, particularly for an md3 model? I feel like I missed something.

reply to this message

#15222: Re: bumpmap help

by suicizer03 on 12/03/2014 12:26, refers to #15221

You probably haven't specified the path towards the bumpmapped texture incorrectly.
Perhaps care to share the model with cfg?

reply to this message

#15223: Re: bumpmap help

by Timakrov_Gunn on 12/03/2014 19:30, refers to #15222

md3load chaing.md3
md3pitch 1 -1
md3skin hudarms ../upper.png ../upper_mask.png
md3skin A A.png Am.png
md3skin B B.png Bm.png
md3skin C C.png Cm.png
md3skin D D.png Dm.png
md3skin E E.png Em.png

md3bumpmap A Ab.png
md3bumpmap B Bb.png
md3bumpmap C Cb.png
md3bumpmap D Db.png
md3bumpmap E Eb.png

md3anim "gun idle" 0 1
md3anim "gun shoot" 0 5 80

mdlscale 20
mdlenvmap 1 1 skyboxes/clouds
mdltrans 0 0 0

reply to this message

#15224: Re: bumpmap help

by Timakrov_Gunn on 12/03/2014 21:20

Apoligies. Misunderstood that. I'll put my model on Quadropolis in a moment with a link.

reply to this message

Go to first 20 messagesGo to previous 20 messages    Board Index    Go to next 20 messagesGo to last 20 messages


Post a Message

Username

Email

Subject

Body

5 plus 2 is?


content by Aardappel & eihrul © 2001-2021
website by SleepwalkR © 2001-2021
42366551 visitors requested 58071979 pages
page created in 0.130 seconds using 9 queries
hosted by Boost Digital