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. Confused about the configuration (32/64 bits)

Confused about the configuration (32/64 bits)

Scheduled Pinned Locked Moved Unsolved General and Desktop
4 Posts 2 Posters 874 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.
  • S Offline
    S Offline
    Sackthi
    wrote on last edited by
    #1

    I am having a static library(.lib file) which is developed by using Visual Studio 2008 X64 bit
    Am linking this 64 bit .lib file into QT project.Am facing an error.
    But whiile linking 32 bit .lib file its working fine.
    Can anyone help me ?

    K 1 Reply Last reply
    0
    • S Sackthi

      I am having a static library(.lib file) which is developed by using Visual Studio 2008 X64 bit
      Am linking this 64 bit .lib file into QT project.Am facing an error.
      But whiile linking 32 bit .lib file its working fine.
      Can anyone help me ?

      K Offline
      K Offline
      koahnig
      wrote on last edited by
      #2

      @Sackthi

      Probably you should post the error message and some more details on how you have setup the different projects. Otherwise this is crystal ball reading.

      Vote the answer(s) that helped you to solve your issue(s)

      1 Reply Last reply
      2
      • S Offline
        S Offline
        Sackthi
        wrote on last edited by
        #3

        Sorry,

        The error message is
        "debug\sackthi_final.exe:-1: error: LNK1120: 1 unresolved externals"

        And the KIT i have selected is Desktop QT 4.8.7 MSVC 2008 32 bit

        but if i link 32 bit .lib file means its working fine

        K 1 Reply Last reply
        0
        • S Sackthi

          Sorry,

          The error message is
          "debug\sackthi_final.exe:-1: error: LNK1120: 1 unresolved externals"

          And the KIT i have selected is Desktop QT 4.8.7 MSVC 2008 32 bit

          but if i link 32 bit .lib file means its working fine

          K Offline
          K Offline
          koahnig
          wrote on last edited by
          #4

          @Sackthi said in Confused about the configuration (32/64 bits):

          The error message is
          "debug\sackthi_final.exe:-1: error: LNK1120: 1 unresolved externals"

          And the KIT i have selected is Desktop QT 4.8.7 MSVC 2008 32 bit

          but if i link 32 bit .lib file means its working fine

          You have selected a 32 bit kit and you like to link with a 64 bit library?
          This will not work. You need to stay in the memory model and probably the compiler version depending on how the interface to the lib is defined. To keep it save, I would propose also to stay with the same compiler version.

          Vote the answer(s) that helped you to solve your issue(s)

          1 Reply Last reply
          2

          • Login

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