⚠️ Forum Maintenance: Feb 6th, 8am - 14pm (UTC+2)

Jom assumes wrong architecture

  • Hello everyone,

    This is my very first post. I am trying to build a 64 bit executable for a C++ project which uses Qt on Windows. I have been able to build it successfully with "nmake release". However it takes about 20 minutes everytime.

    Hence we decided to jom for parallelizing the build. I simply ran jom on the same folder and it compiles for a while and exits with the following error message.

    jom 1.1.0 - empower your cores
            "C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\BIN\jom.exe" -f Makefile.Release
            link /LIBPATH:"c:\Qt\lib" /NOLOGO /DYNAMICBASE /NXCOMPAT /INCREMENTAL:NO /SUBSYSTEM:CONSOLE "/MANIFESTDEPENDENCY:type='win32' name='Microsoft.Windows.Common-Controls' version='' publicKeyToken='6595b64144ccf1df' language='*' processorArchitecture='*'" /MANIFEST /MANIFESTFILE:"release\
    ws.intermediate.manifest" /OUT:release\ws.exe @C:\Users\vijay\AppData\Local\Temp\ws.exe.3792.328.jom
    TKernel.lib(TKernel.dll) : fatal error LNK1112: module machine type 'x64' conflicts with target machine type 'X86'
    jom: C:\Users\vijay\Documents[REDACTED]\Makefile.Release [release\ws.exe] Error 1112
    jom: C:\Users\vijay\Documents[REDACTED]\Makefile [release] Error 2

    I am using Visual studio 2008 x64 toolset on windows 7 64 bit machine. I tried to get help on #qt on freenode. Unfortunately nobody replied. Kindly help.

Log in to reply