Linux Please?
Thought by downloading the 3068 version the source code would be in there to work with. To our surprise, it wasn't!? You gonna leave us Linux guys out of this or what?
We finally figured out how to compile this in Linux, but now we needed the new code for 3068 so we can run the newest version.
There is what the problem was.
Code:
Makefile's first line reads:
CPP = g++-linux
Needs to read
CPP = g++
In this directory, just run 'make' in a terminal window and the file was created and made the Release directory and moved the .so file into it. Release/realbot_mm_i386.so.
Code:
[gameuser@babby source]$ make
g++ -Dstricmp=strcasecmp -D_strnicmp=strncasecmp -Dstrnicmp=strncasecmp -march=i386 -O2 -w -I"./hlsdk" -I"./hlsdk/common" -I"./hlsdk/dlls" -I"./hlsdk/engine" -I"./hlsdk/pm_shared" -I"./metamod" -c NodeMachine.cpp -o NodeMachine.o
g++ -Dstricmp=strcasecmp -D_strnicmp=strncasecmp -Dstrnicmp=strncasecmp -march=i386 -O2 -w -I"./hlsdk" -I"./hlsdk/common" -I"./hlsdk/dlls" -I"./hlsdk/engine" -I"./hlsdk/pm_shared" -I"./metamod" -c bot.cpp -o bot.o
g++ -Dstricmp=strcasecmp -D_strnicmp=strncasecmp -Dstrnicmp=strncasecmp -march=i386 -O2 -w -I"./hlsdk" -I"./hlsdk/common" -I"./hlsdk/dlls" -I"./hlsdk/engine" -I"./hlsdk/pm_shared" -I"./metamod" -c bot_buycode.cpp -o bot_buycode.o
g++ -Dstricmp=strcasecmp -D_strnicmp=strncasecmp -Dstrnicmp=strncasecmp -march=i386 -O2 -w -I"./hlsdk" -I"./hlsdk/common" -I"./hlsdk/dlls" -I"./hlsdk/engine" -I"./hlsdk/pm_shared" -I"./metamod" -c bot_client.cpp -o bot_client.o
g++ -Dstricmp=strcasecmp -D_strnicmp=strncasecmp -Dstrnicmp=strncasecmp -march=i386 -O2 -w -I"./hlsdk" -I"./hlsdk/common" -I"./hlsdk/dlls" -I"./hlsdk/engine" -I"./hlsdk/pm_shared" -I"./metamod" -c bot_func.cpp -o bot_func.o
g++ -Dstricmp=strcasecmp -D_strnicmp=strncasecmp -Dstrnicmp=strncasecmp -march=i386 -O2 -w -I"./hlsdk" -I"./hlsdk/common" -I"./hlsdk/dlls" -I"./hlsdk/engine" -I"./hlsdk/pm_shared" -I"./metamod" -c bot_navigate.cpp -o bot_navigate.o
g++ -Dstricmp=strcasecmp -D_strnicmp=strncasecmp -Dstrnicmp=strncasecmp -march=i386 -O2 -w -I"./hlsdk" -I"./hlsdk/common" -I"./hlsdk/dlls" -I"./hlsdk/engine" -I"./hlsdk/pm_shared" -I"./metamod" -c build.cpp -o build.o
g++ -Dstricmp=strcasecmp -D_strnicmp=strncasecmp -Dstrnicmp=strncasecmp -march=i386 -O2 -w -I"./hlsdk" -I"./hlsdk/common" -I"./hlsdk/dlls" -I"./hlsdk/engine" -I"./hlsdk/pm_shared" -I"./metamod" -c dll.cpp -o dll.o
g++ -Dstricmp=strcasecmp -D_strnicmp=strncasecmp -Dstrnicmp=strncasecmp -march=i386 -O2 -w -I"./hlsdk" -I"./hlsdk/common" -I"./hlsdk/dlls" -I"./hlsdk/engine" -I"./hlsdk/pm_shared" -I"./metamod" -c engine.cpp -o engine.o
g++ -Dstricmp=strcasecmp -D_strnicmp=strncasecmp -Dstrnicmp=strncasecmp -march=i386 -O2 -w -I"./hlsdk" -I"./hlsdk/common" -I"./hlsdk/dlls" -I"./hlsdk/engine" -I"./hlsdk/pm_shared" -I"./metamod" -c game.cpp -o game.o
g++ -Dstricmp=strcasecmp -D_strnicmp=strncasecmp -Dstrnicmp=strncasecmp -march=i386 -O2 -w -I"./hlsdk" -I"./hlsdk/common" -I"./hlsdk/dlls" -I"./hlsdk/engine" -I"./hlsdk/pm_shared" -I"./metamod" -c util.cpp -o util.o
g++ -Dstricmp=strcasecmp -D_strnicmp=strncasecmp -Dstrnicmp=strncasecmp -march=i386 -O2 -w -I"./hlsdk" -I"./hlsdk/common" -I"./hlsdk/dlls" -I"./hlsdk/engine" -I"./hlsdk/pm_shared" -I"./metamod" -c ChatEngine.cpp -o ChatEngine.o
g++ -Dstricmp=strcasecmp -D_strnicmp=strncasecmp -Dstrnicmp=strncasecmp -march=i386 -O2 -w -I"./hlsdk" -I"./hlsdk/common" -I"./hlsdk/dlls" -I"./hlsdk/engine" -I"./hlsdk/pm_shared" -I"./metamod" -c IniParser.cpp -o IniParser.o
g++ -fPIC -shared -o realbot_mm_i386.so NodeMachine.o bot.o bot_buycode.o bot_client.o bot_func.o bot_navigate.o build.o dll.o engine.o game.o util.o ChatEngine.o IniParser.o -ldl
mkdir -p Release
mv *.so Release
Now if we only had the new source code for 3068, we could rock and roll! Thus far 80 MB of learned files on 60 maps.
Thanks,
Krillin