Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. Linker cannot find "visual.obj"?
Forum Updated to NodeBB v4.3 + New Features

Linker cannot find "visual.obj"?

Scheduled Pinned Locked Moved Installation and Deployment
5 Posts 3 Posters 2.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.
  • M Offline
    M Offline
    maspeir
    wrote on last edited by
    #1

    I recently downloaded Qt 5.0.2 for Visual Studio 2012. I can compile and run most of the included examples, save for the OpenGL-based ones (how do I fix that, BTW?), but I am trying to compile Tiled (www.mapeditor.org) and I get a linker error. I've done quite a bit of searching here and on Google and cannot find a reference to that linker error. For that matter, I cannot find any references to "visual.obj". I have even done a thorough search of both of my hard drives and "visual.obj" doesn't exist on my machine. If this was a Visual Studio error, I would be having problems with Visual Studio, and I'm not, so I guessing this is something related to Qt. I thought it might be an issue with Tiled, but there is no reference to "visual.obj" anywhere in the Tiled source or projects.

    What is going on and how do I fix this?

    1 Reply Last reply
    0
    • K Offline
      K Offline
      koahnig
      wrote on last edited by
      #2

      welcome to devnet

      Did you have also a look for any other file with visual.* in the folders of your example?
      visual.obj is probably a compiler output and you need to locate how to generate. Scan the makefiles.

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

      1 Reply Last reply
      0
      • M Offline
        M Offline
        maspeir
        wrote on last edited by
        #3

        I uninstalled Qt for VS 2012 and installed the version with MinGW and it compiled fine. This is something to do with Qt and Visual Studio.

        1 Reply Last reply
        0
        • K Offline
          K Offline
          koahnig
          wrote on last edited by
          #4

          Good to know that you have a solution.

          However, it is not a general Qt with Visual Studio issue. The obvious guess is it has something to do with the combination with the 3rd party project. Possibly some specialization MSVC in the makefile(s).

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

          1 Reply Last reply
          0
          • W Offline
            W Offline
            Whiterabbott
            wrote on last edited by
            #5

            I am also running into this problem. I am confused on how to solve this problem. Would it be possible to give an example?

            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