Author Topic: fatal error LNK1104: cannot open file 'game.def'  (Read 1148 times)

Online stahta01

  • Lives here!
  • ****
  • Posts: 6749
    • My Best Post
Re: fatal error LNK1104: cannot open file 'game.def'
« Reply #30 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.
« Last Edit: January 14, 2020, 10:09:43 pm by stahta01 »
C Programmer working to learn more about C++ and Git.
On Windows 7 64 bit and Windows 10 32 bit.
On Debian Stretch, compiling CB Trunk against wxWidgets 3.0.
--
When in doubt, read the CB WiKi FAQ. http://wiki.codeblocks.org

Offline THE_SUFFERER

  • Multiple posting newcomer
  • *
  • Posts: 20
Re: fatal error LNK1104: cannot open file 'game.def'
« Reply #31 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?

Online stahta01

  • Lives here!
  • ****
  • Posts: 6749
    • My Best Post
Re: fatal error LNK1104: cannot open file 'game.def'
« Reply #32 on: January 14, 2020, 11:13:00 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?

I would do this one
1) "Project name" ---> Compiler Settings ---> #defines


Edit: Does make a difference if you have multiple targets; but, adding it to either one should work.
Note: Adding it to both could result in a warning.

Edit2: Global Compiler Settings applies to every use of the Compiler as in all projects that use that Compiler.

Tim S.
« Last Edit: January 14, 2020, 11:19:18 pm by stahta01 »
C Programmer working to learn more about C++ and Git.
On Windows 7 64 bit and Windows 10 32 bit.
On Debian Stretch, compiling CB Trunk against wxWidgets 3.0.
--
When in doubt, read the CB WiKi FAQ. http://wiki.codeblocks.org

Offline THE_SUFFERER

  • Multiple posting newcomer
  • *
  • Posts: 20
Re: fatal error LNK1104: cannot open file 'game.def'
« Reply #33 on: January 15, 2020, 11:28:59 pm »
 ;DH-A-P-P-I-N-E-S-S ;D

Code: [Select]

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

