Recent Posts

Pages: 1 2 3 4 [5] 6 7 8 9 10
41
Help / Re: fatal error LNK1104: cannot open file 'game.def'
« Last post by THE_SUFFERER on January 14, 2020, 11:11:24 pm »
Is there any difference between adding "WIN32" in

1) "Project name" ---> Compiler Settings ---> #defines

2) Release ---> Compiler Settings ---> #defines

3) Both at the same time

?
------------------------------------------------

As I understood, I can also add it in "Global Compiler Settings ---> Compiler Settines ---> #defines", but it will be used as default, not only for this very project, right?
42
Help / Re: fatal error LNK1104: cannot open file 'game.def'
« Last post by stahta01 on January 14, 2020, 10:00:08 pm »
Quote
Code: [Select]
Q_SHARED.obj : error LNK2019: unresolved external symbol _strcasecmp referenced in function _Q_stricmp

My wild guess is the solution is to define "WIN32".

Based on this code from Q_SHARED.C

Code: [Select]
int Q_stricmp (char *s1, char *s2)
{
#if defined(WIN32)
return _stricmp (s1, s2);
#else
return strcasecmp (s1, s2);
#endif
}

Edit:
Project -> Build Options
Tab: Compiler Settings
Sub-Tab: #defines
Add "WIN32" without the double quotes.
43
Help / Re: fatal error LNK1104: cannot open file 'game.def'
« Last post by THE_SUFFERER on January 14, 2020, 09:07:59 pm »
After "/def:Source\game.def" I get such an error:

Code: [Select]

-------------- Build: Release in Gamex86 (compiler: Microsoft Visual C++ Toolkit 2003)---------------

link.exe /dll /nologo /LIBPATH:D:\KingpinDev\Code\CodeBlock\CodeBlocks\MinGW\lib /LIBPATH:"D:\KingpinDev\Code\Platform SDK\Lib" /LIBPATH:D:\KingpinDev\Code\CodeBlock\CodeBlocks\ToolKit\lib /out:bin\Release\Gamex86.dll Source\NavLib\NavLib.lib user32.lib obj\Release\Source\AI_BITCH.obj obj\Release\Source\ai_bum_sit.obj obj\Release\Source\AI_DOG.obj obj\Release\Source\AI_PUNK.obj obj\Release\Source\AI_RUNT.obj obj\Release\Source\ai_shorty.obj obj\Release\Source\ai_skinny.obj obj\Release\Source\AI_THUG.obj obj\Release\Source\ai_thug_sit.obj obj\Release\Source\AI_WHORE.obj obj\Release\Source\EP_ALL.obj obj\Release\Source\ep_crystalpalace.obj obj\Release\Source\EP_LOG.obj obj\Release\Source\ep_posionville.obj obj\Release\Source\ep_radiocity.obj obj\Release\Source\ep_shipyards.obj obj\Release\Source\ep_skidrow.obj obj\Release\Source\ep_steeltown.obj obj\Release\Source\ep_trainyard.obj obj\Release\Source\G_AI.obj obj\Release\Source\g_ai_ents.obj obj\Release\Source\g_ai_fight.obj obj\Release\Source\g_ai_memory.obj obj\Release\Source\G_CAST.obj obj\Release\Source\G_CHASE.obj obj\Release\Source\G_cmds.obj obj\Release\Source\G_combat.obj obj\Release\Source\G_FOG.obj obj\Release\Source\G_FUNC.obj obj\Release\Source\G_items.obj obj\Release\Source\g_joe_misc.obj obj\Release\Source\G_main.obj obj\Release\Source\G_MISC.obj obj\Release\Source\G_PAWN.obj obj\Release\Source\G_PHYS.obj obj\Release\Source\G_save.obj obj\Release\Source\G_spawn.obj obj\Release\Source\G_SVCMDS.obj obj\Release\Source\G_TARGET.obj obj\Release\Source\g_teamplay.obj obj\Release\Source\g_trigger.obj obj\Release\Source\G_UTILS.obj obj\Release\Source\G_WEAPON.obj obj\Release\Source\M_BBOX.obj obj\Release\Source\M_MOVE.obj obj\Release\Source\P_client.obj obj\Release\Source\P_HUD.obj obj\Release\Source\P_TRAIL.obj obj\Release\Source\P_VIEW.obj obj\Release\Source\P_WEAPON.obj obj\Release\Source\Q_SHARED.obj obj\Release\Source\VEHICLES.obj obj\Release\Source\VOICE.obj obj\Release\Source\voice_bitch.obj obj\Release\Source\voice_punk.obj  /def:Source\game.def
   Creating library bin\Release\Gamex86.lib and object bin\Release\Gamex86.exp
