Unresolved external symbols in compiling 32 bit application in Windows 64

后端 未结 5 1956
情歌与酒
情歌与酒 2021-02-14 04:00

So I am trying to compile legacy app from 32 bit to 64 bit.. I re-compiled all of the libs it used and made it look into WIN SDK6.0A x64 bit for libs..

I am using:

5条回答
  •  太阳男子
    2021-02-14 04:33

    For the record: Same problem, different solution; I had an entry for the directory

    psapi 
    

    added in the list of

    Linker/General/Additional Library Directory 
    

    This resulted in the usage of the old VS2005 platform sdk psapi.lib (it only had x86, no x64 version). After removing the entry the correct lib from the installed WinSDK x64/psapi.lib is used now. So keep an eye out for mixings/ordering of old & new SDKs! Obviously the full path will also work but might be a problem when you use the project on multiple machines.

提交回复
热议问题