Linking Error Building 64bit Qt app on 32bit XP machine.

Posted by photo_tom on Stack Overflow See other posts from Stack Overflow or by photo_tom
Published on 2010-06-02T16:13:31Z Indexed on 2010/06/02 18:34 UTC
Read the original article Hit count: 132

Filed under:
|
|
|
|

I'm trying to build a 64 bit version of my application (and yes I really do need the memory) on my 32bit xp dev box for production testing on our Vista64 server.

Previously, I have built w/o any errors the Qt 4.6.2 DLL's in 64 bit mode. That step went vary smooth.

Just to get started in building production, I'm trying to rebuild Qt's Star Delegate demo in 64bit mode. I converted the 32bit to 64bit app by changing the application configuration and adjusting the library's to the 64bit venisons. Now, when I go to link, I'm getting the following error when I link

1>------ Build started: Project: stardelegate, Configuration: Release x64 ------
1>Linking...
1>MSVCRT.lib(crtexew.obj) : error LNK2001: unresolved external symbol WinMain
1>release64\stardelegate.exe : fatal error LNK1120: 1 unresolved externals

Suggestions?

edit - After some more searching, discovered if I link as a console app it will work and run. But not as a windows app. And I don't have this problem in 32 bit mode.

© Stack Overflow or respective owner

Related posts about c++

Related posts about visual-studio