cl.exe /nologo /DWIN32  /Ox /Og /W3 /DBUILD_DLL /DNDEBUG  /Ox /W3 /DWIN32   /ID:\KingpinDev\Code\CodeBlock\CodeBlocks\ToolKit\include /c Source\AI_BITCH.C /Foobj\Release\Source\AI_BITCH.obj
cl.exe /nologo /DWIN32  /Ox /Og /W3 /DBUILD_DLL /DNDEBUG  /Ox /W3 /DWIN32   /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 /DWIN32  /Ox /Og /W3 /DBUILD_DLL /DNDEBUG  /Ox /W3 /DWIN32   /ID:\KingpinDev\Code\CodeBlock\CodeBlocks\ToolKit\include /c Source\AI_DOG.C /Foobj\Release\Source\AI_DOG.obj
cl.exe /nologo /DWIN32  /Ox /Og /W3 /DBUILD_DLL /DNDEBUG  /Ox /W3 /DWIN32   /ID:\KingpinDev\Code\CodeBlock\CodeBlocks\ToolKit\include /c Source\AI_PUNK.C /Foobj\Release\Source\AI_PUNK.obj
AI_PUNK.C
AI_DOG.C
cl.exe /nologo /DWIN32  /Ox /Og /W3 /DBUILD_DLL /DNDEBUG  /Ox /W3 /DWIN32   /ID:\KingpinDev\Code\CodeBlock\CodeBlocks\ToolKit\include /c Source\AI_RUNT.C /Foobj\Release\Source\AI_RUNT.obj
AI_RUNT.C
cl.exe /nologo /DWIN32  /Ox /Og /W3 /DBUILD_DLL /DNDEBUG  /Ox /W3 /DWIN32   /ID:\KingpinDev\Code\CodeBlock\CodeBlocks\ToolKit\include /c Source\ai_shorty.c /Foobj\Release\Source\ai_shorty.obj
ai_shorty.c
cl.exe /nologo /DWIN32  /Ox /Og /W3 /DBUILD_DLL /DNDEBUG  /Ox /W3 /DWIN32   /ID:\KingpinDev\Code\CodeBlock\CodeBlocks\ToolKit\include /c Source\ai_skinny.c /Foobj\Release\Source\ai_skinny.obj
cl.exe /nologo /DWIN32  /Ox /Og /W3 /DBUILD_DLL /DNDEBUG  /Ox /W3 /DWIN32   /ID:\KingpinDev\Code\CodeBlock\CodeBlocks\ToolKit\include /c Source\AI_THUG.C /Foobj\Release\Source\AI_THUG.obj
ai_skinny.c
cl.exe /nologo /DWIN32  /Ox /Og /W3 /DBUILD_DLL /DNDEBUG  /Ox /W3 /DWIN32   /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 /DWIN32  /Ox /Og /W3 /DBUILD_DLL /DNDEBUG  /Ox /W3 /DWIN32   /ID:\KingpinDev\Code\CodeBlock\CodeBlocks\ToolKit\include /c Source\AI_WHORE.C /Foobj\Release\Source\AI_WHORE.obj
cl.exe /nologo /DWIN32  /Ox /Og /W3 /DBUILD_DLL /DNDEBUG  /Ox /W3 /DWIN32   /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 /DWIN32  /Ox /Og /W3 /DBUILD_DLL /DNDEBUG  /Ox /W3 /DWIN32   /ID:\KingpinDev\Code\CodeBlock\CodeBlocks\ToolKit\include /c Source\ep_crystalpalace.c /Foobj\Release\Source\ep_crystalpalace.obj
cl.exe /nologo /DWIN32  /Ox /Og /W3 /DBUILD_DLL /DNDEBUG  /Ox /W3 /DWIN32   /ID:\KingpinDev\Code\CodeBlock\CodeBlocks\ToolKit\include /c Source\EP_LOG.C /Foobj\Release\Source\EP_LOG.obj
EP_LOG.C
ep_crystalpalace.c
cl.exe /nologo /DWIN32  /Ox /Og /W3 /DBUILD_DLL /DNDEBUG  /Ox /W3 /DWIN32   /ID:\KingpinDev\Code\CodeBlock\CodeBlocks\ToolKit\include /c Source\ep_posionville.c /Foobj\Release\Source\ep_posionville.obj
cl.exe /nologo /DWIN32  /Ox /Og /W3 /DBUILD_DLL /DNDEBUG  /Ox /W3 /DWIN32   /ID:\KingpinDev\Code\CodeBlock\CodeBlocks\ToolKit\include /c Source\ep_radiocity.c /Foobj\Release\Source\ep_radiocity.obj
ep_radiocity.c
ep_posionville.c
cl.exe /nologo /DWIN32  /Ox /Og /W3 /DBUILD_DLL /DNDEBUG  /Ox /W3 /DWIN32   /ID:\KingpinDev\Code\CodeBlock\CodeBlocks\ToolKit\include /c Source\ep_shipyards.c /Foobj\Release\Source\ep_shipyards.obj
cl.exe /nologo /DWIN32  /Ox /Og /W3 /DBUILD_DLL /DNDEBUG  /Ox /W3 /DWIN32   /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 /DWIN32  /Ox /Og /W3 /DBUILD_DLL /DNDEBUG  /Ox /W3 /DWIN32   /ID:\KingpinDev\Code\CodeBlock\CodeBlocks\ToolKit\include /c Source\ep_steeltown.c /Foobj\Release\Source\ep_steeltown.obj
cl.exe /nologo /DWIN32  /Ox /Og /W3 /DBUILD_DLL /DNDEBUG  /Ox /W3 /DWIN32   /ID:\KingpinDev\Code\CodeBlock\CodeBlocks\ToolKit\include /c Source\ep_trainyard.c /Foobj\Release\Source\ep_trainyard.obj
ep_steeltown.c
cl.exe /nologo /DWIN32  /Ox /Og /W3 /DBUILD_DLL /DNDEBUG  /Ox /W3 /DWIN32   /ID:\KingpinDev\Code\CodeBlock\CodeBlocks\ToolKit\include /c Source\G_AI.C /Foobj\Release\Source\G_AI.obj
ep_trainyard.c
cl.exe /nologo /DWIN32  /Ox /Og /W3 /DBUILD_DLL /DNDEBUG  /Ox /W3 /DWIN32   /ID:\KingpinDev\Code\CodeBlock\CodeBlocks\ToolKit\include /c Source\g_ai_ents.c /Foobj\Release\Source\g_ai_ents.obj
G_AI.C
g_ai_ents.c
cl.exe /nologo /DWIN32  /Ox /Og /W3 /DBUILD_DLL /DNDEBUG  /Ox /W3 /DWIN32   /ID:\KingpinDev\Code\CodeBlock\CodeBlocks\ToolKit\include /c Source\g_ai_fight.c /Foobj\Release\Source\g_ai_fight.obj
g_ai_fight.c
cl.exe /nologo /DWIN32  /Ox /Og /W3 /DBUILD_DLL /DNDEBUG  /Ox /W3 /DWIN32   /ID:\KingpinDev\Code\CodeBlock\CodeBlocks\ToolKit\include /c Source\g_ai_memory.c /Foobj\Release\Source\g_ai_memory.obj
cl.exe /nologo /DWIN32  /Ox /Og /W3 /DBUILD_DLL /DNDEBUG  /Ox /W3 /DWIN32   /ID:\KingpinDev\Code\CodeBlock\CodeBlocks\ToolKit\include /c Source\G_CAST.C /Foobj\Release\Source\G_CAST.obj
g_ai_memory.c
G_CAST.C
cl.exe /nologo /DWIN32  /Ox /Og /W3 /DBUILD_DLL /DNDEBUG  /Ox /W3 /DWIN32   /ID:\KingpinDev\Code\CodeBlock\CodeBlocks\ToolKit\include /c Source\G_CHASE.C /Foobj\Release\Source\G_CHASE.obj
cl.exe /nologo /DWIN32  /Ox /Og /W3 /DBUILD_DLL /DNDEBUG  /Ox /W3 /DWIN32   /ID:\KingpinDev\Code\CodeBlock\CodeBlocks\ToolKit\include /c Source\G_cmds.c /Foobj\Release\Source\G_cmds.obj
G_CHASE.C
cl.exe /nologo /DWIN32  /Ox /Og /W3 /DBUILD_DLL /DNDEBUG  /Ox /W3 /DWIN32   /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 /DWIN32  /Ox /Og /W3 /DBUILD_DLL /DNDEBUG  /Ox /W3 /DWIN32   /ID:\KingpinDev\Code\CodeBlock\CodeBlocks\ToolKit\include /c Source\G_FOG.C /Foobj\Release\Source\G_FOG.obj
cl.exe /nologo /DWIN32  /Ox /Og /W3 /DBUILD_DLL /DNDEBUG  /Ox /W3 /DWIN32   /ID:\KingpinDev\Code\CodeBlock\CodeBlocks\ToolKit\include /c Source\G_FUNC.C /Foobj\Release\Source\G_FUNC.obj
G_FUNC.C
G_FOG.C
cl.exe /nologo /DWIN32  /Ox /Og /W3 /DBUILD_DLL /DNDEBUG  /Ox /W3 /DWIN32   /ID:\KingpinDev\Code\CodeBlock\CodeBlocks\ToolKit\include /c Source\G_items.c /Foobj\Release\Source\G_items.obj
G_items.c
cl.exe /nologo /DWIN32  /Ox /Og /W3 /DBUILD_DLL /DNDEBUG  /Ox /W3 /DWIN32   /ID:\KingpinDev\Code\CodeBlock\CodeBlocks\ToolKit\include /c Source\g_joe_misc.c /Foobj\Release\Source\g_joe_misc.obj
cl.exe /nologo /DWIN32  /Ox /Og /W3 /DBUILD_DLL /DNDEBUG  /Ox /W3 /DWIN32   /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 /DWIN32  /Ox /Og /W3 /DBUILD_DLL /DNDEBUG  /Ox /W3 /DWIN32   /ID:\KingpinDev\Code\CodeBlock\CodeBlocks\ToolKit\include /c Source\G_MISC.C /Foobj\Release\Source\G_MISC.obj
G_MISC.C
cl.exe /nologo /DWIN32  /Ox /Og /W3 /DBUILD_DLL /DNDEBUG  /Ox /W3 /DWIN32   /ID:\KingpinDev\Code\CodeBlock\CodeBlocks\ToolKit\include /c Source\G_PAWN.C /Foobj\Release\Source\G_PAWN.obj
G_PAWN.C
cl.exe /nologo /DWIN32  /Ox /Og /W3 /DBUILD_DLL /DNDEBUG  /Ox /W3 /DWIN32   /ID:\KingpinDev\Code\CodeBlock\CodeBlocks\ToolKit\include /c Source\G_PHYS.C /Foobj\Release\Source\G_PHYS.obj
G_PHYS.C
cl.exe /nologo /DWIN32  /Ox /Og /W3 /DBUILD_DLL /DNDEBUG  /Ox /W3 /DWIN32   /ID:\KingpinDev\Code\CodeBlock\CodeBlocks\ToolKit\include /c Source\G_save.c /Foobj\Release\Source\G_save.obj
G_save.c
cl.exe /nologo /DWIN32  /Ox /Og /W3 /DBUILD_DLL /DNDEBUG  /Ox /W3 /DWIN32   /ID:\KingpinDev\Code\CodeBlock\CodeBlocks\ToolKit\include /c Source\G_spawn.c /Foobj\Release\Source\G_spawn.obj
cl.exe /nologo /DWIN32  /Ox /Og /W3 /DBUILD_DLL /DNDEBUG  /Ox /W3 /DWIN32   /ID:\KingpinDev\Code\CodeBlock\CodeBlocks\ToolKit\include /c Source\G_SVCMDS.C /Foobj\Release\Source\G_SVCMDS.obj
G_spawn.c
cl.exe /nologo /DWIN32  /Ox /Og /W3 /DBUILD_DLL /DNDEBUG  /Ox /W3 /DWIN32   /ID:\KingpinDev\Code\CodeBlock\CodeBlocks\ToolKit\include /c Source\G_TARGET.C /Foobj\Release\Source\G_TARGET.obj
G_SVCMDS.C
cl.exe /nologo /DWIN32  /Ox /Og /W3 /DBUILD_DLL /DNDEBUG  /Ox /W3 /DWIN32   /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 /DWIN32  /Ox /Og /W3 /DBUILD_DLL /DNDEBUG  /Ox /W3 /DWIN32   /ID:\KingpinDev\Code\CodeBlock\CodeBlocks\ToolKit\include /c Source\g_trigger.c /Foobj\Release\Source\g_trigger.obj
cl.exe /nologo /DWIN32  /Ox /Og /W3 /DBUILD_DLL /DNDEBUG  /Ox /W3 /DWIN32   /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 /DWIN32  /Ox /Og /W3 /DBUILD_DLL /DNDEBUG  /Ox /W3 /DWIN32   /ID:\KingpinDev\Code\CodeBlock\CodeBlocks\ToolKit\include /c Source\G_WEAPON.C /Foobj\Release\Source\G_WEAPON.obj
cl.exe /nologo /DWIN32  /Ox /Og /W3 /DBUILD_DLL /DNDEBUG  /Ox /W3 /DWIN32   /ID:\KingpinDev\Code\CodeBlock\CodeBlocks\ToolKit\include /c Source\M_BBOX.C /Foobj\Release\Source\M_BBOX.obj
M_BBOX.C
G_WEAPON.C
cl.exe /nologo /DWIN32  /Ox /Og /W3 /DBUILD_DLL /DNDEBUG  /Ox /W3 /DWIN32   /ID:\KingpinDev\Code\CodeBlock\CodeBlocks\ToolKit\include /c Source\M_MOVE.C /Foobj\Release\Source\M_MOVE.obj
M_MOVE.C
cl.exe /nologo /DWIN32  /Ox /Og /W3 /DBUILD_DLL /DNDEBUG  /Ox /W3 /DWIN32   /ID:\KingpinDev\Code\CodeBlock\CodeBlocks\ToolKit\include /c Source\P_client.c /Foobj\Release\Source\P_client.obj
P_client.c
cl.exe /nologo /DWIN32  /Ox /Og /W3 /DBUILD_DLL /DNDEBUG  /Ox /W3 /DWIN32   /ID:\KingpinDev\Code\CodeBlock\CodeBlocks\ToolKit\include /c Source\P_HUD.C /Foobj\Release\Source\P_HUD.obj
P_HUD.C
cl.exe /nologo /DWIN32  /Ox /Og /W3 /DBUILD_DLL /DNDEBUG  /Ox /W3 /DWIN32   /ID:\KingpinDev\Code\CodeBlock\CodeBlocks\ToolKit\include /c Source\P_TRAIL.C /Foobj\Release\Source\P_TRAIL.obj
cl.exe /nologo /DWIN32  /Ox /Og /W3 /DBUILD_DLL /DNDEBUG  /Ox /W3 /DWIN32   /ID:\KingpinDev\Code\CodeBlock\CodeBlocks\ToolKit\include /c Source\P_VIEW.C /Foobj\Release\Source\P_VIEW.obj
P_TRAIL.C
cl.exe /nologo /DWIN32  /Ox /Og /W3 /DBUILD_DLL /DNDEBUG  /Ox /W3 /DWIN32   /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 /DWIN32  /Ox /Og /W3 /DBUILD_DLL /DNDEBUG  /Ox /W3 /DWIN32   /ID:\KingpinDev\Code\CodeBlock\CodeBlocks\ToolKit\include /c Source\Q_SHARED.C /Foobj\Release\Source\Q_SHARED.obj
Q_SHARED.C
cl.exe /nologo /DWIN32  /Ox /Og /W3 /DBUILD_DLL /DNDEBUG  /Ox /W3 /DWIN32   /ID:\KingpinDev\Code\CodeBlock\CodeBlocks\ToolKit\include /c Source\VEHICLES.C /Foobj\Release\Source\VEHICLES.obj
cl.exe /nologo /DWIN32  /Ox /Og /W3 /DBUILD_DLL /DNDEBUG  /Ox /W3 /DWIN32   /ID:\KingpinDev\Code\CodeBlock\CodeBlocks\ToolKit\include /c Source\VOICE.C /Foobj\Release\Source\VOICE.obj
VOICE.C
VEHICLES.C
cl.exe /nologo /DWIN32  /Ox /Og /W3 /DBUILD_DLL /DNDEBUG  /Ox /W3 /DWIN32   /ID:\KingpinDev\Code\CodeBlock\CodeBlocks\ToolKit\include /c Source\voice_bitch.c /Foobj\Release\Source\voice_bitch.obj
cl.exe /nologo /DWIN32  /Ox /Og /W3 /DBUILD_DLL /DNDEBUG  /Ox /W3 /DWIN32   /ID:\KingpinDev\Code\CodeBlock\CodeBlocks\ToolKit\include /c Source\voice_punk.c /Foobj\Release\Source\voice_punk.obj
voice_bitch.c
voice_punk.c
link.exe /dll /nologo /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
Output file is bin\Release\Gamex86.dll with size 1.07 MB
Process terminated with status 0 (0 minute(s), 8 second(s))
0 error(s), 0 warning(s) (0 minute(s), 8 second(s))


