home home

downloads files

forum forum

docs docs

wiki wiki

faq faq

Cube & Cube 2 FORUM


How can I get the SVN Sauerbraten in Linux?

by Forty two on 05/03/2009 07:43, 9 messages, last message: 05/03/2009 10:26, 2132 views, last view: 05/05/2024 15:28, closed on 05/03/2009 12:55

I know, most of you are going to tell me to wait a couple days till it gets released.
Here's the thing - I leave tomorrow night, with my laptop, to go overseas. (India FTW)
I won't have internet for about a year.

I was hoping to have the latest Sauerbraten on my computer by tomorrow evening, so I could leave with the new version.
I have searched my ASS off trying to find how to get the SVN edition, but I haven't been able to do it.

I am using Ubuntu 9.04.
I tried the SVN Co command, but that only listed the files in the repository.
Yeah, I actually wanted to download them.

I tried SmartSVN, which is a big package of bullshit.
I tried RapidSVN, which requires a Harvard library at hand to install.
I tried TurtoiseSVN, which refuses to work, even through Wine.

I am fairly new to Ubuntu, I don't know where to find stuff Subversion installs.

How can I do this?

Please reply soon with some useful info.
I'd really like to use the new sauer.

   Board Index   

#1: ..

by SheeEttin on 05/03/2009 07:56

http://sourceforge.net/scm/?type=svn&group_id=102911
The command there will dump SVN into a directory called sauerbraten in the PWD.

You'll need to install the libsdl development packages (probably libsdl1.2-dev and/or libsdl_mixer1.2-dev), and possibly others. If you don't have build-essential installed, install that.

