Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. 3rd Party Software
  4. Trouble with SDL <SOLVED>
Forum Updated to NodeBB v4.3 + New Features

Trouble with SDL <SOLVED>

Scheduled Pinned Locked Moved 3rd Party Software
3 Posts 2 Posters 2.2k 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.
  • F Offline
    F Offline
    fireslayer26
    wrote on last edited by
    #1

    I'm trying to help a friend with a problem. When debugging the program I get the error "LNK1104: cannot open file 'SDL.dll.lib'

    From what I can tell everything is referencing the right file.

    #Windows
    win32{
    RC_FILE = monterey.rc

    DEFINES += SDL_WIN
    LIBS += -L../Monterey/depends/windows/
    LIBS += -lSDL.dll
    }

    1 Reply Last reply
    0
    • F Offline
      F Offline
      fireslayer26
      wrote on last edited by
      #2

      FIXED!

      Since it could not find the SDL.dll.lib file I checked the depends/windows folder and there wasn't a lib file there. So I downloaded the Win32:
      SDL-devel-1.2.15-VC.zip (Visual C++) Development library and extracted it. Then I moved the SDLmain.lib, SDL.lib and SDL.dll files to the depends/windows folder. Then I renamed the SDL.lib to SDL.dll.lib. After that, it debugged and ran fine! :)

      1 Reply Last reply
      0
      • SGaistS Offline
        SGaistS Offline
        SGaist
        Lifetime Qt Champion
        wrote on last edited by
        #3

        Hi and welcome to devnet,

        Great you found out and shared ! Could you also update the thread's title to solved so other forum users may know a solution has been found :)

        Interested in AI ? www.idiap.ch
        Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

        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