Q_SHARED.obj : error LNK2019: unresolved external symbol _strcasecmp referenced in function _Q_stricmp
bin\Release\Gamex86.dll : fatal error LNK1120: 1 unresolved externals
Process terminated with status 1120 (0 minute(s), 0 second(s))
2 error(s), 0 warning(s) (0 minute(s), 0 second(s))

44
Help / Re: fatal error LNK1104: cannot open file 'game.def'
« Last post by stahta01 on January 14, 2020, 08:46:19 pm »
Code: [Select]
/def:Source\game.def
45
Help / Re: fatal error LNK1104: cannot open file 'game.def'
« Last post by THE_SUFFERER on January 14, 2020, 08:38:07 pm »
I've made the rebuild. The full log is

Code: [Select]

-------------- Clean: Release in Gamex86 (compiler: Microsoft Visual C++ Toolkit 2003)---------------

Cleaned "Gamex86 - Release"

-------------- Build: Release in Gamex86 (compiler: Microsoft Visual C++ Toolkit 2003)---------------

cl.exe /nologo  /Ox /Og /W3 /DBUILD_DLL /DNDEBUG  /Ox /W3   /I"D:\KingpinDev\Code\Platform SDK\Include" /ID:\KingpinDev\Code\CodeBlock\CodeBlocks\ToolKit\include /c Source\AI_BITCH.C /Foobj\Release\Source\AI_BITCH.obj
cl.exe /nologo  /Ox /Og /W3 /DBUILD_DLL /DNDEBUG  /Ox /W3   /I"D:\KingpinDev\Code\Platform SDK\Include" /ID:\KingpinDev\Code\CodeBlock\CodeBlocks\ToolKit\include /c Source\ai_bum_sit.c /Foobj\Release\Source\ai_bum_sit.obj
AI_BITCH.C
ai_bum_sit.c
cl.exe /nologo  /Ox /Og /W3 /DBUILD_DLL /DNDEBUG  /Ox /W3   /I"D:\KingpinDev\Code\Platform SDK\Include" /ID:\KingpinDev\Code\CodeBlock\CodeBlocks\ToolKit\include /c Source\AI_DOG.C /Foobj\Release\Source\AI_DOG.obj
cl.exe /nologo  /Ox /Og /W3 /DBUILD_DLL /DNDEBUG  /Ox /W3   /I"D:\KingpinDev\Code\Platform SDK\Include" /ID:\KingpinDev\Code\CodeBlock\CodeBlocks\ToolKit\include /c Source\AI_PUNK.C /Foobj\Release\Source\AI_PUNK.obj
AI_DOG.C
cl.exe /nologo  /Ox /Og /W3 /DBUILD_DLL /DNDEBUG  /Ox /W3   /I"D:\KingpinDev\Code\Platform SDK\Include" /ID:\KingpinDev\Code\CodeBlock\CodeBlocks\ToolKit\include /c Source\AI_RUNT.C /Foobj\Release\Source\AI_RUNT.obj
AI_PUNK.C
AI_RUNT.C
cl.exe /nologo  /Ox /Og /W3 /DBUILD_DLL /DNDEBUG  /Ox /W3   /I"D:\KingpinDev\Code\Platform SDK\Include" /ID:\KingpinDev\Code\CodeBlock\CodeBlocks\ToolKit\include /c Source\ai_shorty.c /Foobj\Release\Source\ai_shorty.obj
cl.exe /nologo  /Ox /Og /W3 /DBUILD_DLL /DNDEBUG  /Ox /W3   /I"D:\KingpinDev\Code\Platform SDK\Include" /ID:\KingpinDev\Code\CodeBlock\CodeBlocks\ToolKit\include /c Source\ai_skinny.c /Foobj\Release\Source\ai_skinny.obj
ai_shorty.c
cl.exe /nologo  /Ox /Og /W3 /DBUILD_DLL /DNDEBUG  /Ox /W3   /I"D:\KingpinDev\Code\Platform SDK\Include" /ID:\KingpinDev\Code\CodeBlock\CodeBlocks\ToolKit\include /c Source\AI_THUG.C /Foobj\Release\Source\AI_THUG.obj
ai_skinny.c
cl.exe /nologo  /Ox /Og /W3 /DBUILD_DLL /DNDEBUG  /Ox /W3   /I"D:\KingpinDev\Code\Platform SDK\Include" /ID:\KingpinDev\Code\CodeBlock\CodeBlocks\ToolKit\include /c Source\ai_thug_sit.c /Foobj\Release\Source\ai_thug_sit.obj
AI_THUG.C
ai_thug_sit.c
cl.exe /nologo  /Ox /Og /W3 /DBUILD_DLL /DNDEBUG  /Ox /W3   /I"D:\KingpinDev\Code\Platform SDK\Include" /ID:\KingpinDev\Code\CodeBlock\CodeBlocks\ToolKit\include /c Source\AI_WHORE.C /Foobj\Release\Source\AI_WHORE.obj
cl.exe /nologo  /Ox /Og /W3 /DBUILD_DLL /DNDEBUG  /Ox /W3   /I"D:\KingpinDev\Code\Platform SDK\Include" /ID:\KingpinDev\Code\CodeBlock\CodeBlocks\ToolKit\include /c Source\EP_ALL.C /Foobj\Release\Source\EP_ALL.obj
AI_WHORE.C
EP_ALL.C
cl.exe /nologo  /Ox /Og /W3 /DBUILD_DLL /DNDEBUG  /Ox /W3   /I"D:\KingpinDev\Code\Platform SDK\Include" /ID:\KingpinDev\Code\CodeBlock\CodeBlocks\ToolKit\include /c Source\ep_crystalpalace.c /Foobj\Release\Source\ep_crystalpalace.obj
cl.exe /nologo  /Ox /Og /W3 /DBUILD_DLL /DNDEBUG  /Ox /W3   /I"D:\KingpinDev\Code\Platform SDK\Include" /ID:\KingpinDev\Code\CodeBlock\CodeBlocks\ToolKit\include /c Source\EP_LOG.C /Foobj\Release\Source\EP_LOG.obj
ep_crystalpalace.c
cl.exe /nologo  /Ox /Og /W3 /DBUILD_DLL /DNDEBUG  /Ox /W3   /I"D:\KingpinDev\Code\Platform SDK\Include" /ID:\KingpinDev\Code\CodeBlock\CodeBlocks\ToolKit\include /c Source\ep_posionville.c /Foobj\Release\Source\ep_posionville.obj
EP_LOG.C
cl.exe /nologo  /Ox /Og /W3 /DBUILD_DLL /DNDEBUG  /Ox /W3   /I"D:\KingpinDev\Code\Platform SDK\Include" /ID:\KingpinDev\Code\CodeBlock\CodeBlocks\ToolKit\include /c Source\ep_radiocity.c /Foobj\Release\Source\ep_radiocity.obj
ep_posionville.c
ep_radiocity.c
cl.exe /nologo  /Ox /Og /W3 /DBUILD_DLL /DNDEBUG  /Ox /W3   /I"D:\KingpinDev\Code\Platform SDK\Include" /ID:\KingpinDev\Code\CodeBlock\CodeBlocks\ToolKit\include /c Source\ep_shipyards.c /Foobj\Release\Source\ep_shipyards.obj
cl.exe /nologo  /Ox /Og /W3 /DBUILD_DLL /DNDEBUG  /Ox /W3   /I"D:\KingpinDev\Code\Platform SDK\Include" /ID:\KingpinDev\Code\CodeBlock\CodeBlocks\ToolKit\include /c Source\ep_skidrow.c /Foobj\Release\Source\ep_skidrow.obj
ep_shipyards.c
ep_skidrow.c
cl.exe /nologo  /Ox /Og /W3 /DBUILD_DLL /DNDEBUG  /Ox /W3   /I"D:\KingpinDev\Code\Platform SDK\Include" /ID:\KingpinDev\Code\CodeBlock\CodeBlocks\ToolKit\include /c Source\ep_steeltown.c /Foobj\Release\Source\ep_steeltown.obj
ep_steeltown.c
cl.exe /nologo  /Ox /Og /W3 /DBUILD_DLL /DNDEBUG  /Ox /W3   /I"D:\KingpinDev\Code\Platform SDK\Include" /ID:\KingpinDev\Code\CodeBlock\CodeBlocks\ToolKit\include /c Source\ep_trainyard.c /Foobj\Release\Source\ep_trainyard.obj
cl.exe /nologo  /Ox /Og /W3 /DBUILD_DLL /DNDEBUG  /Ox /W3   /I"D:\KingpinDev\Code\Platform SDK\Include" /ID:\KingpinDev\Code\CodeBlock\CodeBlocks\ToolKit\include /c Source\G_AI.C /Foobj\Release\Source\G_AI.obj
G_AI.C
ep_trainyard.c
cl.exe /nologo  /Ox /Og /W3 /DBUILD_DLL /DNDEBUG  /Ox /W3   /I"D:\KingpinDev\Code\Platform SDK\Include" /ID:\KingpinDev\Code\CodeBlock\CodeBlocks\ToolKit\include /c Source\g_ai_ents.c /Foobj\Release\Source\g_ai_ents.obj
g_ai_ents.c
cl.exe /nologo  /Ox /Og /W3 /DBUILD_DLL /DNDEBUG  /Ox /W3   /I"D:\KingpinDev\Code\Platform SDK\Include" /ID:\KingpinDev\Code\CodeBlock\CodeBlocks\ToolKit\include /c Source\g_ai_fight.c /Foobj\Release\Source\g_ai_fight.obj
cl.exe /nologo  /Ox /Og /W3 /DBUILD_DLL /DNDEBUG  /Ox /W3   /I"D:\KingpinDev\Code\Platform SDK\Include" /ID:\KingpinDev\Code\CodeBlock\CodeBlocks\ToolKit\include /c Source\g_ai_memory.c /Foobj\Release\Source\g_ai_memory.obj
g_ai_fight.c
cl.exe /nologo  /Ox /Og /W3 /DBUILD_DLL /DNDEBUG  /Ox /W3   /I"D:\KingpinDev\Code\Platform SDK\Include" /ID:\KingpinDev\Code\CodeBlock\CodeBlocks\ToolKit\include /c Source\G_CAST.C /Foobj\Release\Source\G_CAST.obj
g_ai_memory.c
cl.exe /nologo  /Ox /Og /W3 /DBUILD_DLL /DNDEBUG  /Ox /W3   /I"D:\KingpinDev\Code\Platform SDK\Include" /ID:\KingpinDev\Code\CodeBlock\CodeBlocks\ToolKit\include /c Source\G_CHASE.C /Foobj\Release\Source\G_CHASE.obj
G_CAST.C
cl.exe /nologo  /Ox /Og /W3 /DBUILD_DLL /DNDEBUG  /Ox /W3   /I"D:\KingpinDev\Code\Platform SDK\Include" /ID:\KingpinDev\Code\CodeBlock\CodeBlocks\ToolKit\include /c Source\G_cmds.c /Foobj\Release\Source\G_cmds.obj
G_CHASE.C
cl.exe /nologo  /Ox /Og /W3 /DBUILD_DLL /DNDEBUG  /Ox /W3   /I"D:\KingpinDev\Code\Platform SDK\Include" /ID:\KingpinDev\Code\CodeBlock\CodeBlocks\ToolKit\include /c Source\G_combat.c /Foobj\Release\Source\G_combat.obj
G_cmds.c
G_combat.c
cl.exe /nologo  /Ox /Og /W3 /DBUILD_DLL /DNDEBUG  /Ox /W3   /I"D:\KingpinDev\Code\Platform SDK\Include" /ID:\KingpinDev\Code\CodeBlock\CodeBlocks\ToolKit\include /c Source\G_FOG.C /Foobj\Release\Source\G_FOG.obj
cl.exe /nologo  /Ox /Og /W3 /DBUILD_DLL /DNDEBUG  /Ox /W3   /I"D:\KingpinDev\Code\Platform SDK\Include" /ID:\KingpinDev\Code\CodeBlock\CodeBlocks\ToolKit\include /c Source\G_FUNC.C /Foobj\Release\Source\G_FUNC.obj
G_FOG.C
cl.exe /nologo  /Ox /Og /W3 /DBUILD_DLL /DNDEBUG  /Ox /W3   /I"D:\KingpinDev\Code\Platform SDK\Include" /ID:\KingpinDev\Code\CodeBlock\CodeBlocks\ToolKit\include /c Source\G_items.c /Foobj\Release\Source\G_items.obj
G_FUNC.C
G_items.c
cl.exe /nologo  /Ox /Og /W3 /DBUILD_DLL /DNDEBUG  /Ox /W3   /I"D:\KingpinDev\Code\Platform SDK\Include" /ID:\KingpinDev\Code\CodeBlock\CodeBlocks\ToolKit\include /c Source\g_joe_misc.c /Foobj\Release\Source\g_joe_misc.obj
cl.exe /nologo  /Ox /Og /W3 /DBUILD_DLL /DNDEBUG  /Ox /W3   /I"D:\KingpinDev\Code\Platform SDK\Include" /ID:\KingpinDev\Code\CodeBlock\CodeBlocks\ToolKit\include /c Source\G_main.c /Foobj\Release\Source\G_main.obj
G_main.c
g_joe_misc.c
cl.exe /nologo  /Ox /Og /W3 /DBUILD_DLL /DNDEBUG  /Ox /W3   /I"D:\KingpinDev\Code\Platform SDK\Include" /ID:\KingpinDev\Code\CodeBlock\CodeBlocks\ToolKit\include /c Source\G_MISC.C /Foobj\Release\Source\G_MISC.obj
G_MISC.C
cl.exe /nologo  /Ox /Og /W3 /DBUILD_DLL /DNDEBUG  /Ox /W3   /I"D:\KingpinDev\Code\Platform SDK\Include" /ID:\KingpinDev\Code\CodeBlock\CodeBlocks\ToolKit\include /c Source\G_PAWN.C /Foobj\Release\Source\G_PAWN.obj
G_PAWN.C
cl.exe /nologo  /Ox /Og /W3 /DBUILD_DLL /DNDEBUG  /Ox /W3   /I"D:\KingpinDev\Code\Platform SDK\Include" /ID:\KingpinDev\Code\CodeBlock\CodeBlocks\ToolKit\include /c Source\G_PHYS.C /Foobj\Release\Source\G_PHYS.obj
cl.exe /nologo  /Ox /Og /W3 /DBUILD_DLL /DNDEBUG  /Ox /W3   /I"D:\KingpinDev\Code\Platform SDK\Include" /ID:\KingpinDev\Code\CodeBlock\CodeBlocks\ToolKit\include /c Source\G_save.c /Foobj\Release\Source\G_save.obj
G_PHYS.C
G_save.c
cl.exe /nologo  /Ox /Og /W3 /DBUILD_DLL /DNDEBUG  /Ox /W3   /I"D:\KingpinDev\Code\Platform SDK\Include" /ID:\KingpinDev\Code\CodeBlock\CodeBlocks\ToolKit\include /c Source\G_spawn.c /Foobj\Release\Source\G_spawn.obj
cl.exe /nologo  /Ox /Og /W3 /DBUILD_DLL /DNDEBUG  /Ox /W3   /I"D:\KingpinDev\Code\Platform SDK\Include" /ID:\KingpinDev\Code\CodeBlock\CodeBlocks\ToolKit\include /c Source\G_SVCMDS.C /Foobj\Release\Source\G_SVCMDS.obj
G_spawn.c
cl.exe /nologo  /Ox /Og /W3 /DBUILD_DLL /DNDEBUG  /Ox /W3   /I"D:\KingpinDev\Code\Platform SDK\Include" /ID:\KingpinDev\Code\CodeBlock\CodeBlocks\ToolKit\include /c Source\G_TARGET.C /Foobj\Release\Source\G_TARGET.obj
G_SVCMDS.C
cl.exe /nologo  /Ox /Og /W3 /DBUILD_DLL /DNDEBUG  /Ox /W3   /I"D:\KingpinDev\Code\Platform SDK\Include" /ID:\KingpinDev\Code\CodeBlock\CodeBlocks\ToolKit\include /c Source\g_teamplay.c /Foobj\Release\Source\g_teamplay.obj
G_TARGET.C
g_teamplay.c
cl.exe /nologo  /Ox /Og /W3 /DBUILD_DLL /DNDEBUG  /Ox /W3   /I"D:\KingpinDev\Code\Platform SDK\Include" /ID:\KingpinDev\Code\CodeBlock\CodeBlocks\ToolKit\include /c Source\g_trigger.c /Foobj\Release\Source\g_trigger.obj
cl.exe /nologo  /Ox /Og /W3 /DBUILD_DLL /DNDEBUG  /Ox /W3   /I"D:\KingpinDev\Code\Platform SDK\Include" /ID:\KingpinDev\Code\CodeBlock\CodeBlocks\ToolKit\include /c Source\G_UTILS.C /Foobj\Release\Source\G_UTILS.obj
g_trigger.c
G_UTILS.C
cl.exe /nologo  /Ox /Og /W3 /DBUILD_DLL /DNDEBUG  /Ox /W3   /I"D:\KingpinDev\Code\Platform SDK\Include" /ID:\KingpinDev\Code\CodeBlock\CodeBlocks\ToolKit\include /c Source\G_WEAPON.C /Foobj\Release\Source\G_WEAPON.obj
cl.exe /nologo  /Ox /Og /W3 /DBUILD_DLL /DNDEBUG  /Ox /W3   /I"D:\KingpinDev\Code\Platform SDK\Include" /ID:\KingpinDev\Code\CodeBlock\CodeBlocks\ToolKit\include /c Source\M_BBOX.C /Foobj\Release\Source\M_BBOX.obj
G_WEAPON.C
M_BBOX.C
cl.exe /nologo  /Ox /Og /W3 /DBUILD_DLL /DNDEBUG  /Ox /W3   /I"D:\KingpinDev\Code\Platform SDK\Include" /ID:\KingpinDev\Code\CodeBlock\CodeBlocks\ToolKit\include /c Source\M_MOVE.C /Foobj\Release\Source\M_MOVE.obj
cl.exe /nologo  /Ox /Og /W3 /DBUILD_DLL /DNDEBUG  /Ox /W3   /I"D:\KingpinDev\Code\Platform SDK\Include" /ID:\KingpinDev\Code\CodeBlock\CodeBlocks\ToolKit\include /c Source\P_client.c /Foobj\Release\Source\P_client.obj
M_MOVE.C
P_client.c
cl.exe /nologo  /Ox /Og /W3 /DBUILD_DLL /DNDEBUG  /Ox /W3   /I"D:\KingpinDev\Code\Platform SDK\Include" /ID:\KingpinDev\Code\CodeBlock\CodeBlocks\ToolKit\include /c Source\P_HUD.C /Foobj\Release\Source\P_HUD.obj
P_HUD.C
cl.exe /nologo  /Ox /Og /W3 /DBUILD_DLL /DNDEBUG  /Ox /W3   /I"D:\KingpinDev\Code\Platform SDK\Include" /ID:\KingpinDev\Code\CodeBlock\CodeBlocks\ToolKit\include /c Source\P_TRAIL.C /Foobj\Release\Source\P_TRAIL.obj
cl.exe /nologo  /Ox /Og /W3 /DBUILD_DLL /DNDEBUG  /Ox /W3   /I"D:\KingpinDev\Code\Platform SDK\Include" /ID:\KingpinDev\Code\CodeBlock\CodeBlocks\ToolKit\include /c Source\P_VIEW.C /Foobj\Release\Source\P_VIEW.obj
P_TRAIL.C
cl.exe /nologo  /Ox /Og /W3 /DBUILD_DLL /DNDEBUG  /Ox /W3   /I"D:\KingpinDev\Code\Platform SDK\Include" /ID:\KingpinDev\Code\CodeBlock\CodeBlocks\ToolKit\include /c Source\P_WEAPON.C /Foobj\Release\Source\P_WEAPON.obj
P_VIEW.C
P_WEAPON.C
cl.exe /nologo  /Ox /Og /W3 /DBUILD_DLL /DNDEBUG  /Ox /W3   /I"D:\KingpinDev\Code\Platform SDK\Include" /ID:\KingpinDev\Code\CodeBlock\CodeBlocks\ToolKit\include /c Source\Q_SHARED.C /Foobj\Release\Source\Q_SHARED.obj
Q_SHARED.C
Source\Q_SHARED.C(1297) : warning C4013: 'strcasecmp' undefined; assuming extern returning int
cl.exe /nologo  /Ox /Og /W3 /DBUILD_DLL /DNDEBUG  /Ox /W3   /I"D:\KingpinDev\Code\Platform SDK\Include" /ID:\KingpinDev\Code\CodeBlock\CodeBlocks\ToolKit\include /c Source\VEHICLES.C /Foobj\Release\Source\VEHICLES.obj
cl.exe /nologo  /Ox /Og /W3 /DBUILD_DLL /DNDEBUG  /Ox /W3   /I"D:\KingpinDev\Code\Platform SDK\Include" /ID:\KingpinDev\Code\CodeBlock\CodeBlocks\ToolKit\include /c Source\VOICE.C /Foobj\Release\Source\VOICE.obj
VEHICLES.C
VOICE.C
cl.exe /nologo  /Ox /Og /W3 /DBUILD_DLL /DNDEBUG  /Ox /W3   /I"D:\KingpinDev\Code\Platform SDK\Include" /ID:\KingpinDev\Code\CodeBlock\CodeBlocks\ToolKit\include /c Source\voice_bitch.c /Foobj\Release\Source\voice_bitch.obj
cl.exe /nologo  /Ox /Og /W3 /DBUILD_DLL /DNDEBUG  /Ox /W3   /I"D:\KingpinDev\Code\Platform SDK\Include" /ID:\KingpinDev\Code\CodeBlock\CodeBlocks\ToolKit\include /c Source\voice_punk.c /Foobj\Release\Source\voice_punk.obj
voice_bitch.c
link.exe /dll /nologo /LIBPATH:D:\KingpinDev\Code\CodeBlock\CodeBlocks\MinGW\lib /LIBPATH:"D:\KingpinDev\Code\Platform SDK\Lib" /LIBPATH:D:\KingpinDev\Code\CodeBlock\CodeBlocks\ToolKit\lib /out:bin\Release\Gamex86.dll Source\NavLib\NavLib.lib user32.lib obj\Release\Source\AI_BITCH.obj obj\Release\Source\ai_bum_sit.obj obj\Release\Source\AI_DOG.obj obj\Release\Source\AI_PUNK.obj obj\Release\Source\AI_RUNT.obj obj\Release\Source\ai_shorty.obj obj\Release\Source\ai_skinny.obj obj\Release\Source\AI_THUG.obj obj\Release\Source\ai_thug_sit.obj obj\Release\Source\AI_WHORE.obj obj\Release\Source\EP_ALL.obj obj\Release\Source\ep_crystalpalace.obj obj\Release\Source\EP_LOG.obj obj\Release\Source\ep_posionville.obj obj\Release\Source\ep_radiocity.obj obj\Release\Source\ep_shipyards.obj obj\Release\Source\ep_skidrow.obj obj\Release\Source\ep_steeltown.obj obj\Release\Source\ep_trainyard.obj obj\Release\Source\G_AI.obj obj\Release\Source\g_ai_ents.obj obj\Release\Source\g_ai_fight.obj obj\Release\Source\g_ai_memory.obj obj\Release\Source\G_CAST.obj obj\Release\Source\G_CHASE.obj obj\Release\Source\G_cmds.obj obj\Release\Source\G_combat.obj obj\Release\Source\G_FOG.obj obj\Release\Source\G_FUNC.obj obj\Release\Source\G_items.obj obj\Release\Source\g_joe_misc.obj obj\Release\Source\G_main.obj obj\Release\Source\G_MISC.obj obj\Release\Source\G_PAWN.obj obj\Release\Source\G_PHYS.obj obj\Release\Source\G_save.obj obj\Release\Source\G_spawn.obj obj\Release\Source\G_SVCMDS.obj obj\Release\Source\G_TARGET.obj obj\Release\Source\g_teamplay.obj obj\Release\Source\g_trigger.obj obj\Release\Source\G_UTILS.obj obj\Release\Source\G_WEAPON.obj obj\Release\Source\M_BBOX.obj obj\Release\Source\M_MOVE.obj obj\Release\Source\P_client.obj obj\Release\Source\P_HUD.obj obj\Release\Source\P_TRAIL.obj obj\Release\Source\P_VIEW.obj obj\Release\Source\P_WEAPON.obj obj\Release\Source\Q_SHARED.obj obj\Release\Source\VEHICLES.obj obj\Release\Source\VOICE.obj obj\Release\Source\voice_bitch.obj obj\Release\Source\voice_punk.obj  /def:game.def
voice_punk.c
LINK : fatal error LNK1104: cannot open file 'game.def'
LINK : fatal error LNK1141: failure during build of exports file
Process terminated with status 1141 (0 minute(s), 9 second(s))
2 error(s), 1 warning(s) (0 minute(s), 9 second(s))
 


