fatal error LNK1112: module machine type 'x64' conflicts with target machine type 'x86'

171 views
Skip to first unread message

Utheri Wagura

unread,
Dec 5, 2020, 1:23:42 AM12/5/20
to Stellarium
Hello,

Beginner here trying to build stellarium. I keep get this error in the middle of the build: 

Qt5Widgetsd.lib(Qt5Widgetsd.dll) : fatal error LNK1112: module machine type 'x64' conflicts with target machine type 'x86' [C:\<path-to>\Stellarium\build\msvc\src\stellarium.vcxproj]

I wasn't sure whether or not to post this here or the Qt forum. While the error seems to be coming from Qt5, it specifically mentions a stelllarium file. What's more, I checked my Qt install and it seems to be the 64 bit version ( specifically, it says: "Based on Qt 5.15.2 (MSVC 2019, 64 bit)"). 

Has anyone else encountered this issue before?

Best,
UMW

Alexander Wolf

unread,
Dec 5, 2020, 2:11:27 AM12/5/20
to stell...@googlegroups.com
Hi!

Сб, 5 дек. 2020 г. в 13:23, Utheri Wagura <utheri...@gmail.com>:
This is definitely not Stellarium problem and probably not Qt problem. If you want to build any Qt application on x64 machine for x86 target, then you need install both Qt (x86 and x64) and define correct paths. I guess instructions for this case exists on Qt’s wiki.
--
With best regards, Alexander Wolf.
Reply all
Reply to author
Forward
0 new messages