[hlcoders] I fail at linux - Directory help and base files help.
-- [ Picked text/plain from multipart/alternative ] I finnaly got xerces built(I think) but now i'm having other troubles. From my make log: gcc: /bin/tier0_i486.so: No such file or directory gcc: /bin/vstdlib_i486.so: No such file or directory Where are theese files located anyway? I'm also having problems with this. gcc: /usr/lib/gcc/i386-redhat-linux/3.4.2/libstdc++.a: No such file or directory gcc: /usr/lib/gcc/i386-redhat-linux/3.4.2/libgcc_eh.a: No such file or directory http://img345.imageshack.us/img345/9059/screenshot1filefoundsearchforf.png Any ideas or help? I am also enclosing my full compile log if anybody can see any other errors. [EMAIL PROTECTED] linux_sdk]# make if [ -z /usr/local/bin/gcc ]; then echo Compiler not defined.; exit; fi if [ ! -d . ];then mkdir .;fi cd . make -f Makefile.vcpm CC=/usr/local/bin/gcc CPLUS=/usr/bin/g++ CPP_LIB=/usr/lib /gcc/i386-redhat-linux/3.4.2/libstdc++.a /usr/lib/gcc/i386-redhat-linux/3.4.2/li bgcc_eh.a BUILD_DIR=. BUILD_OBJ_DIR=./obj SOURCE_DIR=.. SHLIBLDFLAGS=-shared -W l,-Map,vcpm_map.txt -Wl SHLIBEXT=so CLINK=/usr/bin/gcc CFLAGS= -mtune=i686 -ma rch=pentium -mmmx -O3 -fpermissive -D_LINUX -DNDEBUG -Dstricmp=strcasecmp -D_str icmp=strcasecmp -D_strnicmp=strncasecmp -Dstrnicmp=strncasecmp -D_snprintf=snpri ntf -D_vsnprintf=vsnprintf -D_alloca=alloca -Dstrcmpi=strcasecmp -Usprintf=use_Q _snprintf_instead_of_sprintf -Ustrncpy=use_Q_strncpy_instead -UPROTECTED_THINGS_ ENABLE LDFLAGS=-lm -ldl /tier0_i486.so /vstdlib_i486.so ARCH=i486 GAME_DIR= M OD_CONFIG=hl_ReleaseSDKWin32 NAME=osp XERCES_INC_DIR=/root/xerces-c-src_2_6_0/in clude XERCES_LIB_DIR=/root/xerces-c-src_2_6_0/lib make[1]: Entering directory `/root/src/linux_sdk' mkdir ./obj mkdir: cannot create directory `./obj': File exists make[1]: [dirs] Error 1 (ignored) mkdir ./obj/vcpm mkdir: cannot create directory `./obj/vcpm': File exists make[1]: [dirs] Error 1 (ignored) mkdir ./obj/vcpm/public mkdir: cannot create directory `./obj/vcpm/public': File exists make[1]: [dirs] Error 1 (ignored) /usr/bin/gcc -o ./vcpm ./obj/vcpm/makefilecreator.o ./obj/vcpm/vprojtomake.o ./ obj/vcpm/vcprojconvert.o ./obj/vcpm/public/characterset.o ./obj/vcpm/public/int erface.o ./obj/vcpm/public/KeyValues.o ./obj/vcpm/public/utlbuffer.o ./obj/vcpm/ public/utlsymbol.o /usr/lib/gcc/i386-redhat-linux/3.4.2/libstdc++.a /usr/lib/gc c/i386-redhat-linux/3.4.2/libgcc_eh.a -lm -ldl -L/root/xerces-c-src_2_6_0/lib -l xerces-c /bin/tier0_i486.so /bin/vstdlib_i486.so gcc: /usr/lib/gcc/i386-redhat-linux/3.4.2/libstdc++.a: No such file or directory gcc: /usr/lib/gcc/i386-redhat-linux/3.4.2/libgcc_eh.a: No such file or directory gcc: /bin/tier0_i486.so: No such file or directory gcc: /bin/vstdlib_i486.so: No such file or directory make[1]: *** [vcpm] Error 1 make[1]: Leaving directory `/root/src/linux_sdk' make: *** [vcpm] Error 2 -- - Ben Davison - http://www.shadow-phoenix.com -- ___ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders
Re: [hlcoders] I fail at linux - Directory help and base files help.
Ben Davison wrote: -- [ Picked text/plain from multipart/alternative ] I finnaly got xerces built(I think) but now i'm having other troubles. From my make log: gcc: /bin/tier0_i486.so: No such file or directory gcc: /bin/vstdlib_i486.so: No such file or directory Where are theese files located anyway? I'm also having problems with this. gcc: /usr/lib/gcc/i386-redhat-linux/3.4.2/libstdc++.a: No such file or directory gcc: /usr/lib/gcc/i386-redhat-linux/3.4.2/libgcc_eh.a: No such file or directory You fail at reading too. From: http://developer.valvesoftware.com/wiki/Compiling_under_Linux it appears that you've not set a few variables in linux_sdk/makefile correctly, namely: GAME_DIR - this is why it can't find tier0_i486.so, vstdlib_i486.so CC,CPLUS,CLINK,CPP_LIB - You need to point the makefile at the right location of all these things. Where they exist is highly variable based on what distro you're using. John. -- John Beranek To generalise is to be an idiot. http://redux.org.uk/ -- William Blake ___ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders
Re: [hlcoders] I fail at linux - Directory help and base files help.
-- [ Picked text/plain from multipart/alternative ] I should of put my makefile aswell(I had changed it) So where do I actually get the game files? From the windows install? # the name of the mod binary (_i486.so is appended to the end) NAME=mod # the location of the vcproj that builds the mod MOD_PROJ=../dlls/hl_sdk.vcproj # the name of the mod configuration (typically proj name_build typebuild target) MOD_CONFIG=hl_ReleaseSDKWin32 # the directory the base binaries (tier0_i486.so, etc) are located GAME_DIR=/root/src/ #GAME_DIR=~/valve/hl2bin/ # compiler options (gcc 3.4.1 or above is required) CC=/usr/bin/gcc CPLUS=/usr/bin/g++ CLINK=/usr/bin/gcc CPP_LIB=/usr/lib/gcc/i386-redhat-linux/3.4.2/libstdc++.a /usr/lib/gcc/i386-redhat-linux/3.4.2/libgcc_eh.a # put any compiler flags you want passed here USER_CFLAGS= # link flags for your mod, make sure to include any special libraries here LDFLAGS=-lm -ldl $(GAME_DIR)/tier0_i486.so $(GAME_DIR)/vstdlib_i486.so Theese are all correct as far as I can tell(searched the system for them) On 7/25/05, John Beranek [EMAIL PROTECTED] wrote: Ben Davison wrote: -- [ Picked text/plain from multipart/alternative ] I finnaly got xerces built(I think) but now i'm having other troubles. From my make log: gcc: /bin/tier0_i486.so: No such file or directory gcc: /bin/vstdlib_i486.so: No such file or directory Where are theese files located anyway? I'm also having problems with this. gcc: /usr/lib/gcc/i386-redhat-linux/3.4.2/libstdc++.a: No such file or directory gcc: /usr/lib/gcc/i386-redhat-linux/3.4.2/libgcc_eh.a: No such file or directory You fail at reading too. From: http://developer.valvesoftware.com/wiki/Compiling_under_Linux it appears that you've not set a few variables in linux_sdk/makefile correctly, namely: GAME_DIR - this is why it can't find tier0_i486.so, vstdlib_i486.so CC,CPLUS,CLINK,CPP_LIB - You need to point the makefile at the right location of all these things. Where they exist is highly variable based on what distro you're using. John. -- John Beranek To generalise is to be an idiot. http://redux.org.uk/ -- William Blake ___ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders -- - Ben Davison - http://www.shadow-phoenix.com -- ___ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders
Re: [hlcoders] I fail at linux - Directory help and base files help.
-- [ Picked text/plain from multipart/alternative ] I'm also using fedora core 3. On 7/25/05, Ben Davison [EMAIL PROTECTED] wrote: I should of put my makefile aswell(I had changed it) So where do I actually get the game files? From the windows install? # the name of the mod binary (_i486.so is appended to the end) NAME=mod # the location of the vcproj that builds the mod MOD_PROJ=../dlls/hl_sdk.vcproj # the name of the mod configuration (typically proj name_build typebuild target) MOD_CONFIG=hl_ReleaseSDKWin32 # the directory the base binaries (tier0_i486.so, etc) are located GAME_DIR=/root/src/ #GAME_DIR=~/valve/hl2bin/ # compiler options (gcc 3.4.1 or above is required) CC=/usr/bin/gcc CPLUS=/usr/bin/g++ CLINK=/usr/bin/gcc CPP_LIB=/usr/lib/gcc/i386-redhat-linux/3.4.2/libstdc++.a /usr/lib/gcc/i386-redhat-linux/3.4.2/libgcc_eh.a # put any compiler flags you want passed here USER_CFLAGS= # link flags for your mod, make sure to include any special libraries here LDFLAGS=-lm -ldl $(GAME_DIR)/tier0_i486.so $(GAME_DIR)/vstdlib_i486.so Theese are all correct as far as I can tell(searched the system for them) On 7/25/05, John Beranek [EMAIL PROTECTED] wrote: Ben Davison wrote: -- [ Picked text/plain from multipart/alternative ] I finnaly got xerces built(I think) but now i'm having other troubles. From my make log: gcc: /bin/tier0_i486.so: No such file or directory gcc: /bin/vstdlib_i486.so: No such file or directory Where are theese files located anyway? I'm also having problems with this. gcc: /usr/lib/gcc/i386-redhat-linux/3.4.2/libstdc++.a: No such file or directory gcc: /usr/lib/gcc/i386-redhat-linux/3.4.2/libgcc_eh.a: No such file or directory You fail at reading too. From: http://developer.valvesoftware.com/wiki/Compiling_under_Linux it appears that you've not set a few variables in linux_sdk/makefile correctly, namely: GAME_DIR - this is why it can't find tier0_i486.so, vstdlib_i486.so CC,CPLUS,CLINK,CPP_LIB - You need to point the makefile at the right location of all these things. Where they exist is highly variable based on what distro you're using. John. -- John Beranek To generalise is to be an idiot. http://redux.org.uk/ -- William Blake ___ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders -- - Ben Davison - http://www.shadow-phoenix.com -- - Ben Davison - http://www.shadow-phoenix.com -- ___ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders
RE: [hlcoders] Some questions on map size/scale
You don't set it. You just build everything to that scale. Assets for HL2/cstrike/etc are built to 1 unit = 1 inch scale. If you want your mod to run at a different scale you will need to modify any HL2 assets you are using. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Kamran Sent: Friday, July 22, 2005 9:53 PM To: hlcoders@list.valvesoftware.com Subject: Re: [hlcoders] Some questions on map size/scale I would also like to know how to set this, however I doubt I will use it... but I've wondered about this too. Tim Holt wrote: Back to the original quote from the SDK FAQ... Mods can choose their own unit scale for the world. For example, 1 unit could be made to be equal to 1 foot, or to 1/10 of an inch. Physics will be adjusted accordingly, but collisions are only guaranteed to be accurate to 1/32nd of a unit. Physics, player view height, player bounding boxes, etc. That's the kind of scaling stuff that needs more than just me saying Make it so! Quoting Jeffrey \botman\ Broome [EMAIL PROTECTED]: Tim Holt wrote: Which leaves the part about setting the unit scale. Any pointers from anyone about where this is set? Scale is arbitrary. YOU decide what you want 1 unit to mean (centimeters, inches, feet, miles, etc.). -- Jeffrey botman Broome ___ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders -- Kamran A Get Firefox! Safer, Faster, Better. http://www.spreadfirefox.com/?q=affiliatesid=0t=85 Down with Internet Explorer! Say NO! to Spyware! Use Firefox ___ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders ___ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders
RE: [hlcoders] Some questions on map size/scale
Ah I was really expecting some one shot Scale it all with this value rather than overriding player size, POV height, movement speed, that kind of thing. Quoting Jay Stelly [EMAIL PROTECTED]: You don't set it. You just build everything to that scale. Assets for HL2/cstrike/etc are built to 1 unit = 1 inch scale. If you want your mod to run at a different scale you will need to modify any HL2 assets you are using. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Kamran Sent: Friday, July 22, 2005 9:53 PM To: hlcoders@list.valvesoftware.com Subject: Re: [hlcoders] Some questions on map size/scale I would also like to know how to set this, however I doubt I will use it... but I've wondered about this too. Tim Holt wrote: Back to the original quote from the SDK FAQ... Mods can choose their own unit scale for the world. For example, 1 unit could be made to be equal to 1 foot, or to 1/10 of an inch. Physics will be adjusted accordingly, but collisions are only guaranteed to be accurate to 1/32nd of a unit. Physics, player view height, player bounding boxes, etc. That's the kind of scaling stuff that needs more than just me saying Make it so! Quoting Jeffrey \botman\ Broome [EMAIL PROTECTED]: Tim Holt wrote: Which leaves the part about setting the unit scale. Any pointers from anyone about where this is set? Scale is arbitrary. YOU decide what you want 1 unit to mean (centimeters, inches, feet, miles, etc.). -- Jeffrey botman Broome ___ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders -- Kamran A Get Firefox! Safer, Faster, Better. http://www.spreadfirefox.com/?q=affiliatesid=0t=85 Down with Internet Explorer! Say NO! to Spyware! Use Firefox ___ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders ___ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders ___ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders
Re: [hlcoders] I fail at linux - Directory help and base files help.
Your Makefile is messed up. First, GAME_DIR is the location of your Steam SRCDC installation directory. That's where the tier0_i486.so, etc are. So you need the SRCDS installed on the computer you are compiling on, basically (I suppose you could just get the .so files in question from somewhere, but I'm not sure). . If those files are located, for example, /usr/local/games/steam/srcds/bin/(tier0_i486.so,vstdlib_i486.so), your Makefile should read like this: GAME_DIR=/usr/local/games/steam/srcds That will fix those No such file or directory errors (note: don't add the bin/ directory to that line, as commands later on append bin/ automatically). Your CPP_LIB line is weird. Is that spread over 2 lines? Verify its all on the same line. If you are using pico or nano or something it could be wordwrapping. And I guess both those files are in the same directory for you (on my systems they are in different places)? For the GCC/G++/etc yours are probably correct, you can make sure by typing which gcc and which g++, etc in a console. It tells you the path of where these files are. In fact, this will work too (note those are backticks, not quotes. It tells the computer to execute the command contained within and put the result there): CC=`which gcc` CPLUS=`which g++` CLINK=`which gcc` Make sure your Xerces paths are correct as well. XERCES_INC_DIR / XERCES_LIB_DIR. If you installed it manually, then its hard to say where you put it. But chances are you will get errors relating to xerces if you set it incorrectly. If you try compiling again and get this error: ./vcpm: error while loading shared libraries: tier0_i486.so: cannot open shared object file: No such file or directory Do this: export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:. This adds the current directory to the paths of where to look for libraries (ie, the .so files in question). Note that there is a colon(:) and period (.) at the end there. Very important since . represents the current directory. -Slash ___ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders
Re: [hlcoders] I fail at linux - Directory help and base files help.
-- [ Picked text/plain from multipart/alternative ] A quick Q. What game should I put in for the srcds -game paramenter? Hopefully so I can just download the needed files and not all the extra files that come with it. On 7/25/05, Slash [EMAIL PROTECTED] wrote: Your Makefile is messed up. First, GAME_DIR is the location of your Steam SRCDC installation directory. That's where the tier0_i486.so, etc are. So you need the SRCDS installed on the computer you are compiling on, basically (I suppose you could just get the .so files in question from somewhere, but I'm not sure). . If those files are located, for example, /usr/local/games/steam/srcds/bin/(tier0_i486.so,vstdlib_i486.so), your Makefile should read like this: GAME_DIR=/usr/local/games/steam/srcds That will fix those No such file or directory errors (note: don't add the bin/ directory to that line, as commands later on append bin/ automatically). Your CPP_LIB line is weird. Is that spread over 2 lines? Verify its all on the same line. If you are using pico or nano or something it could be wordwrapping. And I guess both those files are in the same directory for you (on my systems they are in different places)? For the GCC/G++/etc yours are probably correct, you can make sure by typing which gcc and which g++, etc in a console. It tells you the path of where these files are. In fact, this will work too (note those are backticks, not quotes. It tells the computer to execute the command contained within and put the result there): CC=`which gcc` CPLUS=`which g++` CLINK=`which gcc` Make sure your Xerces paths are correct as well. XERCES_INC_DIR / XERCES_LIB_DIR. If you installed it manually, then its hard to say where you put it. But chances are you will get errors relating to xerces if you set it incorrectly. If you try compiling again and get this error: ./vcpm: error while loading shared libraries: tier0_i486.so: cannot open shared object file: No such file or directory Do this: export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:. This adds the current directory to the paths of where to look for libraries (ie, the .so files in question). Note that there is a colon(:) and period (.) at the end there. Very important since . represents the current directory. -Slash ___ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders -- - Ben Davison - http://www.shadow-phoenix.com -- ___ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders
Re: [hlcoders] I fail at linux - Directory help and base files help.
You mean the steam updater? Run it once so it can update itself. ./steam SRCDS and HLDS have to be separated, so I usually put the steam updater in steam/ and then make a hlds/ and srcds/ directory within that directory. ./steam -command update -game hl2mp -dir srcds You only need the -dir for original installation. After that, you can just do ./steam -command update -game hl2mp. -Slash On 7/25/05, Ben Davison [EMAIL PROTECTED] wrote: -- [ Picked text/plain from multipart/alternative ] A quick Q. What game should I put in for the srcds -game paramenter? Hopefully so I can just download the needed files and not all the extra files that come with it. On 7/25/05, Slash [EMAIL PROTECTED] wrote: Your Makefile is messed up. First, GAME_DIR is the location of your Steam SRCDC installation directory. That's where the tier0_i486.so, etc are. So you need the SRCDS installed on the computer you are compiling on, basically (I suppose you could just get the .so files in question from somewhere, but I'm not sure). . If those files are located, for example, /usr/local/games/steam/srcds/bin/(tier0_i486.so,vstdlib_i486.so), your Makefile should read like this: GAME_DIR=/usr/local/games/steam/srcds That will fix those No such file or directory errors (note: don't add the bin/ directory to that line, as commands later on append bin/ automatically). Your CPP_LIB line is weird. Is that spread over 2 lines? Verify its all on the same line. If you are using pico or nano or something it could be wordwrapping. And I guess both those files are in the same directory for you (on my systems they are in different places)? For the GCC/G++/etc yours are probably correct, you can make sure by typing which gcc and which g++, etc in a console. It tells you the path of where these files are. In fact, this will work too (note those are backticks, not quotes. It tells the computer to execute the command contained within and put the result there): CC=`which gcc` CPLUS=`which g++` CLINK=`which gcc` Make sure your Xerces paths are correct as well. XERCES_INC_DIR / XERCES_LIB_DIR. If you installed it manually, then its hard to say where you put it. But chances are you will get errors relating to xerces if you set it incorrectly. If you try compiling again and get this error: ./vcpm: error while loading shared libraries: tier0_i486.so: cannot open shared object file: No such file or directory Do this: export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:. This adds the current directory to the paths of where to look for libraries (ie, the .so files in question). Note that there is a colon(:) and period (.) at the end there. Very important since . represents the current directory. -Slash ___ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders -- - Ben Davison - http://www.shadow-phoenix.com -- ___ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders ___ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders
Re: [hlcoders] I fail at linux - Directory help and base files help.
-- [ Picked text/plain from multipart/alternative ] So you have to download the whole of hl2mp to get those 2 files, crazy. Maybe valve should put an -game srcsdk ? On 7/25/05, Slash [EMAIL PROTECTED] wrote: You mean the steam updater? Run it once so it can update itself. ./steam SRCDS and HLDS have to be separated, so I usually put the steam updater in steam/ and then make a hlds/ and srcds/ directory within that directory. ./steam -command update -game hl2mp -dir srcds You only need the -dir for original installation. After that, you can just do ./steam -command update -game hl2mp. -Slash On 7/25/05, Ben Davison [EMAIL PROTECTED] wrote: -- [ Picked text/plain from multipart/alternative ] A quick Q. What game should I put in for the srcds -game paramenter? Hopefully so I can just download the needed files and not all the extra files that come with it. On 7/25/05, Slash [EMAIL PROTECTED] wrote: Your Makefile is messed up. First, GAME_DIR is the location of your Steam SRCDC installation directory. That's where the tier0_i486.so, etc are. So you need the SRCDS installed on the computer you are compiling on, basically (I suppose you could just get the .so files in question from somewhere, but I'm not sure). . If those files are located, for example, /usr/local/games/steam/srcds/bin/(tier0_i486.so,vstdlib_i486.so), your Makefile should read like this: GAME_DIR=/usr/local/games/steam/srcds That will fix those No such file or directory errors (note: don't add the bin/ directory to that line, as commands later on append bin/ automatically). Your CPP_LIB line is weird. Is that spread over 2 lines? Verify its all on the same line. If you are using pico or nano or something it could be wordwrapping. And I guess both those files are in the same directory for you (on my systems they are in different places)? For the GCC/G++/etc yours are probably correct, you can make sure by typing which gcc and which g++, etc in a console. It tells you the path of where these files are. In fact, this will work too (note those are backticks, not quotes. It tells the computer to execute the command contained within and put the result there): CC=`which gcc` CPLUS=`which g++` CLINK=`which gcc` Make sure your Xerces paths are correct as well. XERCES_INC_DIR / XERCES_LIB_DIR. If you installed it manually, then its hard to say where you put it. But chances are you will get errors relating to xerces if you set it incorrectly. If you try compiling again and get this error: ./vcpm: error while loading shared libraries: tier0_i486.so: cannot open shared object file: No such file or directory Do this: export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:. This adds the current directory to the paths of where to look for libraries (ie, the .so files in question). Note that there is a colon(:) and period (.) at the end there. Very important since . represents the current directory. -Slash ___ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders -- - Ben Davison - http://www.shadow-phoenix.com -- ___ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders ___ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders -- - Ben Davison - http://www.shadow-phoenix.com -- ___ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders
Re: [hlcoders] I fail at linux - Directory help and base files help.
Doesn't the SDK base depend on hl2mp? If you wanted to actually run a server after compiling your mod, you would probably need hl2mp files. By the way, a few people in the past (as well as myself) have gotten errors which are a result of not having the right versions of GCC. I am running GCC 3.4.3 and GLIBC 2.3.4 and I cannot compile under linux. Here is the error: In file included from /usr/lib/gcc/i686-pc-linux-gnu/3.4.3/../../../../include/c++/3.4.3/string:48, from ../dlls/../public/stdstring.h:26, from ../dlls/ai_playerally.h:18, from ../dlls/npc_talker.h:32, from ../dlls/npc_talker.cpp:10: /usr/lib/gcc/i686-pc-linux-gnu/3.4.3/../../../../include/c++/3.4.3/memory:77:62: macro max requires 2 arguments, but only 1 given If you see a bunch of errors like that after compiling for a while, I can't help you. There was an old message on the list and someone advised the other person to get the exact versions that Valve recommends to fix the problem. Fedora Core 3 comes with versions very close to the exact ones recommended, hopefully you will be OK. I was just trying to compile the SDK as a favor to someone, so I didn't bother getting the right versions and trying again because I'm lazy (but perhaps I'll try on a computer that isn't my desktop) :) -Slash On 7/25/05, Ben Davison [EMAIL PROTECTED] wrote: -- [ Picked text/plain from multipart/alternative ] So you have to download the whole of hl2mp to get those 2 files, crazy. Maybe valve should put an -game srcsdk ? ___ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders
Re: [hlcoders] I fail at linux - Directory help and base files help.
-- [ Picked text/plain from multipart/alternative ] Ok I know have the files but i'm still having problems(me and linux don't mix) Here is my GAME_DIR GAME_DIR=/root/srcds_l/srcds Here is my LDFLAGS LDFLAGS=-lm -ldl $(GAME_DIR)/bin/tier0_i486.so $(GAME_DIR)/bin/vstdlib_i486.so And here according to the linux file manager are the files. http://img94.imageshack.us/img94/129/screenshotbin7mo.png Any ideas? On 7/25/05, Slash [EMAIL PROTECTED] wrote: Doesn't the SDK base depend on hl2mp? If you wanted to actually run a server after compiling your mod, you would probably need hl2mp files. By the way, a few people in the past (as well as myself) have gotten errors which are a result of not having the right versions of GCC. I am running GCC 3.4.3 and GLIBC 2.3.4 and I cannot compile under linux. Here is the error: In file included from /usr/lib/gcc/i686-pc-linux-gnu/3.4.3/../../../../include/c++/3.4.3/string:48, from ../dlls/../public/stdstring.h:26, from ../dlls/ai_playerally.h:18, from ../dlls/npc_talker.h:32, from ../dlls/npc_talker.cpp:10: /usr/lib/gcc/i686-pc-linux-gnu/3.4.3/../../../../include/c++/3.4.3/memory:77:62: macro max requires 2 arguments, but only 1 given If you see a bunch of errors like that after compiling for a while, I can't help you. There was an old message on the list and someone advised the other person to get the exact versions that Valve recommends to fix the problem. Fedora Core 3 comes with versions very close to the exact ones recommended, hopefully you will be OK. I was just trying to compile the SDK as a favor to someone, so I didn't bother getting the right versions and trying again because I'm lazy (but perhaps I'll try on a computer that isn't my desktop) :) -Slash On 7/25/05, Ben Davison [EMAIL PROTECTED] wrote: -- [ Picked text/plain from multipart/alternative ] So you have to download the whole of hl2mp to get those 2 files, crazy. Maybe valve should put an -game srcsdk ? ___ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders -- - Ben Davison - http://www.shadow-phoenix.com -- ___ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders
Re: [hlcoders] I fail at linux - Directory help and base files help.
Paste the error. If you verified that /root/srcds_l/srcds/bin/tier0_i486.so and /root/srcds_l/srcds/bin/vstdlib_i486.so exist, then there is something else wrong. You shouldnt have to edit LDFLAGS. -Slash ___ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders
Re: [hlcoders] I fail at linux - Directory help and base files help.
-- [ Picked text/plain from multipart/alternative ] gcc: /bin/tier0_i486.so: No such file or directory gcc: /bin/vstdlib_i486.so: No such file or directory On 7/26/05, Slash [EMAIL PROTECTED] wrote: Paste the error. If you verified that /root/srcds_l/srcds/bin/tier0_i486.so and /root/srcds_l/srcds/bin/vstdlib_i486.so exist, then there is something else wrong. You shouldnt have to edit LDFLAGS. -Slash ___ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders -- - Ben Davison - http://www.shadow-phoenix.com -- ___ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders
Re: [hlcoders] I fail at linux - Directory help and base files help.
Clearly your GAME_DIR is not correct. I assume you also compiling as root so it can access the /root/ folder? Do you have more than one GAME_DIR? Is one commented? Is the wrong one commented? Look, if I change the GAME_DIR to a directory above the correct one, here is the error: gcc: /home/slash/steam/bin/tier0_i486.so: No such file or directory gcc: /home/slash/steam/bin/vstdlib_i486.so: No such file or directory Note the full path. Yours says /bin/, not /root/srcds_l/srcds/bin/ like it should be. It's looking in /bin/ for the libraries. Why? Please check the makefile again. -Slash On 7/25/05, Ben Davison [EMAIL PROTECTED] wrote: -- [ Picked text/plain from multipart/alternative ] gcc: /bin/tier0_i486.so: No such file or directory gcc: /bin/vstdlib_i486.so: No such file or directory On 7/26/05, Slash [EMAIL PROTECTED] wrote: Paste the error. If you verified that /root/srcds_l/srcds/bin/tier0_i486.so and /root/srcds_l/srcds/bin/vstdlib_i486.so exist, then there is something else wrong. You shouldnt have to edit LDFLAGS. -Slash ___ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders -- - Ben Davison - http://www.shadow-phoenix.com -- ___ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders ___ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders