This is a multi-part message in MIME format.
--
[ Picked text/plain from multipart/alternative ]
Hi there,

I'm Jeroen Baert from the ND team, and I'm having a bit of trouble with
the linux compile.

My compile setup: Ubuntu 7.04 with GCC 3.4 and Xerces from the
repositories (version numbers are OK).

The relevant makefile settings:

----

# the name of the mod binary (_i486.so is appended to the end)
NAME=NuclearDawnServer

# 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
type><build target>)
MOD_CONFIG=hl_DebugHL2MPWin32

# the directory the base binaries (tier0_i486.so, etc) are located
#GAME_DIR=../../
GAME_DIR=/home/jeroen/rommel/srcds_l

CC=/usr/bin/gcc-3.4
CPLUS=/usr/bin/g++-3.4
CLINK=/usr/bin/gcc-3.4
CPP_LIB="/usr/lib/gcc/i486-linux-gnu/3.4.6/libstdc++.a
/usr/lib/gcc/i486-linux-gnu/3.4.6/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)/bin/tier0_i486.so
$(GAME_DIR)/bin/vstdlib_i486.so mathlib_i486.a choreoobjects_i486.a
tier1_i486.a"

# if you have xerces installed already you should be able to use the two
lines below
XERCES_INC_DIR=/usr/include
XERCES_LIB_DIR=/usr/lib

---

VCPM tool compiles and starts it's run, but the makefile it spits out
(Makefile.hl_DebugHL2MPWin32)
contains a weird error which causes the following commands to fail:

/usr/bin/g++-3.4 -w -I../dlls/../game_shared/hl2 -I../dlls/.
-I../dlls/../public -I../dlls/../public/tier1 -I../dlls/../game_shared
-I../dlls/../utils/common -I../dlls/../dlls -I../dlls/../../dlls
-I../dlls/../dlls/hl2_dll -I../dlls/../dlls/hl2mp_dll
-I../dlls/../game_shared/hl2mp;./episodic -DHL2_EPISODIC -DHL2MP
-DHL2_DLL -DUSES_SAVERESTORE -D_DEBUG -Dfopen=dont_use_fopen -DGAME_DLL
-Dsprintf=use_Q_snprintf_instead_of_sprintf -DVECTOR
-Dstrncpy=use_Q_strncpy_instead -D_snprintf=use_Q_snprintf_instead
-DPROTECTED_THINGS_ENABLE  -mtune=i686 -march=pentium3 -mmmx -O3
-fpermissive -D_LINUX -DNDEBUG -Dstricmp=strcasecmp
-D_stricmp=strcasecmp -D_strnicmp=strncasecmp -Dstrnicmp=strncasecmp
-D_snprintf=snprintf -D_vsnprintf=vsnprintf -D_alloca=alloca
-Dstrcmpi=strcasecmp -Usprintf=use_Q_snprintf_instead_of_sprintf
-Ustrncpy=use_Q_strncpy_instead -UPROTECTED_THINGS_ENABLE -o
obj/NuclearDawnServer_i486/dlls/stdafx.o -c ../dlls/stdafx.cpp
g++-3.4: no input files
/bin/sh: ./episodic: not found

of course, ./episodic doesn't exist. It must be ../dll/episodic. But why
o why does VCPM generate such jibber-jabber ?

Thanks in advance,

Jeroen
--

_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives, please 
visit:
http://list.valvesoftware.com/mailman/listinfo/hlcoders

Reply via email to