Win 7 - Visual C++ 2010 Express help needed

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

Moderator: MacroQuest Developers

tekno
a lesser mummy
a lesser mummy
Posts: 56
Joined: Sat Nov 12, 2005 1:04 am

Win 7 - Visual C++ 2010 Express help needed

Post by tekno » Sun Aug 15, 2010 9:55 pm

Sorry guys,

I use to use XP and Visual C++ 6.0 ( plus all the upgrades ) but have switched over to Windows 7 and Visual C++ 2010 Express. Now I needed help.

I downloaded the latest MQ2 and have read both the "Wiki Compile" (http://www.macroquest2.com/wiki/index.p ... :Compiling) as well as the "The Complete Idiots Guide to MQ2 and plugins" ( viewtopic.php?t=6310 )


Now on my first build with Visual C++ 2010 Express and I get the error below - Im sure it a setting problem but I dont know enough of VC++ 2010 to find it. Besides the 7>LINK : fatal error LNK1104: cannot open file 'MQ2Main.lib' error I havent found out how to get it to selected the projects

1>------ Build started: Project: MQ2Main, Configuration: Release Win32 ------
2>------ Skipped Build: Project: MQ2Bzsrch, Configuration: Release Win32 ------
2>Project not selected to build for this solution configuration
3>------ Skipped Build: Project: MQ2EQIM, Configuration: Release Win32 ------
3>Project not selected to build for this solution configuration
4>------ Skipped Build: Project: MQ2Irc, Configuration: Release Win32 ------
4>Project not selected to build for this solution configuration
5>------ Skipped Build: Project: MQ2CustomBinds, Configuration: Release Win32 ------
5>Project not selected to build for this solution configuration
6>------ Skipped Build: Project: MQ2EQBugFix, Configuration: Release Win32 ------
6>Project not selected to build for this solution configuration
7>------ Build started: Project: mq2telnet, Configuration: Release Win32 ------
8>------ Skipped Build: Project: MQ2ChatWnd, Configuration: Release Win32 ------
8>Project not selected to build for this solution configuration
9>------ Skipped Build: Project: MQ2ItemDisplay, Configuration: Release Win32 ------
9>Project not selected to build for this solution configuration
10>------ Skipped Build: Project: MQ2Map, Configuration: Release Win32 ------
10>Project not selected to build for this solution configuration
11>------ Skipped Build: Project: MQ2Labels, Configuration: Release Win32 ------
11>Project not selected to build for this solution configuration
7> TelnetServer.cpp
1> EQClasses.cpp
7>c:\users\XXX\documents\visual studio projects\mq2\MQ2Main/MQ2Main.h(22): warning C4005: '_WIN32_WINNT' : macro redefinition
7> C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\include\sdkddkver.h(197) : see previous definition of '_WIN32_WINNT'
7> EQLIB_IMPORTS
1> MQ2Auth.cpp
7> WinTelnet.cpp
7> mq2telnet.cpp
1> MQ2Benchmarks.cpp
7> EQLIB_IMPORTS
7> Generating Code...
1> MQ2ChatHook.cpp
7> Microsoft (R) Incremental Linker Version 10.00.30319.01
7> Copyright (C) Microsoft Corporation. All rights reserved.
7>
7> "/OUT:..\Release\MQ2Telnet.dll" /INCREMENTAL:NO /LIBPATH:..\Detours\lib /LIBPATH:..\Release 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 /MANIFEST "/ManifestFile:.\Intermediate\mq2telnet.dll.intermediate.manifest" "/MANIFESTUAC:level='asInvoker' uiAccess='false'" /DEBUG "/PDB:C:\Users\XXX\Documents\Visual Studio Projects\MQ2\Release\mq2telnet.pdb" /MAP /MAPINFO:EXPORTS /SUBSYSTEM:WINDOWS /OPT:NOREF /OPT:NOICF /TLBID:1 "/BASE:0x04000000" /DYNAMICBASE /NXCOMPAT "/IMPLIB:..\Release\MQ2Telnet.lib" /MACHINE:X86 /DLL .\Intermediate\TelnetServer.obj
7> .\Intermediate\WinTelnet.obj
7> .\Intermediate\mq2telnet.obj /OPT:NOICF
7>LINK : fatal error LNK1104: cannot open file 'MQ2Main.lib'
1> MQ2CleanUI.cpp
1> MQ2CommandAPI.cpp
1> MQ2Commands.cpp
1>MQ2Commands.cpp(1854): warning C4800: 'CHAR' : forcing value to bool 'true' or 'false' (performance warning)
1> MQ2DInput.cpp
1> MQ2Data.cpp
1> MQ2DataAPI.cpp
1> MQ2DataTypes.cpp
1> MQ2DataVars.cpp
1> MQ2DetourAPI.cpp
1> MQ2Globals.cpp
1> MQ2KeyBinds.cpp
1> MQ2MacroCommands.cpp
1> MQ2Main.cpp
1> EQLIB_EXPORTS
1> MQ2Mouse.cpp
1> MQ2ParseAPI.cpp
1> MQ2PluginHandler.cpp
1> Generating Code...
1> Compiling...
1> MQ2Pulse.cpp
1> MQ2Spawns.cpp
1> MQ2Utilities.cpp
1> MQ2Windows.cpp
1> Generating Code...
1> Microsoft (R) Incremental Linker Version 10.00.30319.01
1> Copyright (C) Microsoft Corporation. All rights reserved.
1>
1> "/OUT:..\Release\MQ2Main.dll" /INCREMENTAL:NO /LIBPATH:..\Detours\lib 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 /MANIFEST "/ManifestFile:.\Intermediate\MQ2Main.dll.intermediate.manifest" "/MANIFESTUAC:level='asInvoker' uiAccess='false'" /DEBUG "/PDB:C:\Users\XXX\Documents\Visual Studio Projects\MQ2\Release\MQ2Main.pdb" /MAP /MAPINFO:EXPORTS /SUBSYSTEM:WINDOWS /OPT:NOREF /OPT:NOICF /TLBID:1 "/BASE:0x03000000" /DYNAMICBASE /NXCOMPAT "/IMPLIB:..\Release\MQ2Main.lib" /MACHINE:X86 /DLL .\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\MQ2DInput.obj
1> .\Intermediate\MQ2Data.obj
1> .\Intermediate\MQ2DataAPI.obj
1> .\Intermediate\MQ2DataTypes.obj
1> .\Intermediate\MQ2DataVars.obj
1> .\Intermediate\MQ2DetourAPI.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 /OPT:NOICF
1> Creating library ..\Release\MQ2Main.lib and object ..\Release\MQ2Main.exp
1> MQ2Main.vcxproj -> C:\Users\XXX\Documents\Visual Studio Projects\MQ2\MQ2Main\..\Release\MQ2Main.dll
12>------ Build started: Project: MQ2HUD, Configuration: Release Win32 ------
13>------ Build started: Project: MQ2Chat, Configuration: Release Win32 ------
13> MQ2Chat.cpp
12> MQ2HUD.cpp
12> EQLIB_IMPORTS
13> EQLIB_IMPORTS
13> Microsoft (R) Incremental Linker Version 10.00.30319.01
13> Copyright (C) Microsoft Corporation. All rights reserved.
13>
13> "/OUT:..\Release\MQ2Chat.dll" /INCREMENTAL:NO /LIBPATH:..\Detours\lib /LIBPATH:..\Release 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 /MANIFEST "/ManifestFile:.\Intermediate\MQ2Chat.dll.intermediate.manifest" "/MANIFESTUAC:level='asInvoker' uiAccess='false'" /DEBUG "/PDB:C:\Users\XXX\Documents\Visual Studio Projects\MQ2\Release\MQ2Chat.pdb" /MAP /MAPINFO:EXPORTS /SUBSYSTEM:WINDOWS /OPT:NOREF /OPT:NOICF /TLBID:1 "/BASE:0x04000000" /DYNAMICBASE /NXCOMPAT "/IMPLIB:..\Release\MQ2Chat.lib" /MACHINE:X86 /DLL .\Intermediate\MQ2Chat.obj
13> "C:\Users\XXX\Documents\Visual Studio Projects\MQ2\Release\MQ2Main.lib" /OPT:NOICF
13> Creating library ..\Release\MQ2Chat.lib and object ..\Release\MQ2Chat.exp
12> Microsoft (R) Incremental Linker Version 10.00.30319.01
12> Copyright (C) Microsoft Corporation. All rights reserved.
12>
12> "/OUT:..\Release\MQ2HUD.dll" /INCREMENTAL:NO /LIBPATH:..\Detours\lib /LIBPATH:..\Release 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 /MANIFEST "/ManifestFile:.\Intermediate\MQ2HUD.dll.intermediate.manifest" "/MANIFESTUAC:level='asInvoker' uiAccess='false'" /DEBUG "/PDB:C:\Users\XXX\Documents\Visual Studio Projects\MQ2\Release\MQ2HUD.pdb" /MAP /MAPINFO:EXPORTS /SUBSYSTEM:WINDOWS /OPT:NOREF /OPT:NOICF /TLBID:1 "/BASE:0x04000000" /DYNAMICBASE /NXCOMPAT "/IMPLIB:..\Release\MQ2HUD.lib" /MACHINE:X86 /DLL .\Intermediate\MQ2HUD.obj
12> "C:\Users\XXX\Documents\Visual Studio Projects\MQ2\Release\MQ2Main.lib" /OPT:NOICF
12> Creating library ..\Release\MQ2HUD.lib and object ..\Release\MQ2HUD.exp
13> MQ2Chat.vcxproj -> C:\Users\XXX\Documents\Visual Studio Projects\MQ2\MQ2Chat\..\Release\MQ2Chat.dll
12> MQ2HUD.vcxproj -> C:\Users\XXX\Documents\Visual Studio Projects\MQ2\MQ2HUD\..\Release\MQ2HUD.dll
========== Build: 3 succeeded, 1 failed, 0 up-to-date, 9 skipped ==========

User avatar
dont_know_at_all
Developer
Developer
Posts: 5450
Joined: Sun Dec 01, 2002 4:15 am
Location: Florida, USA
Contact:

Re: Win 7 - Visual C++ 2010 Express help needed

Post by dont_know_at_all » Sun Aug 15, 2010 10:18 pm

Build mq2main ***BEFORE*** mq2telnet.

tekno
a lesser mummy
a lesser mummy
Posts: 56
Joined: Sat Nov 12, 2005 1:04 am

Re: Win 7 - Visual C++ 2010 Express help needed

Post by tekno » Sun Aug 15, 2010 11:30 pm

dont_know_at_all wrote:Build mq2main ***BEFORE*** mq2telnet.
dont_know_at_all - I right clicked EQmain in the Solution Explorer and set EQmain at the top of the build order with no real luck

tekno
a lesser mummy
a lesser mummy
Posts: 56
Joined: Sat Nov 12, 2005 1:04 am

Re: Win 7 - Visual C++ 2010 Express help needed

Post by tekno » Mon Aug 16, 2010 1:29 am

ok Im a goof - I just noticed that I didnt post this question in the VIP help area - anyway it can be moved.

User avatar
pms
a grimling bloodguard
a grimling bloodguard
Posts: 663
Joined: Mon Jan 31, 2005 5:20 pm
Location: Internet, Earth
Contact:

Re: Win 7 - Visual C++ 2010 Express help needed

Post by pms » Mon Aug 16, 2010 9:37 am


tekno
a lesser mummy
a lesser mummy
Posts: 56
Joined: Sat Nov 12, 2005 1:04 am

Re: Win 7 - Visual C++ 2010 Express help needed

Post by tekno » Mon Aug 16, 2010 7:49 pm


thanks man - I saw what I had missed.

caj
a hill giant
a hill giant
Posts: 244
Joined: Tue Sep 12, 2006 9:35 am

Re: Win 7 - Visual C++ 2010 Express help needed

Post by caj » Wed Dec 01, 2010 9:27 pm

I also upgraded my os to win7 and Visual C++2010. My problems stemmed from the fact I couldnt do a build batch. Little did I know the settings were not all properly set. Make sure to check the tab;

Tools -> Settings -> check Expert Settings

once that was changed I finally got my Build tab.