Error supertuxkart current

Error supertuxkart current

Postby modz » 26 Nov 2014, 06:32

hi,

I'm using Fedora 20 x86_64.
i got this error when finished compile.

[info ] [FileManager]: Data files will be fetched from: '/usr/local/share/supertuxkart/data/'
[info ] [FileManager]: User directory is '/home/<myuser>/.config/supertuxkart/0.8.2/'.
[info ] [FileManager]: Addons files will be stored in '/home/<myuser>/.local/share/supertuxkart/addons/'.
[info ] [FileManager]: Screenshots will be stored in '/home/<myuser>/.cache/supertuxkart/screenshots/'.
[info ] [FileManager]: User-defined grand prix will be stored in '/home/<myuser>/.local/share/supertuxkart/grandprix/'.
[warn ] [FileManager]: Directory 'challenges' not found, aborting.
[warn ] [FileManager]: Directory 'fonts' not found, aborting.
[warn ] [FileManager]: Directory 'gfx' not found, aborting.
[warn ] [FileManager]: Directory 'grandprix' not found, aborting.
[warn ] [FileManager]: Directory 'gui' not found, aborting.
[warn ] [FileManager]: Directory 'library' not found, aborting.
[warn ] [FileManager]: Directory 'models' not found, aborting.
[warn ] [FileManager]: Directory 'music' not found, aborting.
[warn ] [FileManager]: Directory 'tracks' not found, aborting.
[warn ] [FileManager]: Directory 'sfx' not found, aborting.
[warn ] [FileManager]: Directory 'shaders' not found, aborting.
[warn ] [FileManager]: Directory 'skins' not found, aborting.
[warn ] [FileManager]: Directory 'textures' not found, aborting.
[warn ] [FileManager]: Directory 'po' not found, aborting.
[fatal ] [FileManager]: Not all assets found - aborting.


how to fix it?

thanks.
AMD Vishera FX-8350
MSI 970-Gaming
RAM 8GB DDR3 dual-channel
VGA HIS Radeon R9 270X 2GB 256bit DDR5

### STK fans ###
modz
 
Posts: 49
Joined: 20 May 2011, 04:49

Re: Error supertuxkart current

Postby deve » 26 Nov 2014, 08:20

It doesn't find any data files. As first how do you start it? Directry from source tree (./build/bin/supertuxkart) or after make install command?

Do you have these directories in /usr/local/share/supertuxkart/data/? Maybe this directory is clean because you had previously installed other STK version and this time you didn't use make install at all? If these directories (challenges, fonts, gfx etc.) are there, this is probably bug in STK.

STK searches assets in few places: ./data, ../data, PREFIX/share/supertuxkart/data, and probably ../stk-assets too (I don't remember). If you want only make it work, then copy whole data to ./data directory.
deve
 
Posts: 268
Joined: 23 Jan 2014, 13:45

Re: Error supertuxkart current

Postby modz » 26 Nov 2014, 08:36

hi deve,

here my compiling step.
- stk directory
|
|
- stk-code
- stk-assets
- cmake_build

$ cd stk/cmake_build
$ cmake ..
$ make -j2
--- after finish ----
$ cd bin
$ ./supertuxkart
AMD Vishera FX-8350
MSI 970-Gaming
RAM 8GB DDR3 dual-channel
VGA HIS Radeon R9 270X 2GB 256bit DDR5

### STK fans ###
modz
 
Posts: 49
Joined: 20 May 2011, 04:49

Re: Error supertuxkart current

Postby deve » 26 Nov 2014, 09:02

It should be something like this:
> supertuxkart
>>> stk-code
>>>>>> build
>>>>>> data
>>>>>> ...
>>> stk-assets

cd supertuxkart/stk-code/build
cmake ..
make -j2

and after finish
cd ..
./build/bin/supertuxkart

stk-code must be base directory when you execute supertuxkart because it expects that data files will be in ./data directory.

If stk-assets won't be find automatically in ../stk-assets, then just copy "karts", "tracks" etc. directories to ./data dir. But it should find it...

Or simply use make install ;)
deve
 
Posts: 268
Joined: 23 Jan 2014, 13:45

Who is online

Users browsing this forum: No registered users and 1 guest