Compilation Error

Need help running MacroQuest2? Ask your questions about how to get things to work on your computer.

Moderator: MacroQuest Developers

brainiac
a hill giant
a hill giant
Posts: 154
Joined: Mon May 17, 2004 6:52 pm

Re: Compilation Error

Post by brainiac » Wed Apr 20, 2011 4:54 pm

Anybody using vs6 should seriously consider upgrading. VC++ 6.0 was a very non-standards-compliant and just all-round terrible compiler

dewey2461
Contributing Member
Contributing Member
Posts: 1759
Joined: Sun Apr 17, 2005 1:53 am

Re: Compilation Error

Post by dewey2461 » Wed Apr 20, 2011 8:59 pm

I actually like VC 6 a lot more than the newer bloated microsoft compilers. Each new version slows down my compiles.

brainiac
a hill giant
a hill giant
Posts: 154
Joined: Mon May 17, 2004 6:52 pm

Re: Compilation Error

Post by brainiac » Thu Apr 21, 2011 12:29 am

perhaps you should consider upgrading to vs2010 with its parallel build support, and say goodbye to a 13 year old compiler.

habiskurus
decaying skeleton
decaying skeleton
Posts: 9
Joined: Sun Apr 23, 2006 6:25 pm

Re: Compilation Error

Post by habiskurus » Mon May 23, 2011 8:29 pm

sorry if i'm not right posting this here, but thought that it would be ok:

i have been compiling mq2 with no programming knowledge but just the directions here. just tried to compile last version and got the following error; could anyone point out what i'm doing wrong pls? (sorry for lenght)

Code: Select all

1>------ Rebuild All started: Project: MQ2Main, Configuration: Release Win32 ------
2>------ Rebuild All started: Project: MQ2Bzsrch, Configuration: Release Win32 ------
1>Deleting intermediate and output files for project 'MQ2Main', configuration 'Release|Win32'
2>Deleting intermediate and output files for project 'MQ2Bzsrch', configuration 'Release|Win32'
2>Compiling...
1>Compiling...
2>MQ2Bzsrch.cpp
1>MQ2Windows.cpp
2>EQLIB_IMPORTS
1>MQ2Utilities.cpp
2>Linking...
2>Microsoft (R) Incremental Linker Version 9.00.21022.08
2>Copyright (C) Microsoft Corporation.  All rights reserved.
2>"/OUT:..\Release/MQ2Bzsrch.dll" /INCREMENTAL:NO "/LIBPATH:..\Detours\lib" "/LIBPATH:..\Release" /DLL /MANIFEST "/MANIFESTFILE:.\Intermediate\MQ2Bzsrch.dll.intermediate.manifest" "/MANIFESTUAC:level='asInvoker' uiAccess='false'" /DEBUG "/PDB:c:\Macroquest\Release\MQ2Bzsrch.pdb" /MAP /MAPINFO:EXPORTS /SUBSYSTEM:WINDOWS /OPT:NOREF /OPT:NOICF "/BASE:0x04000000" /DYNAMICBASE:NO "/IMPLIB:..\Release/MQ2Bzsrch.lib" /MACHINE:X86 /OPT:NOICF wsock32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib 
2>".\Intermediate\MQ2Bzsrch.obj" 
2>LINK : fatal error LNK1104: cannot open file 'MQ2Main.lib'
2>Build log was saved at "file://c:\Macroquest\MQ2Bzsrch\Intermediate\BuildLog.htm"
2>MQ2Bzsrch - 1 error(s), 0 warning(s)
3>------ Rebuild All started: Project: MQ2EQIM, Configuration: Release Win32 ------
3>Deleting intermediate and output files for project 'MQ2EQIM', configuration 'Release|Win32'
3>Compiling...
3>MQ2EQIM.cpp
1>MQ2Spawns.cpp
1>MQ2Pulse.cpp
3>EQLIB_IMPORTS
3>Linking...
3>Microsoft (R) Incremental Linker Version 9.00.21022.08
3>Copyright (C) Microsoft Corporation.  All rights reserved.
3>"/OUT:..\Release/MQ2EQIM.dll" /INCREMENTAL:NO "/LIBPATH:..\Detours\lib" "/LIBPATH:..\Release" /DLL /MANIFEST "/MANIFESTFILE:.\Intermediate\MQ2EQIM.dll.intermediate.manifest" "/MANIFESTUAC:level='asInvoker' uiAccess='false'" /DEBUG "/PDB:c:\Macroquest\Release\MQ2EQIM.pdb" /MAP /MAPINFO:EXPORTS /SUBSYSTEM:WINDOWS /OPT:NOREF /OPT:NOICF "/BASE:0x04000000" /DYNAMICBASE:NO "/IMPLIB:..\Release/MQ2EQIM.lib" /MACHINE:X86 /OPT:NOICF wsock32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib 
3>".\Intermediate\MQ2EQIM.obj" 
3>LINK : fatal error LNK1104: cannot open file 'MQ2Main.lib'
3>Build log was saved at "file://c:\Macroquest\MQ2EQIM\Intermediate\BuildLog.htm"
3>MQ2EQIM - 1 error(s), 0 warning(s)
1>MQ2PluginHandler.cpp
4>------ Rebuild All started: Project: MQ2Irc, Configuration: Release Win32 ------
4>Deleting intermediate and output files for project 'MQ2Irc', configuration 'Release|Win32'
4>Compiling...
4>MQ2Irc.cpp
1>MQ2ParseAPI.cpp
4>EQLIB_IMPORTS
4>.\MQ2Irc.cpp(144) : warning C4101: 'Whatever' : unreferenced local variable
4>Linking...
4>Microsoft (R) Incremental Linker Version 9.00.21022.08
4>Copyright (C) Microsoft Corporation.  All rights reserved.
4>"/OUT:..\Release/MQ2Irc.dll" /INCREMENTAL:NO "/LIBPATH:..\Detours\lib" "/LIBPATH:..\Release" /DLL /MANIFEST "/MANIFESTFILE:.\Intermediate\MQ2Irc.dll.intermediate.manifest" "/MANIFESTUAC:level='asInvoker' uiAccess='false'" /DEBUG "/PDB:c:\Macroquest\Release\MQ2Irc.pdb" /MAP /MAPINFO:EXPORTS /SUBSYSTEM:WINDOWS /OPT:NOREF /OPT:NOICF "/BASE:0x04000000" /DYNAMICBASE:NO "/IMPLIB:..\Release/MQ2Irc.lib" /MACHINE:X86 /OPT:NOICF wsock32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib 
4>".\Intermediate\MQ2Irc.obj" 
4>LINK : fatal error LNK1104: cannot open file 'MQ2Main.lib'
4>Build log was saved at "file://c:\Macroquest\MQ2Irc\Intermediate\BuildLog.htm"
4>MQ2Irc - 1 error(s), 1 warning(s)
1>MQ2Mouse.cpp
5>------ Rebuild All started: Project: MQ2CustomBinds, Configuration: Release Win32 ------
5>Deleting intermediate and output files for project 'MQ2CustomBinds', configuration 'Release|Win32'
5>Compiling...
5>MQ2CustomBinds.cpp
1>MQ2Main.cpp
5>EQLIB_IMPORTS
1>EQLIB_EXPORTS
5>Linking...
1>MQ2MacroCommands.cpp
5>Microsoft (R) Incremental Linker Version 9.00.21022.08
5>Copyright (C) Microsoft Corporation.  All rights reserved.
5>"/OUT:..\Release/MQ2CustomBinds.dll" /INCREMENTAL:NO "/LIBPATH:..\Detours\lib" "/LIBPATH:..\Release" /DLL /MANIFEST "/MANIFESTFILE:.\Intermediate\MQ2CustomBinds.dll.intermediate.manifest" "/MANIFESTUAC:level='asInvoker' uiAccess='false'" /DEBUG "/PDB:c:\Macroquest\Release\MQ2CustomBinds.pdb" /MAP /MAPINFO:EXPORTS /SUBSYSTEM:WINDOWS /OPT:NOREF /OPT:NOICF "/BASE:0x04000000" /DYNAMICBASE:NO "/IMPLIB:..\Release/MQ2CustomBinds.lib" /MACHINE:X86 /OPT:NOICF wsock32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib 
5>".\Intermediate\MQ2CustomBinds.obj" 
5>LINK : fatal error LNK1104: cannot open file 'MQ2Main.lib'
5>Build log was saved at "file://c:\Macroquest\MQ2CustomBinds\Intermediate\BuildLog.htm"
5>MQ2CustomBinds - 1 error(s), 0 warning(s)
6>------ Rebuild All started: Project: MQ2EQBugFix, Configuration: Release Win32 ------
6>Deleting intermediate and output files for project 'MQ2EQBugFix', configuration 'Release|Win32'
6>Compiling...
6>MQ2EQBugFix.cpp
1>MQ2KeyBinds.cpp
6>EQLIB_IMPORTS
1>MQ2Globals.cpp
6>Linking...
6>Microsoft (R) Incremental Linker Version 9.00.21022.08
6>Copyright (C) Microsoft Corporation.  All rights reserved.
6>"/OUT:..\Release/MQ2EQBugFix.dll" /INCREMENTAL:NO "/LIBPATH:..\Detours\lib" "/LIBPATH:..\Release" /DLL /MANIFEST "/MANIFESTFILE:.\Intermediate\MQ2EQBugFix.dll.intermediate.manifest" "/MANIFESTUAC:level='asInvoker' uiAccess='false'" /DEBUG "/PDB:c:\Macroquest\Release\MQ2EQBugFix.pdb" /MAP /MAPINFO:EXPORTS /SUBSYSTEM:WINDOWS /OPT:NOREF /OPT:NOICF "/BASE:0x04000000" /DYNAMICBASE:NO "/IMPLIB:..\Release/MQ2EQBugFix.lib" /MACHINE:X86 /OPT:NOICF wsock32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib 
6>".\Intermediate\MQ2EQBugFix.obj" 
6>LINK : fatal error LNK1104: cannot open file 'MQ2Main.lib'
6>Build log was saved at "file://c:\Macroquest\MQ2EQBugFix\Intermediate\BuildLog.htm"
6>MQ2EQBugFix - 1 error(s), 0 warning(s)
7>------ Rebuild All started: Project: MQ2Telnet, Configuration: Release Win32 ------
7>Deleting intermediate and output files for project 'MQ2Telnet', configuration 'Release|Win32'
7>Compiling...
7>WinTelnet.cpp
1>MQ2DInput.cpp
7>TelnetServer.cpp
7>c:\macroquest\MQ2Main/MQ2Main.h(22) : warning C4005: '_WIN32_WINNT' : macro redefinition
7>        C:\Program Files\Microsoft SDKs\Windows\v6.0A\include\sdkddkver.h(151) : see previous definition of '_WIN32_WINNT'
1>MQ2DetourAPI.cpp
7>EQLIB_IMPORTS
7>mq2telnet.cpp
1>MQ2DataVars.cpp
7>EQLIB_IMPORTS
7>Generating Code...
7>Linking...
1>MQ2DataTypes.cpp
7>Microsoft (R) Incremental Linker Version 9.00.21022.08
7>Copyright (C) Microsoft Corporation.  All rights reserved.
7>"/OUT:..\Release/MQ2Telnet.dll" /INCREMENTAL:NO "/LIBPATH:..\Detours\lib" "/LIBPATH:..\Release" /DLL /MANIFEST "/MANIFESTFILE:.\Intermediate\MQ2Telnet.dll.intermediate.manifest" "/MANIFESTUAC:level='asInvoker' uiAccess='false'" /DEBUG "/PDB:c:\Macroquest\Release\MQ2Telnet.pdb" /MAP /MAPINFO:EXPORTS /SUBSYSTEM:WINDOWS /OPT:NOREF /OPT:NOICF "/BASE:0x04000000" /DYNAMICBASE:NO "/IMPLIB:..\Release/MQ2Telnet.lib" /MACHINE:X86 /OPT:NOICF wsock32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib 
7>".\Intermediate\mq2telnet.obj" 
7>".\Intermediate\TelnetServer.obj" 
7>".\Intermediate\WinTelnet.obj" 
7>LINK : fatal error LNK1104: cannot open file 'MQ2Main.lib'
7>Build log was saved at "file://c:\Macroquest\mq2telnet\Intermediate\BuildLog.htm"
7>MQ2Telnet - 1 error(s), 1 warning(s)
8>------ Rebuild All started: Project: MQ2ChatWnd, Configuration: Release Win32 ------
8>Deleting intermediate and output files for project 'MQ2ChatWnd', configuration 'Release|Win32'
8>Compiling...
8>MQ2ChatWnd.cpp
1>MQ2DataAPI.cpp
8>EQLIB_IMPORTS
1>MQ2Data.cpp
8>Linking...
8>Microsoft (R) Incremental Linker Version 9.00.21022.08
8>Copyright (C) Microsoft Corporation.  All rights reserved.
8>"/OUT:..\Release/MQ2ChatWnd.dll" /INCREMENTAL:NO "/LIBPATH:..\Detours\lib" "/LIBPATH:..\Release" /DLL /MANIFEST "/MANIFESTFILE:.\Intermediate\MQ2ChatWnd.dll.intermediate.manifest" "/MANIFESTUAC:level='asInvoker' uiAccess='false'" /DEBUG "/PDB:c:\Macroquest\Release\MQ2ChatWnd.pdb" /MAP /MAPINFO:EXPORTS /SUBSYSTEM:WINDOWS /OPT:NOREF /OPT:NOICF "/BASE:0x04000000" /DYNAMICBASE:NO "/IMPLIB:..\Release/MQ2ChatWnd.lib" /MACHINE:X86 /OPT:NOICF wsock32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib 
8>".\Intermediate\MQ2ChatWnd.obj" 
8>LINK : fatal error LNK1104: cannot open file 'MQ2Main.lib'
8>Build log was saved at "file://c:\Macroquest\MQ2ChatWnd\Intermediate\BuildLog.htm"
8>MQ2ChatWnd - 1 error(s), 0 warning(s)
9>------ Rebuild All started: Project: MQ2ItemDisplay, Configuration: Release Win32 ------
9>Deleting intermediate and output files for project 'MQ2ItemDisplay', configuration 'Release|Win32'
9>Compiling...
9>MQ2ItemDisplay.cpp
1>MQ2Commands.cpp
9>EQLIB_IMPORTS
1>MQ2CommandAPI.cpp
9>Linking...
9>Microsoft (R) Incremental Linker Version 9.00.21022.08
9>Copyright (C) Microsoft Corporation.  All rights reserved.
9>"/OUT:..\Release/MQ2ItemDisplay.dll" /INCREMENTAL:NO "/LIBPATH:..\Detours\lib" "/LIBPATH:..\Release" /DLL /MANIFEST "/MANIFESTFILE:.\Intermediate\MQ2ItemDisplay.dll.intermediate.manifest" "/MANIFESTUAC:level='asInvoker' uiAccess='false'" /DEBUG "/PDB:c:\Macroquest\Release\MQ2ItemDisplay.pdb" /MAP /MAPINFO:EXPORTS /SUBSYSTEM:WINDOWS /OPT:NOREF /OPT:NOICF "/BASE:0x04000000" /DYNAMICBASE:NO "/IMPLIB:..\Release/MQ2ItemDisplay.lib" /MACHINE:X86 /OPT:NOICF wsock32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib 
9>".\Intermediate\MQ2ItemDisplay.obj" 
9>LINK : fatal error LNK1104: cannot open file 'MQ2Main.lib'
9>Build log was saved at "file://c:\Macroquest\MQ2ItemDisplay\Intermediate\BuildLog.htm"
9>MQ2ItemDisplay - 1 error(s), 0 warning(s)
10>------ Rebuild All started: Project: MQ2Map, Configuration: Release Win32 ------
10>Deleting intermediate and output files for project 'MQ2Map', configuration 'Release|Win32'
10>Compiling...
10>MQ2MapCommands.cpp
1>MQ2CleanUI.cpp
10>EQLIB_IMPORTS
1>Generating Code...
10>MQ2MapAPI.cpp
10>EQLIB_IMPORTS
10>MQ2Map.cpp
10>EQLIB_IMPORTS
10>Generating Code...
10>Linking...
10>Microsoft (R) Incremental Linker Version 9.00.21022.08
10>Copyright (C) Microsoft Corporation.  All rights reserved.
10>"/OUT:..\Release/MQ2Map.dll" /INCREMENTAL:NO "/LIBPATH:..\Detours\lib" "/LIBPATH:..\Release" /DLL /MANIFEST "/MANIFESTFILE:.\Intermediate\MQ2Map.dll.intermediate.manifest" "/MANIFESTUAC:level='asInvoker' uiAccess='false'" /DEBUG "/PDB:c:\Macroquest\Release\MQ2Map.pdb" /MAP /MAPINFO:EXPORTS /SUBSYSTEM:WINDOWS /OPT:NOREF /OPT:NOICF "/BASE:0x04000000" /DYNAMICBASE:NO "/IMPLIB:..\Release/MQ2Map.lib" /MACHINE:X86 /OPT:NOICF wsock32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib 
10>".\Intermediate\MQ2Map.obj" 
10>".\Intermediate\MQ2MapAPI.obj" 
10>".\Intermediate\MQ2MapCommands.obj" 
10>LINK : fatal error LNK1104: cannot open file 'MQ2Main.lib'
10>Build log was saved at "file://c:\Macroquest\MQ2Map\Intermediate\BuildLog.htm"
10>MQ2Map - 1 error(s), 0 warning(s)
11>------ Rebuild All started: Project: MQ2Labels, Configuration: Release Win32 ------
11>Deleting intermediate and output files for project 'MQ2Labels', configuration 'Release|Win32'
11>Compiling...
11>MQ2Labels.cpp
11>EQLIB_IMPORTS
11>Linking...
11>Microsoft (R) Incremental Linker Version 9.00.21022.08
11>Copyright (C) Microsoft Corporation.  All rights reserved.
11>"/OUT:..\Release/MQ2Labels.dll" /INCREMENTAL:NO "/LIBPATH:..\Detours\lib" "/LIBPATH:..\Release" /DLL /MANIFEST "/MANIFESTFILE:.\Intermediate\MQ2Labels.dll.intermediate.manifest" "/MANIFESTUAC:level='asInvoker' uiAccess='false'" /DEBUG "/PDB:c:\Macroquest\Release\MQ2Labels.pdb" /MAP /MAPINFO:EXPORTS /SUBSYSTEM:WINDOWS /OPT:NOREF /OPT:NOICF "/BASE:0x04000000" /DYNAMICBASE:NO "/IMPLIB:..\Release/MQ2Labels.lib" /MACHINE:X86 /OPT:NOICF wsock32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib 
11>".\Intermediate\MQ2Labels.obj" 
11>LINK : fatal error LNK1104: cannot open file 'MQ2Main.lib'
11>Build log was saved at "file://c:\Macroquest\MQ2Labels\Intermediate\BuildLog.htm"
11>MQ2Labels - 1 error(s), 0 warning(s)
1>Compiling...
1>MQ2ChatHook.cpp
1>MQ2Benchmarks.cpp
1>MQ2Auth.cpp
1>EQClasses.cpp
1>Generating Code...
1>Linking...
1>Microsoft (R) Incremental Linker Version 9.00.21022.08
1>Copyright (C) Microsoft Corporation.  All rights reserved.
1>"/OUT:..\Release/MQ2Main.dll" /INCREMENTAL:NO "/LIBPATH:..\Detours\lib" /DLL /MANIFEST "/MANIFESTFILE:.\Intermediate\MQ2Main.dll.intermediate.manifest" "/MANIFESTUAC:level='asInvoker' uiAccess='false'" /DEBUG "/PDB:c:\Macroquest\Release\MQ2Main.pdb" /MAP /MAPINFO:EXPORTS /SUBSYSTEM:WINDOWS /OPT:NOREF /OPT:NOICF "/BASE:0x03000000" /DYNAMICBASE:NO "/IMPLIB:..\Release/MQ2Main.lib" /MACHINE:X86 /OPT:NOICF wsock32.lib winmm.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib 
1>".\Intermediate\EQClasses.obj" 
1>".\Intermediate\MQ2Auth.obj" 
1>".\Intermediate\MQ2Benchmarks.obj" 
1>".\Intermediate\MQ2ChatHook.obj" 
1>".\Intermediate\MQ2CleanUI.obj" 
1>".\Intermediate\MQ2CommandAPI.obj" 
1>".\Intermediate\MQ2Commands.obj" 
1>".\Intermediate\MQ2Data.obj" 
1>".\Intermediate\MQ2DataAPI.obj" 
1>".\Intermediate\MQ2DataTypes.obj" 
1>".\Intermediate\MQ2DataVars.obj" 
1>".\Intermediate\MQ2DetourAPI.obj" 
1>".\Intermediate\MQ2DInput.obj" 
1>".\Intermediate\MQ2Globals.obj" 
1>".\Intermediate\MQ2KeyBinds.obj" 
1>".\Intermediate\MQ2MacroCommands.obj" 
1>".\Intermediate\MQ2Main.obj" 
1>".\Intermediate\MQ2Mouse.obj" 
1>".\Intermediate\MQ2ParseAPI.obj" 
1>".\Intermediate\MQ2PluginHandler.obj" 
1>".\Intermediate\MQ2Pulse.obj" 
1>".\Intermediate\MQ2Spawns.obj" 
1>".\Intermediate\MQ2Utilities.obj" 
1>".\Intermediate\MQ2Windows.obj" 
1>   Creating library ..\Release/MQ2Main.lib and object ..\Release/MQ2Main.exp
1>Embedding manifest...
1>Build log was saved at "file://c:\Macroquest\MQ2Main\Intermediate\BuildLog.htm"
1>MQ2Main - 0 error(s), 0 warning(s)
12>------ Rebuild All started: Project: MQ2HUD, Configuration: Release Win32 ------
12>Deleting intermediate and output files for project 'MQ2HUD', configuration 'Release|Win32'
13>------ Rebuild All started: Project: MQ2Chat, Configuration: Release Win32 ------
13>Deleting intermediate and output files for project 'MQ2Chat', configuration 'Release|Win32'
12>Compiling...
13>Compiling...
12>MQ2HUD.cpp
13>MQ2Chat.cpp
13>EQLIB_IMPORTS
13>Linking...
13>Microsoft (R) Incremental Linker Version 9.00.21022.08
13>Copyright (C) Microsoft Corporation.  All rights reserved.
13>"/OUT:..\Release/MQ2Chat.dll" /INCREMENTAL:NO "/LIBPATH:..\Detours\lib" "/LIBPATH:..\Release" /DLL /MANIFEST "/MANIFESTFILE:.\Intermediate\MQ2Chat.dll.intermediate.manifest" "/MANIFESTUAC:level='asInvoker' uiAccess='false'" /DEBUG "/PDB:c:\Macroquest\Release\MQ2Chat.pdb" /MAP /MAPINFO:EXPORTS /SUBSYSTEM:WINDOWS /OPT:NOREF /OPT:NOICF "/BASE:0x04000000" /DYNAMICBASE:NO "/IMPLIB:..\Release/MQ2Chat.lib" /MACHINE:X86 /OPT:NOICF wsock32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib "..\release\mq2main.lib" 
13>".\Intermediate\MQ2Chat.obj" 
13>   Creating library ..\Release/MQ2Chat.lib and object ..\Release/MQ2Chat.exp
13>Embedding manifest...
12>EQLIB_IMPORTS
13>Build log was saved at "file://c:\Macroquest\MQ2Chat\Intermediate\BuildLog.htm"
13>MQ2Chat - 0 error(s), 0 warning(s)
12>Linking...
12>Microsoft (R) Incremental Linker Version 9.00.21022.08
12>Copyright (C) Microsoft Corporation.  All rights reserved.
12>"/OUT:..\Release/MQ2HUD.dll" /INCREMENTAL:NO "/LIBPATH:..\Detours\lib" "/LIBPATH:..\Release" /DLL /MANIFEST "/MANIFESTFILE:.\Intermediate\MQ2HUD.dll.intermediate.manifest" "/MANIFESTUAC:level='asInvoker' uiAccess='false'" /DEBUG "/PDB:c:\Macroquest\Release\MQ2HUD.pdb" /MAP /MAPINFO:EXPORTS /SUBSYSTEM:WINDOWS /OPT:NOREF /OPT:NOICF "/BASE:0x04000000" /DYNAMICBASE:NO "/IMPLIB:..\Release/MQ2HUD.lib" /MACHINE:X86 /OPT:NOICF wsock32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib "..\release\mq2main.lib" 
12>".\Intermediate\MQ2HUD.obj" 
12>   Creating library ..\Release/MQ2HUD.lib and object ..\Release/MQ2HUD.exp
12>Embedding manifest...
12>Build log was saved at "file://c:\Macroquest\MQ2HUD\Intermediate\BuildLog.htm"
12>MQ2HUD - 0 error(s), 0 warning(s)
========== Rebuild All: 3 succeeded, 10 failed, 0 skipped ==========

brainiac
a hill giant
a hill giant
Posts: 154
Joined: Mon May 17, 2004 6:52 pm

Re: Compilation Error

Post by brainiac » Mon May 23, 2011 10:18 pm

build mq2main first. OR just build it again (not a rebuild...)

habiskurus
decaying skeleton
decaying skeleton
Posts: 9
Joined: Sun Apr 23, 2006 6:25 pm

Re: Compilation Error

Post by habiskurus » Mon May 23, 2011 11:17 pm

hmm...
ty for fast reply.
this was second build (first build had same error messages) and i thought that rebuild was same with build (seems not). i had selected main as startup project. but when i looked at the configurations i had mistkenly chosen debug configuration instead of release. when i checked all in relaese, it buileded without errors. ty for the help :)

brainiac
a hill giant
a hill giant
Posts: 154
Joined: Mon May 17, 2004 6:52 pm

Re: Compilation Error

Post by brainiac » Tue May 24, 2011 3:10 am

rebuild does a clean, then a build.

the problem was dependencies weren't working, so plugins that need mq2main, were building before mq2main completes. easiest way to ensure that doesn't happen is right click mq2main in project list and click "build", then do a build solution.