×

Discussion Board

Results 1 to 7 of 7
  1. #1
    Registered User
    Join Date
    May 2011
    Posts
    5

    module machine type 'ARM' conflicts with target machine type 'X86'

    hi,

    i tried to build a static version of Qt libs using msvc 2008.upon building i get this error from QtGui

    Code:
    LINK : warning LNK4068: /MACHINE not specified; defaulting to X86
    .\tmp\obj\debug_static\jaricom.obj : fatal error LNK1112: module machine type 'ARM' conflicts with target machine type 'X86'
    how to resolve this.

  2. #2
    Super Contributor
    Join Date
    Oct 2009
    Posts
    4,326

    Re: module machine type 'ARM' conflicts with target machine type 'X86'

    Compile all parts with the same cross-compiler.

  3. #3
    Registered User
    Join Date
    May 2011
    Posts
    5

    module machine type 'ARM' conflicts with target machine type 'X86'

    hi,

    i tried to build a static version of Qt libs using msvc 2008.upon building i get this error from QtGui


    LINK : warning LNK4068: /MACHINE not specified; defaulting to X86
    .\tmp\obj\debug_static\jaricom.obj : fatal error LNK1112: module machine type 'ARM' conflicts with target machine type 'X86'
    how to resolve this.

  4. #4
    Registered User
    Join Date
    May 2011
    Posts
    5

    Re: module machine type 'ARM' conflicts with target machine type 'X86'

    i hav compiled all parts with the same cross compiler,but the problem is only with QtGui,all the other libs compiles fine.

  5. #5
    Registered User
    Join Date
    May 2011
    Posts
    5

    Re: module machine type 'ARM' conflicts with target machine type 'X86'

    i tried specifying /MACHINE:THUMB under project ppty->librarian->command line.then it compiles.but the problem is when i try to build an application with these Qt libs,i m not possible to view the gui components.if the application has just a window ,it can be seen,but when other widgets like combobox,lineedit etc are added the gui becomes invisible .wat i can see is a border of that app window and the tab on the taskbar.

  6. #6
    Super Contributor
    Join Date
    Mar 2003
    Location
    Finland
    Posts
    9,569

    Re: module machine type 'ARM' conflicts with target machine type 'X86'


  7. #7
    Registered User
    Join Date
    May 2011
    Posts
    5

    Unhappy error loading statically linked Qt app.

    i have a Qt app with libraries linked statically to it.On app loding some GUI components are invisible.

    I had some problems in QtGui lib getting statically linked.i used MSVC 2008 for static compilation.
    I got this error from QtGui project.

    Code:
    LINK : warning LNK4068: /MACHINE not specified; defaulting to X86
    1>.\tmp\obj\debug_static\jaricom.obj : fatal error LNK1112: module machine type 'ARM' conflicts with target machine type 'X86
    QtGui - 1 error(s), 1 warning(s)'
    I am compiling for WinCE/ARMV4I

    When i specified /MACHINE:THUMB in QtGui project properties->Librarian->Command Line, i got it compiled successfully.but the problem is that in my application am unable to view child widgets in my parent window.I can see the context menus and status bars in my app.,For eg if add a combo box to my project i could see just the out line of the window.

    I think the Qt Gui lib havent linked statically correctly.
    Can anyone pls suggest me an option on how to resolve this.

Similar Threads

  1. [moved] Problem with STDDLL target type
    By vishna in forum Open C/C++
    Replies: 3
    Last Post: 2009-09-30, 14:51
  2. how to distribute dll on target machine
    By vdharankar in forum Symbian
    Replies: 2
    Last Post: 2009-07-28, 16:15
  3. how to distribute dll on target machine
    By vdharankar in forum Symbian
    Replies: 1
    Last Post: 2009-07-28, 15:53
  4. how to distribute dll on target machine
    By vdharankar in forum Symbian
    Replies: 1
    Last Post: 2009-07-28, 15:32
  5. how to distribute dll on target machine
    By vdharankar in forum Symbian
    Replies: 3
    Last Post: 2009-07-28, 13:32

Posting Permissions

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