Forum


Notice to all users

We are migrating towards a new forum system located at community.teamspeak.com, as such this forum will become read-only on January 29, 2020

Results 1 to 3 of 3
  1. #1
    Join Date
    January 2017
    Location
    Germany
    Posts
    26

    module machine type 'x64' conflicts with target machine type 'x86'

    Hey, when im trying to compile my Plugin for x86 machines, i get the following error:
    Code:
    module machine type 'x64' conflicts with target machine type 'x86'
    Full Error:
    Code:
    D:\Microsoft Visual Studio\2017\Community\MSBuild\15.0\Bin\Tracker.exe /a /d "C:\Program Files (x86)\MSBuild\15.0\FileTracker\FileTracker32.dll" /i C:\Users\CubE\Documents\Visual_Studio_2017_Projects\AutoMute_v2\src\.vsbld\Win32\Release\auto_mute.tlog /r "C:\USERS\CUBE\DOCUMENTS\VISUAL_STUDIO_2017_PROJECTS\AUTOMUTE_V2\SRC\.VSBLD\WIN32\RELEASE\AUTO_MUTE.RES|C:\USERS\CUBE\DOCUMENTS\VISUAL_STUDIO_2017_PROJECTS\AUTOMUTE_V2\SRC\.VSBLD\WIN32\RELEASE\PLUGIN.OBJ|C:\USERS\CUBE\DOCUMENTS\VISUAL_STUDIO_2017_PROJECTS\AUTOMUTE_V2\SRC\.VSBLD\WIN32\RELEASE\SETTINGS_QT.OBJ|C:\USERS\CUBE\DOCUMENTS\VISUAL_STUDIO_2017_PROJECTS\AUTOMUTE_V2\SRC\.VSBLD\WIN32\RELEASE\SETTINGS_QT_MOC.OBJ" /b MSBuildConsole_CancelEvent9d3c6ac00a5f4a34aa7e65ee6e3e221c  /c "D:\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.14.26428\bin\HostX86\x86\link.exe"  /ERRORREPORT:PROMPT /OUT:"C:\Users\CubE\Documents\Visual_Studio_2017_Projects\AutoMute_v2\\Builds\x86\Release\auto_mute_win32.dll" /NOLOGO /LIBPATH:C:\Qt\Qt5.6.2\5.6\msvc2015_64\/lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /MANIFEST /MANIFESTUAC:"level='asInvoker' uiAccess='false'" /manifest:embed /DEBUG:FULL /PDB:"C:\Users\CubE\Documents\Visual_Studio_2017_Projects\AutoMute_v2\\Builds\x86\Release\auto_mute_win32.pdb" /OPT:REF /OPT:ICF /LTCG:incremental /TLBID:1 /DYNAMICBASE /NXCOMPAT /IMPLIB:"C:\Users\CubE\Documents\Visual_Studio_2017_Projects\AutoMute_v2\\Builds\x86\Release\auto_mute_win32.lib" /MACHINE:X86 /SAFESEH /DLL .vsbld\Win32\Release\auto_mute.res
    1>    .vsbld\Win32\Release\settings_qt_moc.obj
    1>    .vsbld\Win32\Release\settings_qt.obj
    1>    .vsbld\Win32\Release\plugin.obj
    1>    Qt5Widgets.lib(Qt5Widgets.dll) : fatal error LNK1112: module machine type 'x64' conflicts with target machine type 'x86'
    Anybody got an idea on how to fix this?

    Thanks, CubE135.

  2. #2
    Join Date
    September 2012
    Posts
    6,079
    You're building for 32 bit but attempt to link 64 bit Qt libraries. This doesn't work, you need to have the libraries for 32 bit if you want to build for 32 bit.
    When sending PMs please make sure to include a reference link to the thread in question in the body of your message.

  3. #3
    Join Date
    January 2017
    Location
    Germany
    Posts
    26
    Ahh ok, i forgot to add the 32 bit libraries. Thanks a lot

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Replies: 1
    Last Post: June 2nd, 2016, 02:06 PM
  2. Second TS with other ip on the same machine.
    By MikeV in forum Linux / FreeBSD
    Replies: 1
    Last Post: April 4th, 2012, 07:29 AM
  3. [solved] One machine does not see the other/ TS3
    By stangflyer in forum General Questions
    Replies: 10
    Last Post: August 17th, 2010, 06:50 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •