link error with MS embedded VC++ 4.0

This is a discussion on link error with MS embedded VC++ 4.0 within the C++ Programming forums, part of the General Programming Boards category; Hello everyone, I am meeting with a link error (compile is ok) when building an application with Microsoft embedded VC++ ...

  1. #1
    Registered User
    Join Date
    May 2006
    Posts
    1,579

    link error with MS embedded VC++ 4.0

    Hello everyone,


    I am meeting with a link error (compile is ok) when building an application with Microsoft embedded VC++ 4.0, using simulator. Here is the detailed message,

    --------------------
    Linking...
    .\emulatorDbg\foo.obj : fatal error LNK1112: module machine type 'X86' conflicts with target machine type 'ARM'
    --------------------

    What is the possible cause of this problem? Any suggestions to solve this problem?


    thanks in advance,
    George

  2. #2
    Registered User
    Join Date
    Aug 2005
    Posts
    1,267
    the message is telling you that you did not compile the program for the correct target os or that you are attempting to link in a library that was not built for the same os as your program. Check your project settings -- did you compile all modules for ARM ?.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Function to check memory left from malloc and free?
    By Lechx in forum C Programming
    Replies: 4
    Last Post: 04-24-2006, 06:45 AM
  2. How do I link DirectX9 to MS VC++ 6.0
    By Maddog42 in forum C++ Programming
    Replies: 2
    Last Post: 09-02-2004, 10:46 AM
  3. MS Visual C++ Link Error with DirectX
    By Maddog42 in forum C++ Programming
    Replies: 4
    Last Post: 09-01-2004, 09:33 PM
  4. Request for comments
    By Prelude in forum A Brief History of Cprogramming.com
    Replies: 15
    Last Post: 01-02-2004, 10:33 AM
  5. MS Visual C++ Link Error
    By Phil_R in forum C++ Programming
    Replies: 2
    Last Post: 06-01-2003, 06:33 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21