Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. LNK2038: mismatch detected for '_MSC_VER': value '1700' doesn't match value '1800' in main.obj
Forum Updated to NodeBB v4.3 + New Features

LNK2038: mismatch detected for '_MSC_VER': value '1700' doesn't match value '1800' in main.obj

Scheduled Pinned Locked Moved General and Desktop
4 Posts 2 Posters 8.4k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A Offline
    A Offline
    avallabh88
    wrote on last edited by
    #1

    I am getting this error when I try to build my project, I am using Qt Creator(3.2.0) based on Qt 5.3.1(MSVC 2013,64-bit). I have Visual Studio 2013 installed on my machine so I changed the compiler to "Microsoft Visual C++ Compiler 12.0 (amd64)" and the Qt version as "Qt 54.4.0 (qt5.4.0-x64-msvc2013-compact)". I installed QT 5.4.0 which is 64-bit on windows and I am giving this version in my qt creator. Now when I try to compile my project it gives me so many errors which day:

    tango.lib(devapi_attr.obj):-1: error: LNK2038: mismatch detected for '_MSC_VER': value '1700' doesn't match value '1800' in main.obj

    Tango is the external librariy that I am using.all the libraries that I am using are compiled for 64-bit machines. I looked into many links and was not able to figure out what exactly was wrong with my configuration.Could you let me know how this could be resolved.

    1 Reply Last reply
    0
    • C Offline
      C Offline
      ckakman
      wrote on last edited by
      #2

      Hi,

      It seems that tango.lib is not compiled with your current compiler, hence the "_MSC_VER":http://msdn.microsoft.com/en-us/library/b0084kay.aspx mismatch.

      1 Reply Last reply
      0
      • A Offline
        A Offline
        avallabh88
        wrote on last edited by
        #3

        Thanks for your reply. Do you know how I can compile the library with my current compiler?

        1 Reply Last reply
        0
        • C Offline
          C Offline
          ckakman
          wrote on last edited by
          #4

          [quote author="avallabh88" date="1421436399"]Thanks for your reply. Do you know how I can compile the library with my current compiler?
          [/quote]

          If you have the source...

          1 Reply Last reply
          0

          • Login

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • Users
          • Groups
          • Search
          • Get Qt Extensions
          • Unsolved