yourmnbbn / tiny-csgo-server

Tiny csgo server for logging on to steam game servers, basically it's a fake server, not for real server purpose.
GNU General Public License v3.0
33 stars 4 forks source link

fatal error: isteamgamecoordinator.h: No such file or directory #14

Closed gaalos closed 1 year ago

gaalos commented 1 year ago

Hi I'm on deb 11 and i got this error :

[ 14%] Building CXX object CMakeFiles/tiny-csgo-server.dir/sv-main.cpp.o In file included from /root/fake/tiny-csgo-server/sv-main.cpp:2: /root/fake/tiny-csgo-server/src/GCClient.hpp:11:10: fatal error: isteamgamecoordinator.h: No such file or directory 11 | #include | ^~~~~~~~~ compilation terminated. make[2]: [CMakeFiles/tiny-csgo-server.dir/build.make:76: CMakeFiles/tiny-csgo-server.dir/sv-main.cpp.o] Error 1 make[1]: [CMakeFiles/Makefile2:83: CMakeFiles/tiny-csgo-server.dir/all] Error 2 make: *** [Makefile:91: all] Error 2

yourmnbbn commented 1 year ago

Make sure you've downloaded the right hl2sdk, it's csgo branch not sdk2013 or some others.

gaalos commented 1 year ago

@yourmnbbn your right i did not change my branch x')

gaalos commented 1 year ago

@yourmnbbn Still have issues

git branch

Here you have my build.sh

!/bin/bash

HL2SDK_DIR="/root/fake/hl2sdk" ASIO_DIR="/root/fake/asio/asio"

cmake -DCMAKE_BUILD_TYPE=Release -DHL2SDK-CSGO:PATH=$HL2SDK_DIR -DASIO-SRC:PATH=$ASIO_DIR -DEXECUTABLE_OUTPUT_PATH=$PWD/build/Release make

but still have this issue In file included from /root/fake/tiny-csgo-server/sv-main.cpp:2: /root/fake/tiny-csgo-server/src/GCClient.hpp:11:10: fatal error: isteamgamecoordinator.h: No such file or directory 11 | #include | ^~~~~~~~~

yourmnbbn commented 1 year ago

Then you still got the wrong sdk. Manually check if that file exist in the sdk folder.

gaalos commented 1 year ago

@yourmnbbn you'r right ! i don't undrestand why my files did not changes.