Need some info about possible causes to linking problem...
Posted: Fri Jul 13, 2007 1:51 pm
Ok I have tried three times to follow all the steps on the wiki to compile MQ2 with VS2005 but each time I get the same problem with 5 unresolved externals (one is error LNK2019: unresolved external symbol __imp__CallNextHookEx@16).
Sadly enough the troubleshooting section simply say that I have done some misstake (I could figure that one out myself - lol).
As a programmer since 20 years (not in Windows environment!) I would very much appreciate some technical info like what lib file theese missing externals belong to so I can check that I indeed have this file in the SDK directory I told the linker to use (as in the instructrions) etc...
Can somebody confirm 100% that this problem only can occur if the library search information is wrong or can some of the cryptic "commenting of disable lines" also have something to do with it?
Simple instructions that one is suposed to follow "litterarly" without thinking are probably good in many situations but I would have loved a bot more info about WHY one needs to do the different steps since this could help understanding problems and solving them...
I am also curious about the instructions that there should only be one set of SDK headers and libraries in the respective search paths and that other referenses (except the one I added) - what lines exactly are SDK related? Should for instance FrameworkSDK be removed or not?
Why do one have to both add extra lib-files in the project default file AND add SDK directories to the include & lib paths in the IDE?
I have done a serious attemt to follow the instructions so please DONT flame me and tell me to do it all over a fourth time - instead try to give me a clue WHAT I MAY BE DOING WRONG EACH TIME so I can get this nice software to link!
I am sorry but I did not have much to add to the wiki - I did however indicate were in the trouble shooting section I think there should be more information instead of just a sugestion to start from the beginnig - the page is http://www.macroquest2.com/wiki/index.p ... _Compiling
Best Regards
Trist
Sadly enough the troubleshooting section simply say that I have done some misstake (I could figure that one out myself - lol).
As a programmer since 20 years (not in Windows environment!) I would very much appreciate some technical info like what lib file theese missing externals belong to so I can check that I indeed have this file in the SDK directory I told the linker to use (as in the instructrions) etc...
Can somebody confirm 100% that this problem only can occur if the library search information is wrong or can some of the cryptic "commenting of disable lines" also have something to do with it?
Simple instructions that one is suposed to follow "litterarly" without thinking are probably good in many situations but I would have loved a bot more info about WHY one needs to do the different steps since this could help understanding problems and solving them...
I am also curious about the instructions that there should only be one set of SDK headers and libraries in the respective search paths and that other referenses (except the one I added) - what lines exactly are SDK related? Should for instance FrameworkSDK be removed or not?
Why do one have to both add extra lib-files in the project default file AND add SDK directories to the include & lib paths in the IDE?
I have done a serious attemt to follow the instructions so please DONT flame me and tell me to do it all over a fourth time - instead try to give me a clue WHAT I MAY BE DOING WRONG EACH TIME so I can get this nice software to link!
I am sorry but I did not have much to add to the wiki - I did however indicate were in the trouble shooting section I think there should be more information instead of just a sugestion to start from the beginnig - the page is http://www.macroquest2.com/wiki/index.p ... _Compiling
Best Regards
Trist