You could probably just "sudo apt-get build-dep sauerbraten", but that might not get you the right dependencies. (I've never known it to.)

Cube 2, compared to some other projects, is pretty painless to build.

Also, depending on where you go, you might be able to find an unsecured wireless network you could borrow for a while.

reply to this message

#2: ..

by Forty two on 05/03/2009 09:14

Thanks a lot for your reply.
Ermm...What is the "PWD"?

reply to this message

#3: ..

by Forty two on 05/03/2009 09:19

I suddenly feel like an extreme dumbass.

PWD = Home folder.

reply to this message

#4: ..

by Forty two on 05/03/2009 09:23

So, I have the source I think.
Now what do I do to build it?

I have a fresh install of Ubuntu 9.04, with LibSDL1.2-dev.

reply to this message

#5: ..

by Forty two on 05/03/2009 09:48

Well, when I try to do \\\\\\\"Make\\\\\\\", or compile it through codeblocks, I get a bunch of errors.
I think GCC is my compiler.

Any ideas?

reply to this message

#6: ..

by Forty two on 05/03/2009 09:51

Well, the errors seem to mention a bunch of files such as:
SDL_stdinc.h blah blah blah
SDL_endien blah blah

Even though I should have everything I need.

reply to this message

#7: ..

by Forty two on 05/03/2009 09:53

INteresting, in the Sauerbraten.cbp file, there is no config related to unix. Could this be a problem?

Config:

#ifndef _SDL_config_h
#define _SDL_config_h

#include "SDL_platform.h"

/* Add any platform that doesn't build using the configure system */
#if defined(__DREAMCAST__)
#include "SDL_config_dreamcast.h"
#elif defined(__MACOS__)
#include "SDL_config_macos.h"
#elif defined(__MACOSX__)
#include "SDL_config_macosx.h"
#elif defined(__SYMBIAN32__)
#include "SDL_config_symbian.h" /* must be before win32! */
#elif defined(__WIN32__)
#include "SDL_config_win32.h"
#elif defined(__OS2__)
#include "SDL_config_os2.h"
#else
#include "SDL_config_minimal.h"
#endif /* platform config */

#endif /* _SDL_config_h */

reply to this message

#8: ..

by Forty two on 05/03/2009 10:01

Apparently, those are just include files, of course.

This is the output:
../include/SDL_stdinc.h|86|error: ‘uint8_t’ does not name a type|
../include/SDL_stdinc.h|88|error: ‘uint16_t’ does not name a type|
../include/SDL_stdinc.h|90|error: ‘uint32_t’ does not name a type|
../include/SDL_stdinc.h|100|error: ‘Uint32’ does not name a type|
../include/SDL_stdinc.h|101|error: ‘Uint32’ does not name a type|
../include/SDL_stdinc.h|109|error: ‘Uint8’ was not declared in this scope|
../include/SDL_stdinc.h|111|error: ‘Uint16’ was not declared in this scope|
../include/SDL_stdinc.h|113|error: ‘Uint32’ was not declared in this scope|
../include/SDL_stdinc.h|115|error: size of array ‘SDL_dummy_uint64’ is negative|
../include/SDL_stdinc.h|116|error: size of array ‘SDL_dummy_sint64’ is negative|
../include/SDL_endian.h|60|error: ‘Uint16’ does not name a type|
../include/SDL_endian.h|93|error: ‘Uint32’ does not name a type|
../include/SDL_mutex.h|84|warning: ‘SDL_CreateSemaphore’ initialized and declared ‘extern’|
../include/SDL_mutex.h|84|error: ‘Uint32’ was not declared in this scope|
../include/SDL_mutex.h|106|error: ‘Uint32’ has not been declared|
../include/SDL_mutex.h|114|error: ‘Uint32’ does not name a type|
../include/SDL_mutex.h|154|error: ‘Uint32’ has not been declared|
../include/SDL_thread.h|96|error: ‘Uint32’ does not name a type|
../include/SDL_thread.h|101|error: ‘Uint32’ does not name a type|
../include/SDL_rwops.h|63|error: ‘Uint32’ does not name a type|
../include/SDL_rwops.h|83|error: ISO C++ forbids declaration of ‘Uint8’ with no type|
../include/SDL_rwops.h|83|error: expected ‘;’ before ‘*’ token|
../include/SDL_rwops.h|84|error: ISO C++ forbids declaration of ‘Uint8’ with no type|
../include/SDL_rwops.h|84|error: expected ‘;’ before ‘*’ token|
../include/SDL_rwops.h|85|error: ISO C++ forbids declaration of ‘Uint8’ with no type|
../include/SDL_rwops.h|85|error: expected ‘;’ before ‘*’ token|
../include/SDL_rwops.h|122|error: ‘Uint16’ does not name a type|
../include/SDL_rwops.h|123|error: ‘Uint16’ does not name a type|
../include/SDL_rwops.h|124|error: ‘Uint32’ does not name a type|
../include/SDL_rwops.h|125|error: ‘Uint32’ does not name a type|
../include/SDL_rwops.h|130|error: ‘Uint16’ has not been declared|
../include/SDL_rwops.h|131|error: ‘Uint16’ has not been declared|
../include/SDL_rwops.h|132|error: ‘Uint32’ has not been declared|
../include/SDL_rwops.h|133|error: ‘Uint32’ has not been declared|
../include/SDL_audio.h|44|error: ‘Uint16’ does not name a type|
../include/SDL_audio.h|45|error: ‘Uint8’ does not name a type|
../include/SDL_audio.h|46|error: ‘Uint8’ does not name a type|
../include/SDL_audio.h|47|error: ‘Uint16’ does not name a type|
../include/SDL_audio.h|48|error: ‘Uint16’ does not name a type|
../include/SDL_audio.h|49|error: ‘Uint32’ does not name a type|
../include/SDL_audio.h|56|error: ‘Uint8’ has not been declared|
../include/SDL_audio.h|83|error: ‘Uint16’ does not name a type|
../include/SDL_audio.h|84|error: ‘Uint16’ does not name a type|
../include/SDL_audio.h|86|error: ISO C++ forbids declaration of ‘Uint8’ with no type|
../include/SDL_audio.h|86|error: expected ‘;’ before ‘*’ token|
../include/SDL_audio.h|91|error: ‘Uint16’ has not been declared|
../include/SDL_audio.h|190|error: ‘Uint8’ has not been declared|
../include/SDL_audio.h|190|error: ‘Uint32’ has not been declared|
../include/SDL_audio.h|199|warning: ‘SDL_FreeWAV’ initialized and declared ‘extern’|
../include/SDL_audio.h|199|error: variable or field ‘SDL_FreeWAV’ declared void|
../include/SDL_audio.h|199|error: ‘Uint8’ was not declared in this scope|
../include/SDL_audio.h|199|error: ‘audio_buf’ was not declared in this scope|
||More errors follow but not being shown.|
||Edit the max errors limit in compiler options...|
||=== Build finished: 50 errors, 2 warnings ===|

reply to this message

#9: ..

by Forty two on 05/03/2009 10:26

HAHA! Fixed!
I got pissed, opened Synaptic, and double-clicked everything that started with "Libsdl", and pressing "Make" through the console actually worked!

reply to this message

   Board Index   


Thread closed!

This thread has been closed, which is why you can't post any more messages in it.


content by Aardappel & eihrul © 2001-2024
website by SleepwalkR © 2001-2024
53872478 visitors requested 71647683 pages
page created in 0.011 seconds using 10 queries
hosted by Boost Digital