Plus attatching that screen which you asked. By "your target" it was meant to add that "/def:game.def"? Because I didn't find any "targets" in "Build options". Any way adding that didn't help.
46
Help / Re: fatal error LNK1104: cannot open file 'game.def'
« Last post by stahta01 on January 14, 2020, 08:14:36 pm »
sodev:

So you waste your time on the person who seems to do things at random.

If any of you really want to fix the problem; we need a full rebuild log or we can ask the Help Vampire to leave.

I will delete my help since I am not good enough for you.

Won't brother posting a likely good cbp file.

https://github.com/stahta01/KingpinSDK

Tim S.
47
You can use global variables nearly everywhere... Sadly this also slows down the compiling process quite a bit...
48
Help / Re: fatal error LNK1104: cannot open file 'game.def'
« Last post by sodev on January 14, 2020, 07:52:54 pm »
Why did you tell Code::Blocks to compile or link a def file?

I am not in a good mood but i try to say it in the most polite way: your first-level-support-like questions don't help here.

As sodev pointed out, you have to add the option
Code: [Select]
/def:game.def

As i said multiple times now, that path is wrong! The file must be somewhere else, but i don't want to write something like

Code: [Select]
/def:my\file\is\here\game.def

because im afraid that will end up as-is in the next screenshots.
49
Nightly builds / Re: The 15 December 2019 build (11927) is out.
« Last post by oBFusCATed on January 14, 2020, 07:48:33 pm »
@Miguel Gimenez: Would you have time to do a bisection of wx? Or try to debug why does it happen?
50
Help / Re: fatal error LNK1104: cannot open file 'game.def'
« Last post by oBFusCATed on January 14, 2020, 07:44:45 pm »
@THE_SUFFERER: Please do the following steps:
1. Restore everything as it was in the beginning of the thread.
2. Do a full rebuild
3. Go to the build log
4. Right click -> copy to clipboard.
5. Paste the result using \[code\] tags in a new post.

Until you do the above we cannot help you and you can only troll you.
Also post a screenshot of Project -> Properties -> Build options -> your target!
Pages: 1 2 3 4 [5] 6 7 8 9 10