Compiling linux serverplugin
Hi,
can anybody explain how to compile the serverplugin on linux? |
Ok, i got the vcproj-file converted, but it still does not find some header-files.
any hints? thx for help Padi |
get the source sdk (on a windows machine)
create a new mod. copy the dir over to your linux machine. nearly everything should be there, including makefiles, you just need to install xerces-c (as described in the main Makefile) |
You got mail.
|
http://dackz.net/misc/code/serverplugin/ explains what I had to do to get it compiled. Granted, some of the things mentioned might not be the best way to do things, it still works regardless.
|
Nice guide - I would add something about the rpath change people have been doing to the dynamic linking portion.
Here: Code:
LDFLAGS="-lm -ldl bin/tier0_i486.so bin/vstdlib_i486.so" I'll sticky your link when I get enough links to go with it |
Hmm, with this:
Code:
LDFLAGS="-lm -ldl $(GAME_DIR)/bin/tier0_i486.so $(GAME_DIR)/bin/vstdlib_i486.so -rpath ." Code:
gcc-3.4: unrecognized option `-rpath' Edit: With "--rpath ." the unrecognized option goes away, but I still get: Code:
/usr/bin/ld: .: No such file: File format not recognized |
All times are GMT -4. The time now is 07:08. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.