Posts: 4
Threads: 1
Joined: Mar 2012
Thanks: 0
Given 0 thank(s) in 0 post(s)
Hello, I wish to play in AssaultCube just to kill boring evenings but i got strange error :
Code: Your platform does not have a pre-compiled Cube client.
Please follow the following steps to build a native client:
1) Ensure you have the SDL, SDL-image, OpenAL, and OpenGL libraries installed.
2) Change directory to source/src/ and type "make install".
3) If the build succeeds, return to this directory and run this script again.
I did what was written on site to..
Code: sudo apt-get install libsdl1.2debian-all libsdl-image1.2 libsdl-ttf2.0-0 libopenal1
And i cant find source/src folder
ls from AssaultCube directory:
Code: assaultcube.sh demos mods screenshots
bin_unix docs packages server.sh
config install_desktop_menu.sh README.html server_wizard.sh
Greetings,
jils
Posts: 3,462
Threads: 72
Joined: Jun 2010
Thanks: 5
Given 3 thank(s) in 3 post(s)
If you look here: http://sourceforge.net/projects/actionga...201.1.0.4/
you will see the source package at the bottom.
GL
Posts: 156
Threads: 7
Joined: Jun 2010
Thanks: 0
Given 0 thank(s) in 0 post(s)
27 Mar 12, 07:32PM
(This post was last modified: 27 Mar 12, 07:35PM by Billybob.)
I think you may need to make the client binary executable.
Code: cd path/to/bin_unix/
chmod +x ac_client
Posts: 4
Threads: 1
Joined: Mar 2012
Thanks: 0
Given 0 thank(s) in 0 post(s)
27 Mar 12, 07:48PM
(This post was last modified: 27 Mar 12, 09:04PM by jils.)
Ronald_Reagan Wrote:If you look here: http://sourceforge.net/projects/actionga...201.1.0.4/
you will see the source package at the bottom.
GL Thanks for replay, I have untared it. Copied to my AssaultCube directory but still i have problems with it. I get some errors in make install posted below :
Code: jils@admin:~/Pobrane/Z googleCHROME/1.1.0.4/source/src$ make install
make -C ../enet all
make[1]: Wejście do katalogu `/home/jils/Pobrane/Z googleCHROME/1.1.0.4/source/enet'
make[1]: Nie ma nic do zrobienia w `all'.
make[1]: Opuszczenie katalogu `/home/jils/Pobrane/Z googleCHROME/1.1.0.4/source/enet'
g++ -O3 -fomit-frame-pointer -Wall -fsigned-char -rdynamic -I. -Ibot -I../enet/include -I/usr/include `sdl-config --cflags` -idirafter ../include -o cube.h.gch.tmp cube.h
/bin/sh: sdl-config: not found
In file included from ../include/SDL_stdinc.h:30,
from ../include/SDL_main.h:26,
from ../include/SDL.h:30,
from platform.h:46,
from cube.h:7:
../include/SDL_config.h:42:32: error: SDL_config_minimal.h: Nie ma takiego pliku ani katalogu
In file included from ../include/ogg/ogg.h:24,
from ../include/vorbis/codec.h:26,
from ../include/vorbis/vorbisfile.h:27,
from platform.h:69,
from cube.h:7:
../include/ogg/os_types.h:123:32: error: ogg/config_types.h: Nie ma takiego pliku ani katalogu
In file included from ../include/vorbis/codec.h:26,
from ../include/vorbis/vorbisfile.h:27,
from platform.h:69,
from cube.h:7:
../include/ogg/ogg.h:55: error: expected ‘;’ before ‘*’ token
../include/ogg/ogg.h:72: error: ‘ogg_int64_t’ does not name a type
../include/ogg/ogg.h:77: error: ‘ogg_int64_t’ does not name a type
../include/ogg/ogg.h:90: error: ‘ogg_int64_t’ does not name a type
../include/ogg/ogg.h:92: error: ‘ogg_int64_t’ does not name a type
../include/ogg/ogg.h:184: error: ‘ogg_int64_t’ does not name a type
In file included from ../include/vorbis/vorbisfile.h:27,
from platform.h:69,
from cube.h:7:
../include/vorbis/codec.h:77: error: ‘ogg_int64_t’ does not name a type
../include/vorbis/codec.h:78: error: ‘ogg_int64_t’ does not name a type
../include/vorbis/codec.h:80: error: ‘ogg_int64_t’ does not name a type
../include/vorbis/codec.h:81: error: ‘ogg_int64_t’ does not name a type
../include/vorbis/codec.h:82: error: ‘ogg_int64_t’ does not name a type
../include/vorbis/codec.h:83: error: ‘ogg_int64_t’ does not name a type
../include/vorbis/codec.h:100: error: ‘ogg_int64_t’ does not name a type
../include/vorbis/codec.h:101: error: ‘ogg_int64_t’ does not name a type
../include/vorbis/codec.h:180: error: ‘ogg_int64_t’ has not been declared
In file included from platform.h:69,
from cube.h:7:
../include/vorbis/vorbisfile.h:41: error: ‘ogg_int64_t’ has not been declared
../include/vorbis/vorbisfile.h:51: error: ‘ogg_int64_t’ has not been declared
../include/vorbis/vorbisfile.h:58: error: expected primary-expression before ‘int’
../include/vorbis/vorbisfile.h:58: error: expected ‘)’ before ‘int’
../include/vorbis/vorbisfile.h:61: error: too many initializers for ‘const ov_callbacks’
../include/vorbis/vorbisfile.h:65: error: expected primary-expression before ‘int’
../include/vorbis/vorbisfile.h:65: error: expected ‘)’ before ‘int’
../include/vorbis/vorbisfile.h:68: error: too many initializers for ‘const ov_callbacks’
../include/vorbis/vorbisfile.h:72: error: expected primary-expression before ‘int’
../include/vorbis/vorbisfile.h:72: error: expected ‘)’ before ‘int’
../include/vorbis/vorbisfile.h:75: error: too many initializers for ‘const ov_callbacks’
../include/vorbis/vorbisfile.h:79: error: expected primary-expression before ‘int’
../include/vorbis/vorbisfile.h:79: error: expected ‘)’ before ‘int’
../include/vorbis/vorbisfile.h:82: error: too many initializers for ‘const ov_callbacks’
../include/vorbis/vorbisfile.h:93: error: ‘ogg_int64_t’ does not name a type
../include/vorbis/vorbisfile.h:94: error: ‘ogg_int64_t’ does not name a type
../include/vorbis/vorbisfile.h:100: error: expected ‘;’ before ‘*’ token
../include/vorbis/vorbisfile.h:101: error: expected ‘;’ before ‘*’ token
../include/vorbis/vorbisfile.h:103: error: expected ‘;’ before ‘*’ token
../include/vorbis/vorbisfile.h:110: error: ‘ogg_int64_t’ does not name a type
../include/vorbis/vorbisfile.h:145: error: ‘ogg_int64_t’ does not name a type
../include/vorbis/vorbisfile.h:146: error: ‘ogg_int64_t’ does not name a type
../include/vorbis/vorbisfile.h:149: error: ‘ogg_int64_t’ has not been declared
../include/vorbis/vorbisfile.h:150: error: ‘ogg_int64_t’ has not been declared
../include/vorbis/vorbisfile.h:151: error: ‘ogg_int64_t’ has not been declared
../include/vorbis/vorbisfile.h:155: error: ‘ogg_int64_t’ has not been declared
../include/vorbis/vorbisfile.h:156: error: ‘ogg_int64_t’ has not been declared
../include/vorbis/vorbisfile.h:157: error: ‘ogg_int64_t’ has not been declared
../include/vorbis/vorbisfile.h:161: error: ‘ogg_int64_t’ does not name a type
../include/vorbis/vorbisfile.h:162: error: ‘ogg_int64_t’ does not name a type
make: *** [cube.h.gch] Błąd 1
@BillyBob, thanks for replay. But its still crashes.
I found in Sid repositories cl-sdl package is this some kind of replacement for SDL ?
I did install :
Code: ghc6 libaa1-dev libartsc0-dev libasound2-dev libaudio-dev libaudiofile-dev
libavahi-client-dev libavahi-common-dev libbsd-dev libcaca-dev libdbus-1-dev
libdirectfb-dev libdirectfb-extra libesd0-dev libffi-dev libfreetype6-dev
libghc6-sdl-dev libglib2.0-dev libgmp3-dev libgmpxx4ldbl libjpeg62-dev
libpng12-dev libpulse-browse0 libpulse-dev libsdl1.2-dev libslang2-dev
libsvga1-dev libsysfs-dev libxext-dev x11proto-xext-dev
But it still crashes qiu qiu.
Posts: 1,162
Threads: 19
Joined: Jun 2010
Thanks: 0
Given 0 thank(s) in 0 post(s)
27 Mar 12, 10:17PM
(This post was last modified: 27 Mar 12, 10:17PM by OpenSource.)
Dont remember what i had to do when i had that error.
If it was my GPU driver or if it was missing packages.
Try Code: sudo apt-get install libsdl1.2debian libsdl-image1.2 libsdl-mixer1.2
Linux Support - AssaultWiki
Posts: 1,436
Threads: 7
Joined: Jun 2010
Thanks: 0
Given 3 thank(s) in 2 post(s)
It might be that `uname` returns some weird stuff - what happens if you just run bin_unix/linux_client (or bin_unix/linux_64_client if you're on a 64-bit system) instead of assaultcube.sh?
If that fails: does Debian have separate development versions for the lib packages? If so, you'll need to install those as well (SDL stuff and OpenAL), then `make install` again.
Posts: 4
Threads: 1
Joined: Mar 2012
Thanks: 0
Given 0 thank(s) in 0 post(s)
DES|OpenSource Wrote:Dont remember what i had to do when i had that error.
If it was my GPU driver or if it was missing packages.
Try
Code:
sudo apt-get install libsdl1.2debian libsdl-image1.2 libsdl-mixer1.2
Linux Support - AssaultWiki I did it. I have this on my debian.
tempest Wrote:It might be that `uname` returns some weird stuff - what happens if you just run bin_unix/linux_client (or bin_unix/linux_64_client if you're on a 64-bit system) instead of assaultcube.sh?
The screen was black only for a moment, than disappeared.
tempest Wrote:If that fails: does Debian have separate development versions for the lib packages? If so, you'll need to install those as well (SDL stuff and OpenAL), then `make install` again.
Done, nothing changed. I have still the same errors when i am trying to source/src make install .
I really dont have idea what`s going on.
Posts: 1,436
Threads: 7
Joined: Jun 2010
Thanks: 0
Given 3 thank(s) in 2 post(s)
(27 Mar 12, 10:59PM)jils Wrote: The screen was black only for a moment, than disappeared.
Hmm, did you get any error message or anything else in the terminal output?
Posts: 4
Threads: 1
Joined: Mar 2012
Thanks: 0
Given 0 thank(s) in 0 post(s)
27 Mar 12, 11:14PM
(This post was last modified: 27 Mar 12, 11:15PM by jils.)
Yup i got this:
Code: current locale: pl_PL.UTF-8
init: sdl
init: net
init: world
init: video: sdl
init: video: mode
init: video: misc
init: gl
Renderer: Software Rasterizer (Mesa Project)
Driver: 2.1 Mesa 7.7.1
couldn't load texture packages/misc/notexture.jpg
could not find core textures (hint: run AssaultCube from the parent of the bin directory) (Couldn't open packages/misc/notexture.jpg)
And after using ./assaultcube from main directory i got :
Code: Your platform does not have a pre-compiled Cube client.
Please follow the following steps to build a native client:
1) Ensure you have the SDL, SDL-image, OpenAL, and OpenGL libraries installed.
2) Change directory to source/src/ and type "make install".
3) If the build succeeds, return to this directory and run this script again.
again..
Posts: 156
Threads: 7
Joined: Jun 2010
Thanks: 0
Given 0 thank(s) in 0 post(s)
Code: Driver: 2.1 Mesa 7.7.1
try proper graphics drivers.
Posts: 1,436
Threads: 7
Joined: Jun 2010
Thanks: 0
Given 3 thank(s) in 2 post(s)
I didn't mean you should do cd bin_unix; ./linux client. You have to run it from wherever assaultcube.sh is.
Code: bin_unix/linux_client
If that still gives the "could not find core textures" error, then the data files are missing or not in the correct location. Something I forgot to ask: did you install AC from he zip downloaded from Sourceforge, or through apt?
Posts: 3,462
Threads: 72
Joined: Jun 2010
Thanks: 5
Given 3 thank(s) in 3 post(s)
By the way, the client built from the source should be put in the package that you got before hand. The source is just source, no media.
|