And a little story now. All of this is very important for me. I've been struggling with depression pretty hard. I even had a special suicide plan for the future. I even was in a mental hospital. I don't know what to do and what is going on. Many things have happened. One of the ways to get it all over is to get distracted. Gaming - this is what I have discovered. If to say preciser - modding. I faced this hobby some months ago. My mind just blasted. I couldn't sleep, neither could I eat and so forth. Well, I hadn't been able to before, either but this time it's because of something what gives you some good emotions. So, modding became my sense of life or something like that. I started working with TrenchBroom if someone knows what it is. I've had some tortures with it, too and with Blender and with a lot of converters, editors, map compilers and so on. I was going to bed at 6-7 am because in the afternoon I was thinking about what I could mode and at night I was doing it.

When time came for a first compilation, because I even started learning C, I failed. Everything failed. No CodeBlocks, no Visual Stuido were helping me. It's like you are coming back to reality and starting thinking about what brought you to the suicide plan. I couldn't believe I had to say "Goodbye" to my gaming dream. I am a perfectionist. If I start something and fail it I can't deal with anything like that anymore. So, if I fail with modding for Kingpin, I can't play it anymore because everything will be reminding me of my lose with this awesome game. It was the only thing I could be distracted by.

So, I decided to give in right 6 days ago. And the hell started. You wake up and remember about the stuff you've been busy with for a couple of months up to now. You go out and every building corner reminds you of Kingpin. I am lucky to live in a place which is almost full of aggressive gangsters, too, and all of these retro styled atmosphere. So, every step in my town was a direct easter egg. This way I was trying to finally compile something in CodeBlock anyway because I was going to learn C even further and make my own mod. Actually the day before yesterday I managed to compile the same SDK in Visual Studio 12. Just I read on Kingpin.Info that VS didn't have some "resource editor" and I got some worry that it wasn't as good as CodeBlocks was. And the sad moment is when I saw the compilation log of Visual Studio, I understood that sex was an absolute and total "nothing" in comparison with that feeling. It was a boundless euphoria... But anyway I worried that I had won the battle with Visual Studio, not with CodeBlocks. But yesterday I added that sacrosanct "WIN32" and this happened...

