Linking error??

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

Moderator: MacroQuest Developers

gistane
decaying skeleton
decaying skeleton
Posts: 4
Joined: Tue Jun 15, 2004 9:41 pm

Linking error??

Post by gistane » Mon Jul 19, 2004 5:15 am

Can anyone tell me why i get this when i try and compile

Linking...
Creating library ../Release/MQ2Main.lib and object ../Release/MQ2Main.exp
detours.lib(disasm.obj) : warning LNK4099: PDB "detours.pdb" was not found with "..\Detours\lib60\detours.lib" or at "D:\macroquest\Release\detours.pdb"; linking object as if no debug info
detours.lib(detours.obj) : warning LNK4099: PDB "detours.pdb" was not found with "..\Detours\lib60\detours.lib" or at "D:\macroquest\Release\detours.pdb"; linking object as if no debug info

User avatar
aChallenged1
a grimling bloodguard
a grimling bloodguard
Posts: 1804
Joined: Mon Jun 28, 2004 10:12 pm

Post by aChallenged1 » Mon Jul 19, 2004 8:30 am

That looks simular to the errors I was getting. Found out the problem was BKAC (between kb and chair).

Start fresh, download the zip, save your old macros and plugins by copying their folders to a new place outside of your MQ2 directory and then just follow the instructions in the readme file for compiling.

Personally, I've decided to keep the readme open when compiling so that I can make sure I'm doing it right. Minor mistakes will always screw up anything doing with computer programs.
Fuck writing MQ2 macros. Go with IS scripts; IS Rules!

dotone
decaying skeleton
decaying skeleton
Posts: 1
Joined: Mon Jul 19, 2004 12:12 pm

Post by dotone » Mon Jul 19, 2004 12:57 pm

I am also getting the exact same error message when compiling MQ2Main.dll (only differing because of the path).

Linking...
Creating library ../Release/MQ2Main.lib and object ../Release/MQ2Main.exp
detours.lib(disasm.obj) : warning LNK4099: PDB "detours.pdb" was not found with "..\Detours\lib60\detours.lib" or at "C:\Games\MQ2\NewDownload\compile\Release\detours.pdb"; linking object as if no debug info
detours.lib(detours.obj) : warning LNK4099: PDB "detours.pdb" was not found with "..\Detours\lib60\detours.lib" or at "C:\Games\MQ2\NewDownload\compile\Release\detours.pdb"; linking object as if no debug info

I am using MS Visual C++, and have installed the service pack. Error occurs the same before and after the installation of the service pack, so that wasn't it.
I have re-downloaded the zip file about 10 diffrent times, and all compile attempts on MQ2Main.dll have resulted in the same error. Each recompile attempt was done on fresh extracted copys of the source files (ie I deleted the contents of the folder, before reextracting the files again.)
Also, I am not importing extra plugin's or any extra macros for the inital compile attempt. All files used in the compile attempts are stright from the .zip file, without adding anything extra.
I have read and re-read TFM several times to ensure I was not doing something totaly stupid. All steps preformed so far are the exact same as I have been doing thus far, and have never had too many problems before.

A little bit of extra info on where I am placing the files:
Download and save zip file to c:\games\MQ2\Download.
Delete the previous contents of c:\games\MQ2\Download\compile.
Extract files to c:\games\MQ2\Download\compile
After compile normaly finishes successful, I rename the release folder in c:\games\mq2\release and apend a date, for archiving.
Then I copy the c:\games\MQ2\Download\compile\release folder to c:\games\MQ2, and copy back in all my modified and custom macros from the previous verison.

And before the question can be asked, I have already deleted the previous versions compiled files, that were not in the \release folder.

Same steps I have been using for quite a while, and I generaly never have any troubles. I double checked the zip file, and all files appear to be in place. From the error, and checking the files, I am assuming that detours.pdb is info contained within detours.lib, and not a file that is missing. (Or I would have seen more posts on missing files in the forums. Thats the "i've read the fourms and searched" disclaimer :) )

I even tried, for S&G's, doing a fresh extract of all files, and copying the previous versions release folder back into the \compile folder. Didn't help, but I really didn't expect it to.

Seeing that I have found very few posts simmilar to my error, I assume this issue is something specific to my set up, or am just in the very few minorty of people having this problem.

Is detours.pdb a file that is suppose to be in the zip file, or is something else going on?

Thank you in advance for any help.

s16z
a ghoul
a ghoul
Posts: 97
Joined: Thu Apr 01, 2004 12:03 pm

Post by s16z » Mon Jul 19, 2004 1:19 pm

It was included in the previous releases of MQ2, but isn't in the 18th (and possibly the 17th) release. Those messages are just warning that you won't have debug information for those libraries, shouldn't affect the operation at all.