idle
-
Posts
42 -
Joined
-
Last visited
Posts posted by idle
-
-
In addition to all the othe packages the instructions mention i also ended up having to install:
pkg-config
libboost-system1.37-dev
And im not sure if its manditory (I had done it before i installed 1.37) but you may need to add:
ln -s /usr/lib/libboost_system-mt.so.1.37.0 /usr/lib/libboost_system-mt.so
*MUST the name be "libboost_system-mt.so" or is "libboost_system-mt.so.1.37.0" okay?*
Apparently some packages were left out, i was missing "-lboost_system-mt" and http://www.wildfiregames.com/forum/index.php?showtopic=12566 Only helped me to understand i need to install "libboost-system1.37-dev".
I hear the Build Instructions are very good, And i think its true
This was my first Successful build!
The symlink is usually created by ldconfig and if not (you may try to run ldconfig yourself) for whatever reason just create one.
"-lboost_system-mt" is like: link libboost_system-mt.so
-
Usually it isn't that difficult, at least as long as you have basic linux knowledge.
I suggest to try what janwas has already mentioned.
Try ./update-workspaces.sh --without-pch and build again (of course do a 'make clean' first).
-
ok i have done it. was it ok?
Please paste '~/trunk/build/workspaces/gcc/graphics.make'.
And also please do:
cd ~/trunk/build/workspaces
./update-workspaces.sh --verbose
cd gcc
make
-
please read what you type.
you tried to cd into /build which does not exist usually so you have to remove the slash.
cd ~/trunk
svn revert libraries/spidermonkey/src/build.sh
svn up
cd build/workspaces
CFLAGS="-I/usr/include/nspr" ./update-workspaces.sh
cd gcc
make
-
i have a conflict
salsero@salsero-laptop:~/trunk$ svn up
Konflikt in »libraries/spidermonkey/src/build.sh« entdeckt.
Auswahl: (p) zurückstellen, (df) voller Diff, (e) editieren,
(h) Hilfe für weitere Optionen:what sould i choose?
p
*EDIT
if you're at the point where you need to run ./update-workspaces.sh type this:
CFLAGS="-I/usr/include/nspr" ./update-workspaces.sh -
ok was that all ok?
Do it again with:
cd ~/trunk
svn up
cd build/workspaces
./update-workspaces.sh
cd gcc
make clean all
-
cd ../../..
svn up
cd build/workspaces
./update-workspaces.sh
cd gcc
make
-
Yeah, it looks good so far.
Now go into gcc/ and try building the game itself.
cd gcc
make -
Try this:
open 'libraries/spidermonkey/src/build.sh' with your editor.
take a look at line 33
change it from:
CFLAGS="`nspr-config --cflags` $no_common" \
to:
CFLAGS="-I/usr/include/nspr `nspr-config --cflags` $no_common" \
then go back into 'build/workspaces/'
and type again: ./update-workspaces.sh
-
Hi i get this report:
salsero@salsero-laptop:~$ CFLAGS="-I/usr/include/nspr" make
make: *** Keine Targets angegeben und keine »make«-Steuerdatei gefunden. Schluss.
salsero@salsero-laptop:~$ sudo CFLAGS="-I/usr/include/nspr" make
[sudo] password for salsero:
make: *** Keine Targets angegeben und keine »make«-Steuerdatei gefunden. Schluss.
salsero@salsero-laptop:~$
how can i install a new version? libnspr4-0d - 4.7.5 and libnspr4-dev is already installed.
darn! you should do that in the build dir of 0ad you already did that sometimes....
and you don't need to build as root!
-
hi,
i get this:
salsero@salsero-laptop:~$ nspr-config --cflags --libs
-I/usr/local/include/nspr
-L/usr/local/lib -lplds4 -lplc4 -lnspr4 -lpthread -ldl -lc -lpthread
so nspr-config has the wrong include path, please take a look at your distribution bug database and file a new bug if needed (except you've installed it yourself).
you can try this as workaround:
CFLAGS="-I/usr/include/nspr" makeor even install a newer version or so where this problem might be fixed.
-
try 1.36 with devel files.
-
If nspr has been installed, show me:
Run:
updatedb
locate pratom.h
locate prlock.h
locate prcvar.h -
Which boost version is installed?
-
I suggest vim, eclipse or even kdevelop4
-
If nspr has been installed, show me:
nspr-config --cflags --libs
Run:
updatedb
locate pratom.h
locate prlock.h
locate prcvar.h -
Try it again and we'll see
-
-
Oh, sry.. I meant libboost_system-mt.so
-
Install libboost, boost or libboost-dev.. however that may be called in ubuntu...
To ensure you got the right package try:
slocate libboost_filesystem-mt.so
or
locate libboost_filesystem-mt.so
You might run 'updatedb' first.
-
hm, that must be in libnspr or libnspr-dev or so.
jslock.h:45:20: Fehler: pratom.h: No such file or directory
jslock.h:46:20: Fehler: prlock.h: No such file or directory
jslock.h:47:20: Fehler: prcvar.h: No such file or directory
You need the files above from nspr.
-
(s)locate libboost_filesystem-mt.so
it might be good to run 'updatedb' first.
-
../../../source/ps/CStr.h:525: fatal error: can't write PCH file: No space left on device
So clean-up your homedir and try again
And please always do an export LC_MESSAGES=C if you open a new shell and want paste some logs etc.
-
cd ../
./update-workspaces.sh --verbose
cd gcc
make &> logand paste the log.
Game compiling errors
in Game Development & Technical Discussion
Posted
At least boost-1.37.0 contains this file and I'm sure 1.39.0 as well.
Did you set your boost profile properly?
Try:
eselect boost list
Pick the most recent version and set your profile.
E.g.:
eselect boost set 2