у меня проблемы при компиляции
вот такие
Compiling...
bot.cpp
C:\C++\BIN\BIN\eiface.h(97) : fatal error C1083: Cannot open include file: '../common/crc.h': No such file or directory
bot_chat.cpp
C:\C++\BIN\BIN\eiface.h(97) : fatal error C1083: Cannot open include file: '../common/crc.h': No such file or directory
bot_client.cpp
C:\C++\BIN\BIN\eiface.h(97) : fatal error C1083: Cannot open include file: '../common/crc.h': No such file or directory
bot_combat.cpp
C:\C++\BIN\BIN\eiface.h(97) : fatal error C1083: Cannot open include file: '../common/crc.h': No such file or directory
bot_models.cpp
C:\C++\BIN\BIN\eiface.h(97) : fatal error C1083: Cannot open include file: '../common/crc.h': No such file or directory
bot_navigate.cpp
C:\C++\BIN\BIN\eiface.h(97) : fatal error C1083: Cannot open include file: '../common/crc.h': No such file or directory
bot_start.cpp
C:\C++\BIN\BIN\eiface.h(97) : fatal error C1083: Cannot open include file: '../common/crc.h': No such file or directory
dll.cpp
C:\C++\BIN\BIN\eiface.h(97) : fatal error C1083: Cannot open include file: '../common/crc.h': No such file or directory
engine.cpp
C:\C++\BIN\BIN\eiface.h(97) : fatal error C1083: Cannot open include file: '../common/crc.h': No such file or directory
h_export.cpp
C:\C++\BIN\BIN\eiface.h(97) : fatal error C1083: Cannot open include file: '../common/crc.h': No such file or directory
util.cpp
C:\C++\BIN\BIN\eiface.h(97) : fatal error C1083: Cannot open include file: '../common/crc.h': No such file or directory
waypoint.cpp
C:\C++\BIN\BIN\_stddef.h(133) : error C2874: using-declaration causes a multiple declaration of 'size_t'
C:\C++\BIN\BIN\_stddef.h(53) : see declaration of 'size_t'
C:\C++\BIN\BIN\fcntl.h(44) : warning C4229: anachronism used : modifiers on data are ignored
C:\SDKhl1\Single-Player Source\dlls\hpb_bot_plugin\waypoint.cpp(15) : fatal error C1083: Cannot open include file: 'sys\stat.h': No such file or directory
Error executing cl.exe.
c++ урезанной но с инклудами взятыми из visual c++ 6 + что нехватало взял из борлондского компилятора который фри
а все инклуды лежат тут C:\C++\BIN\BIN\
__________________
Kiss my ass if you don't like my Ford!
------------------------------------------ Game Area51 Update 1
First Person Shooter Released Jul 24, 2017
The game is a 3d shooter with the elements of the quest.
To build the SDK you will need a C++ compiler. Valve uses Microsoft Visual C++ Version 6.0. You can also use one of two freely available C++ compilers. You can use the free Borland C++ command line compiler or the free MinGW C++ compiler to build the SDK.
__________________
Kiss my ass if you don't like my Ford!
------------------------------------------ Game Area51 Update 1
First Person Shooter Released Jul 24, 2017
The game is a 3d shooter with the elements of the quest.
parazit писал: блин бот все равно не компилиться )))
А че пишет то ?
__________________
Kiss my ass if you don't like my Ford!
------------------------------------------ Game Area51 Update 1
First Person Shooter Released Jul 24, 2017
The game is a 3d shooter with the elements of the quest.
bot.cpp
bot_chat.cpp
bot_client.cpp
bot_combat.cpp
bot_models.cpp
bot_navigate.cpp
bot_start.cpp
dll.cpp
engine.cpp
h_export.cpp
util.cpp
C:\C++\BIN\BIN\eiface.h(97) : fatal error C1083: Cannot open include file: '../common/crc.h': No such file or directory
В заголовочном файле eiface.h прописан ещё один crc.h как видишь из папки common, но такого файла нету. Посмотри есть ли он в природе.
waypoint.cpp
C:\C++\BIN\BIN\_stddef.h(133) : error C2874: using-declaration causes a multiple declaration of 'size_t'
C:\C++\BIN\BIN\_stddef.h(53) : see declaration of 'size_t'
тут много раз задекларирован(а) size_t, наверное нужно найти где и потереть лишнее.
C:\C++\BIN\BIN\fcntl.h(44) : warning C4229: anachronism used : modifiers on data are ignored
Warning - скорее всего из-за того что файлы брал из борланда, пишет мол по древнему что-то написанно.
C:\SDKhl1\Single-Player Source\dlls\hpb_bot_plugin\waypoint.cpp(15) : fatal error C1083: Cannot open include file: 'sys\stat.h': No such file or directory
Error executing cl.exe.
Тоже что и в первом случае, не находит заголовочного файла sys\stat.h приписанный в коде waypoint.cpp
Все вроде бы понятно =) сам первый раз вижу такие ошибки но английский чуть знаю =).