I still can't believe it works now. I thought it was impossible or something. It's like when you want something THAT HAAAAAAARD, you don't think it's possible in reality anymore. But it is... And I don't know how to react on it. I thought that even if it happened one day I would be so much happy that I would be able to die of happiness but I didn't ;D And it's kinda you overrated something, then you got it and you didn't get THAT amount of pleasure you thought you would. And you have only emptiness in the soul. It turned out to be so simple - some mouse setting clicks and you have the Heaven. Unbelievable... I have my distraction now and can be swallowed by it completely. It's the whole world. Weeeeeeeeeeeell,  just have to get accustomed to being able to compile now without a problem.

I even do some test compilations now constantly just to be sure that it REALLY works because I've been suffering for the whole 6 days. A feeling of being reborn. Now taking my own life away isn't worth it. Now, no, not anymore. Guys, everybody who was helping me. Thank You! I am wishing you all happiness, smiling, the best emotions and the bestest health ever because nothing is possible without the health! I am wishing it to you with all my heart! You have reanimated my dream and now I've gotten my drug again. You see, I didn't have another option. Either I would solve this task or I would end up with a shotgun in my hands or on a bridge or something because it had already been a part of my plan before, so it's not something new. Well, thank You all! I am happy. And I am sorry if I seemed to be annoying and dumb and doing actions randomly. I was just trying to bring my dream back to life. And you helped me. Thank You  ;D

The Sufferer has become The Delighter :-*