07-22-2007, 09:09 AM | #1 |
Join Date: Mar 2007
Posts Rated Helpful 0 Times
|
Linux compiling
Question to the dev team, how the hell did you manage to compile your mod on linux?
we tried a lot Distro's, including fedora 4 and 5, Linux XP, Cent OS 5, Slackware 11, .. but we didn't get a single one working. slackware 11 got further than any other: it gets to a file called generatemakefile.cpp and then it stops, and complains about syntax errors in that file |
|
07-22-2007, 10:52 AM | #2 | |
Custom mapper
Join Date: Mar 2007
Posts Rated Helpful 0 Times
|
Quote:
|
|
|
07-22-2007, 11:28 AM | #3 |
Join Date: Mar 2007
Posts Rated Helpful 0 Times
|
Maybe this will help: http://developer.valvesoftware.com/w...ng_under_Linux
Last edited by pizzahut; 07-23-2007 at 01:29 AM. |
|
07-22-2007, 08:09 PM | #4 | |
Retired FF Staff
|
Quote:
|
|
|
07-23-2007, 03:18 AM | #5 |
Join Date: Mar 2007
Posts Rated Helpful 0 Times
|
Linux dependincies are a biiiiiiiiiiiiiittttch.
Make sure you get a distro with app management. Debian/ubuntu is the best in that department. Apt get rules. Still, you need to know what deps it has to be able to get them. |
|
07-23-2007, 01:07 PM | #6 | ||
Join Date: Mar 2007
Posts Rated Helpful 0 Times
|
i have what i need, i only get cpp errors and he complains that he can't find xercesc/include/dom/AFILE.hpp
for what i know: the path is relative, and there is no $XERCESCROOT in front of it so it looks like an error in the cpp file valve provided. Here's the compiler's output: Quote:
Quote:
|
||
|
07-23-2007, 01:49 PM | #7 |
Join Date: Mar 2007
Posts Rated Helpful 0 Times
|
Could be that you need an older (or newer, if your distro is old) c++/g++ version.
can get lots of compiling errors if your using the newest versions and a program was made to compile on an older version. |
|
07-23-2007, 04:42 PM | #8 | |
Join Date: Mar 2007
Posts Rated Helpful 0 Times
|
Quote:
|
|
|
08-08-2007, 05:24 PM | #9 |
Join Date: Mar 2007
Posts Rated Helpful 0 Times
|
OK, we compiled our SO file, so what now, if we put it in our game dir along with the other files we and we start
./srcds_run -game synergy -map syn_apprehension it loads a game of hl2mp (game.dll loaded for half life 2 deathmatch) and if i try to get some information on hlsw about that server on port 27015 i get a timeout :s (only our coder gets his server to run with game.dll loaded for synergy :P) and why is our so file 20mb? we tried to create the version_script like the mention on the developers wiki. Last edited by stino; 08-08-2007 at 07:28 PM. |
|
08-08-2007, 11:26 PM | #10 |
[AE] 0112 Ihmhi *SJB
Wiki Team
Fortress Forever Staff |
Okay, since no one asked, what game is this for anyway?
__________________
Anime: The Thread: Reloaded The one and only anime thread on these here forums. Select the pistol, and then, select your horse. |
|
08-09-2007, 08:48 PM | #11 | |
Retired FF Staff
|
Quote:
|
|
|
08-10-2007, 07:22 PM | #12 | |||
Join Date: Mar 2007
Posts Rated Helpful 0 Times
|
Quote:
Quote:
Last edited by pizzahut; 08-17-2007 at 11:27 AM. |
|||
|
08-13-2007, 04:18 PM | #13 |
Join Date: Mar 2007
Posts Rated Helpful 0 Times
|
never mind, got it working, my next problem now is that i can't launch a map, so how do i debug linux dump files, (like mdmp on windows ..)
|
|
08-16-2007, 06:09 PM | #14 | |
Join Date: Mar 2007
Posts Rated Helpful 5 Times
|
Quote:
|
|
|
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|