![]() |
Показать все 12 сообщений этой темы на одной странице |
HLFX.Ru Forum (https://hlfx.ru/forum/index.php)
- Half-Life SDK (https://hlfx.ru/forum/forumdisplay.php?forumid=8)
-- hpb_bot (https://hlfx.ru/forum/showthread.php?threadid=1528)
hpb_bot
у меня проблемы при компиляции
вот такие
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.
HPB_bot_mm.dll - 13 error(s), 1 warning(s)
при компиляции ботов
__________________
Пока всем!!!
Чем компилируешь? Почему такой странный путь - "C:\C++\BIN\BIN\eiface.h"?
__________________
c++ урезанной но с инклудами взятыми из visual c++ 6 + что нехватало взял из борлондского компилятора который фри
а все инклуды лежат тут C:\C++\BIN\BIN\
__________________
Пока всем!!!
По поводу урезанного с++ никаких советов дать не могу.
Скачай уже нормальный с++ 6.0
__________________
ну ты, parazit, даешь. Борландское никогда не будет совместимым с Visual Studio. Так что Xaerox тебе дело говорит, возьми нормальный компилятор.
__________________
Сложно обьяснить, проще сделать (C) (_-=Zheka=-_)
parazit
Дать тебе ссылку на шестую студию ? ( 5 мб )
__________________
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.
http://button.moddb.com/download/medium/125531.png
а это что тогда?
(help к hpb_bot)
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.
Borland C++
Добавлено 08-10-2008 в 21:05:
(_-=ZhekA=-_)
Да дай а лучше тока все свои инклуды
__________________
Пока всем!!!
__________________
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.
http://button.moddb.com/download/medium/125531.png
блин бот все равно не компилиться )))
__________________
Пока всем!!!
__________________
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.
http://button.moddb.com/download/medium/125531.png
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
Все вроде бы понятно =) сам первый раз вижу такие ошибки но английский чуть знаю =).
__________________
Такие дела...
В папке "C:\C++\BIN\" нужно найти/создать папку "common", и поместить туда файл "crc.h".
__________________
- Это правда?
- Да.
- Такая злая?
- Это злая прадва.
- Соответственно есть и добрая?
- Вы задаёте много вопросов...
Временная зона GMT. Текущее время 05:39. | Показать все 12 сообщений этой темы на одной странице |
На основе vBulletin версии 2.3.0
Авторское право © Jelsoft Enterprises Limited 2000 - 2002.
Дизайн и программирование: Crystice Softworks © 2005 - 2024