У меня что-то не получается. Скачал HPB10, а он играет только Half-Life. Он сам отдельно мод. По типу Jumbot. Потому скачал исходники HPB bot (которая плагин для метамода), визуалку, кое-что отредактировал, насколько мог, и жму F7. И внизу появляется:
--------------------Configuration: HPB_bot_mm - Win32 Release--------------------
D:\HL-Mods\Bots\HPB Bot\HPB Source 2\hpb_bot_plugin\waypoint.cpp(21): Could not find the file extdll.h.
D:\HL-Mods\Bots\HPB Bot\HPB Source 2\hpb_bot_plugin\waypoint.cpp(22): Could not find the file dllapi.h.
D:\HL-Mods\Bots\HPB Bot\HPB Source 2\hpb_bot_plugin\waypoint.cpp(23): Could not find the file h_export.h.
D:\HL-Mods\Bots\HPB Bot\HPB Source 2\hpb_bot_plugin\waypoint.cpp(24): Could not find the file meta_api.h.
D:\HL-Mods\Bots\HPB Bot\HPB Source 2\hpb_bot_plugin\util.cpp(28): Could not find the file extdll.h.
D:\HL-Mods\Bots\HPB Bot\HPB Source 2\hpb_bot_plugin\util.cpp(29): Could not find the file dllapi.h.
D:\HL-Mods\Bots\HPB Bot\HPB Source 2\hpb_bot_plugin\util.cpp(30): Could not find the file h_export.h.
D:\HL-Mods\Bots\HPB Bot\HPB Source 2\hpb_bot_plugin\util.cpp(31): Could not find the file meta_api.h.
D:\HL-Mods\Bots\HPB Bot\HPB Source 2\hpb_bot_plugin\util.cpp(33): Could not find the file usercmd.h.
D:\HL-Mods\Bots\HPB Bot\HPB Source 2\hpb_bot_plugin\h_export.cpp(13): Could not find the file extdll.h.
D:\HL-Mods\Bots\HPB Bot\HPB Source 2\hpb_bot_plugin\h_export.cpp(14): Could not find the file dllapi.h.
D:\HL-Mods\Bots\HPB Bot\HPB Source 2\hpb_bot_plugin\h_export.cpp(15): Could not find the file h_export.h.
D:\HL-Mods\Bots\HPB Bot\HPB Source 2\hpb_bot_plugin\h_export.cpp(16): Could not find the file meta_api.h.
D:\HL-Mods\Bots\HPB Bot\HPB Source 2\hpb_bot_plugin\engine.cpp(13): Could not find the file extdll.h.
D:\HL-Mods\Bots\HPB Bot\HPB Source 2\hpb_bot_plugin\engine.cpp(14): Could not find the file dllapi.h.
D:\HL-Mods\Bots\HPB Bot\HPB Source 2\hpb_bot_plugin\engine.cpp(15): Could not find the file h_export.h.
D:\HL-Mods\Bots\HPB Bot\HPB Source 2\hpb_bot_plugin\engine.cpp(16): Could not find the file meta_api.h.
D:\HL-Mods\Bots\HPB Bot\HPB Source 2\hpb_bot_plugin\dll.cpp(13): Could not find the file extdll.h.
D:\HL-Mods\Bots\HPB Bot\HPB Source 2\hpb_bot_plugin\dll.cpp(14): Could not find the file dllapi.h.
D:\HL-Mods\Bots\HPB Bot\HPB Source 2\hpb_bot_plugin\dll.cpp(15): Could not find the file h_export.h.
D:\HL-Mods\Bots\HPB Bot\HPB Source 2\hpb_bot_plugin\dll.cpp(16): Could not find the file meta_api.h.
D:\HL-Mods\Bots\HPB Bot\HPB Source 2\hpb_bot_plugin\dll.cpp(17): Could not find the file entity_state.h.
D:\HL-Mods\Bots\HPB Bot\HPB Source 2\hpb_bot_plugin\bot_start.cpp(13): Could not find the file extdll.h.
D:\HL-Mods\Bots\HPB Bot\HPB Source 2\hpb_bot_plugin\bot_start.cpp(14): Could not find the file dllapi.h.
D:\HL-Mods\Bots\HPB Bot\HPB Source 2\hpb_bot_plugin\bot_start.cpp(15): Could not find the file h_export.h.
D:\HL-Mods\Bots\HPB Bot\HPB Source 2\hpb_bot_plugin\bot_start.cpp(16): Could not find the file meta_api.h.
D:\HL-Mods\Bots\HPB Bot\HPB Source 2\hpb_bot_plugin\bot_navigate.cpp(13): Could not find the file extdll.h.
D:\HL-Mods\Bots\HPB Bot\HPB Source 2\hpb_bot_plugin\bot_navigate.cpp(14): Could not find the file dllapi.h.
D:\HL-Mods\Bots\HPB Bot\HPB Source 2\hpb_bot_plugin\bot_navigate.cpp(15): Could not find the file h_export.h.
D:\HL-Mods\Bots\HPB Bot\HPB Source 2\hpb_bot_plugin\bot_navigate.cpp(16): Could not find the file meta_api.h.
D:\HL-Mods\Bots\HPB Bot\HPB Source 2\hpb_bot_plugin\bot_models.cpp(13): Could not find the file extdll.h.
D:\HL-Mods\Bots\HPB Bot\HPB Source 2\hpb_bot_plugin\bot_models.cpp(14): Could not find the file dllapi.h.
D:\HL-Mods\Bots\HPB Bot\HPB Source 2\hpb_bot_plugin\bot_models.cpp(15): Could not find the file h_export.h.
D:\HL-Mods\Bots\HPB Bot\HPB Source 2\hpb_bot_plugin\bot_models.cpp(16): Could not find the file meta_api.h.
D:\HL-Mods\Bots\HPB Bot\HPB Source 2\hpb_bot_plugin\bot_models.cpp(26): Could not find the file dirent.h.
D:\HL-Mods\Bots\HPB Bot\HPB Source 2\hpb_bot_plugin\bot_combat.cpp(13): Could not find the file extdll.h.
D:\HL-Mods\Bots\HPB Bot\HPB Source 2\hpb_bot_plugin\bot_combat.cpp(14): Could not find the file dllapi.h.
D:\HL-Mods\Bots\HPB Bot\HPB Source 2\hpb_bot_plugin\bot_combat.cpp(15): Could not find the file h_export.h.
D:\HL-Mods\Bots\HPB Bot\HPB Source 2\hpb_bot_plugin\bot_combat.cpp(16): Could not find the file meta_api.h.
D:\HL-Mods\Bots\HPB Bot\HPB Source 2\hpb_bot_plugin\bot_client.cpp(13): Could not find the file extdll.h.
D:\HL-Mods\Bots\HPB Bot\HPB Source 2\hpb_bot_plugin\bot_client.cpp(14): Could not find the file dllapi.h.
D:\HL-Mods\Bots\HPB Bot\HPB Source 2\hpb_bot_plugin\bot_client.cpp(15): Could not find the file h_export.h.
D:\HL-Mods\Bots\HPB Bot\HPB Source 2\hpb_bot_plugin\bot_client.cpp(16): Could not find the file meta_api.h.
D:\HL-Mods\Bots\HPB Bot\HPB Source 2\hpb_bot_plugin\bot_chat.cpp(13): Could not find the file extdll.h.
D:\HL-Mods\Bots\HPB Bot\HPB Source 2\hpb_bot_plugin\bot_chat.cpp(14): Could not find the file dllapi.h.
D:\HL-Mods\Bots\HPB Bot\HPB Source 2\hpb_bot_plugin\bot_chat.cpp(15): Could not find the file h_export.h.
D:\HL-Mods\Bots\HPB Bot\HPB Source 2\hpb_bot_plugin\bot_chat.cpp(16): Could not find the file meta_api.h.
D:\HL-Mods\Bots\HPB Bot\HPB Source 2\hpb_bot_plugin\bot.cpp(13): Could not find the file extdll.h.
D:\HL-Mods\Bots\HPB Bot\HPB Source 2\hpb_bot_plugin\bot.cpp(14): Could not find the file dllapi.h.
D:\HL-Mods\Bots\HPB Bot\HPB Source 2\hpb_bot_plugin\bot.cpp(15): Could not find the file h_export.h.
D:\HL-Mods\Bots\HPB Bot\HPB Source 2\hpb_bot_plugin\bot.cpp(16): Could not find the file meta_api.h.
Compiling...
bot.cpp
D:\HL-Mods\Bots\HPB Bot\HPB Source 2\hpb_bot_plugin\bot.cpp(13) : fatal error C1083: Cannot open include file: 'extdll.h': No such file or directory
bot_chat.cpp
D:\HL-Mods\Bots\HPB Bot\HPB Source 2\hpb_bot_plugin\bot_chat.cpp(13) : fatal error C1083: Cannot open include file: 'extdll.h': No such file or directory
bot_client.cpp
D:\HL-Mods\Bots\HPB Bot\HPB Source 2\hpb_bot_plugin\bot_client.cpp(13) : fatal error C1083: Cannot open include file: 'extdll.h': No such file or directory
bot_combat.cpp
D:\HL-Mods\Bots\HPB Bot\HPB Source 2\hpb_bot_plugin\bot_combat.cpp(13) : fatal error C1083: Cannot open include file: 'extdll.h': No such file or directory
bot_models.cpp
D:\HL-Mods\Bots\HPB Bot\HPB Source 2\hpb_bot_plugin\bot_models.cpp(13) : fatal error C1083: Cannot open include file: 'extdll.h': No such file or directory
bot_navigate.cpp
D:\HL-Mods\Bots\HPB Bot\HPB Source 2\hpb_bot_plugin\bot_navigate.cpp(13) : fatal error C1083: Cannot open include file: 'extdll.h': No such file or directory
bot_start.cpp
D:\HL-Mods\Bots\HPB Bot\HPB Source 2\hpb_bot_plugin\bot_start.cpp(13) : fatal error C1083: Cannot open include file: 'extdll.h': No such file or directory
dll.cpp
D:\HL-Mods\Bots\HPB Bot\HPB Source 2\hpb_bot_plugin\dll.cpp(13) : fatal error C1083: Cannot open include file: 'extdll.h': No such file or directory
engine.cpp
D:\HL-Mods\Bots\HPB Bot\HPB Source 2\hpb_bot_plugin\engine.cpp(13) : fatal error C1083: Cannot open include file: 'extdll.h': No such file or directory
h_export.cpp
D:\HL-Mods\Bots\HPB Bot\HPB Source 2\hpb_bot_plugin\h_export.cpp(13) : fatal error C1083: Cannot open include file: 'extdll.h': No such file or directory
util.cpp
D:\HL-Mods\Bots\HPB Bot\HPB Source 2\hpb_bot_plugin\util.cpp(28) : fatal error C1083: Cannot open include file: 'extdll.h': No such file or directory
waypoint.cpp
D:\HL-Mods\Bots\HPB Bot\HPB Source 2\hpb_bot_plugin\waypoint.cpp(21) : fatal error C1083: Cannot open include file: 'extdll.h': No such file or directory
Error executing cl.exe.
HPB_bot_mm.dll - 12 error(s), 0 warning(s)
То же самое происходит и при попытке компиляции исходника без изменений.
Не хватает исходников метамода? Или я не так установил студио?
Такс, скачал исходники метамода и залвы, поставил, часть ошибок исчезла, но осталась нижняя часть:
--------------------Configuration: HPB_bot_mm - Win32 Release--------------------
Compiling...
bot.cpp
D:\HL-Mods\Bots\HPB Bot\HPB Source 2\hpb_bot_plugin\bot.cpp(13) : fatal error C1083: Cannot open include file: 'extdll.h': No such file or directory
bot_chat.cpp
D:\HL-Mods\Bots\HPB Bot\HPB Source 2\hpb_bot_plugin\bot_chat.cpp(13) : fatal error C1083: Cannot open include file: 'extdll.h': No such file or directory
bot_client.cpp
D:\HL-Mods\Bots\HPB Bot\HPB Source 2\hpb_bot_plugin\bot_client.cpp(13) : fatal error C1083: Cannot open include file: 'extdll.h': No such file or directory
bot_combat.cpp
D:\HL-Mods\Bots\HPB Bot\HPB Source 2\hpb_bot_plugin\bot_combat.cpp(13) : fatal error C1083: Cannot open include file: 'extdll.h': No such file or directory
bot_models.cpp
D:\HL-Mods\Bots\HPB Bot\HPB Source 2\hpb_bot_plugin\bot_models.cpp(13) : fatal error C1083: Cannot open include file: 'extdll.h': No such file or directory
bot_navigate.cpp
D:\HL-Mods\Bots\HPB Bot\HPB Source 2\hpb_bot_plugin\bot_navigate.cpp(13) : fatal error C1083: Cannot open include file: 'extdll.h': No such file or directory
bot_start.cpp
D:\HL-Mods\Bots\HPB Bot\HPB Source 2\hpb_bot_plugin\bot_start.cpp(13) : fatal error C1083: Cannot open include file: 'extdll.h': No such file or directory
dll.cpp
D:\HL-Mods\Bots\HPB Bot\HPB Source 2\hpb_bot_plugin\dll.cpp(13) : fatal error C1083: Cannot open include file: 'extdll.h': No such file or directory
engine.cpp
D:\HL-Mods\Bots\HPB Bot\HPB Source 2\hpb_bot_plugin\engine.cpp(13) : fatal error C1083: Cannot open include file: 'extdll.h': No such file or directory
h_export.cpp
D:\HL-Mods\Bots\HPB Bot\HPB Source 2\hpb_bot_plugin\h_export.cpp(13) : fatal error C1083: Cannot open include file: 'extdll.h': No such file or directory
util.cpp
D:\HL-Mods\Bots\HPB Bot\HPB Source 2\hpb_bot_plugin\util.cpp(28) : fatal error C1083: Cannot open include file: 'extdll.h': No such file or directory
waypoint.cpp
D:\HL-Mods\Bots\HPB Bot\HPB Source 2\hpb_bot_plugin\waypoint.cpp(21) : fatal error C1083: Cannot open include file: 'extdll.h': No such file or directory
Error executing cl.exe.
HPB_bot_mm.dll - 12 error(s), 0 warning(s)
Я вот не понимаю, почему он ищет в файле? Ладно, если в папке. Всякое делал, но так и не смог устранить это дело. Как быть? Что посоветуете?
Пути к хлсдк ему надо прописать, видимо. Это в опциях, Additional Include Directories.
Либо ставить ботов в папку с хлсдк (но не факт, что они не перезапишут как-ие-то имеющиеся файлы, так что осторожнее).
Хмм, что-то не получается. Везде всякое прописывал, в переменных средах системы, в свойствах проекта в закладке MIDL, в С/С++ project options, в Tools\ Options\directories. Не помогает. Скорее всего я сам что-то не так пишу. Помогите плз. Очень уж охота сотворить что-нибудь дельное.