HLFX.Ru Forum
Показать все 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)


Отправлено parazit 06-10-2008 в 18:18:

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)

при компиляции ботов

__________________
Пока всем!!!


Отправлено XaeroX 06-10-2008 в 19:15:

Чем компилируешь? Почему такой странный путь - "C:\C++\BIN\BIN\eiface.h"?

__________________

xaerox on Vivino


Отправлено parazit 07-10-2008 в 12:46:

c++ урезанной но с инклудами взятыми из visual c++ 6 + что нехватало взял из борлондского компилятора который фри
а все инклуды лежат тут C:\C++\BIN\BIN\

__________________
Пока всем!!!


Отправлено XaeroX 07-10-2008 в 14:11:

По поводу урезанного с++ никаких советов дать не могу.
Скачай уже нормальный с++ 6.0

__________________

xaerox on Vivino


Отправлено ZONER 08-10-2008 в 16:25:

ну ты, parazit, даешь. Борландское никогда не будет совместимым с Visual Studio. Так что Xaerox тебе дело говорит, возьми нормальный компилятор.

__________________
Сложно обьяснить, проще сделать (C) (_-=Zheka=-_)


Отправлено (_-=ZhekA=-_) 08-10-2008 в 16:37:

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


Отправлено parazit 08-10-2008 в 17:05:

а это что тогда?
(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=-_)

Да дай а лучше тока все свои инклуды

__________________
Пока всем!!!


Отправлено (_-=ZhekA=-_) 08-10-2008 в 17:36:

Цитата:
parazit писал:
Да дай а лучше тока все свои инклуды


Скачать Microsoft_Visual.exe (5,64 Мб)

__________________
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


Отправлено parazit 09-10-2008 в 18:19:

блин бот все равно не компилиться )))

__________________
Пока всем!!!


Отправлено (_-=ZhekA=-_) 09-10-2008 в 18:46:

Цитата:
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.

http://button.moddb.com/download/medium/125531.png


Отправлено FaL_DissecTor 12-11-2008 в 19:47:

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

Все вроде бы понятно =) сам первый раз вижу такие ошибки но английский чуть знаю =).

__________________
Такие дела...


Отправлено Лукавый Ангел 13-11-2008 в 04:56:

В папке "C:\C++\BIN\" нужно найти/создать папку "common", и поместить туда файл "crc.h".

__________________
- Это правда?
- Да.
- Такая злая?
- Это злая прадва.
- Соответственно есть и добрая?
- Вы задаёте много вопросов...


Временная зона GMT. Текущее время 05:39.
Показать все 12 сообщений этой темы на одной странице

На основе vBulletin версии 2.3.0
Авторское право © Jelsoft Enterprises Limited 2000 - 2002.
Дизайн и программирование: Crystice Softworks © 2005 - 2024