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. SFML And Qt Trouble

SFML And Qt Trouble

Scheduled Pinned Locked Moved Unsolved General and Desktop
sfml
3 Posts 2 Posters 1.6k Views
  • 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.
  • Kiecker223K Offline
    Kiecker223K Offline
    Kiecker223
    wrote on last edited by
    #1

    Here is a link to an issue I put up on game dev exchange http://gamedev.stackexchange.com/questions/123803/qt-sfml-integration-trouble

    kshegunovK Kiecker223K 2 Replies Last reply
    0
    • Kiecker223K Kiecker223

      Here is a link to an issue I put up on game dev exchange http://gamedev.stackexchange.com/questions/123803/qt-sfml-integration-trouble

      kshegunovK Offline
      kshegunovK Offline
      kshegunov
      Moderators
      wrote on last edited by kshegunov
      #2

      @Kiecker223
      Hello,

      Now my problem lies in the loadFromFile() function. When I do run the program with the loadFromFile() function it will immediately give me this error:
      C:\Users\Alex\Documents\QT_Projects\SFML_MapEditor\main.cpp:14: error: undefined reference to `_imp___ZN2sf7Texture12loadFromFileERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERKNS_4RectIiEE'

      This looks like a linker error. I don't see how you can run your program (as said in the original post) before fixing it though.
      Anyway, the ordinary advice is valid:

      1. Check if you're linking the providing library, which you seem to do.
      2. Check if the library you're linking is actually exporting the symbol (with dependency walker).
      3. Provide the complete link line that throws that error.

      Kind regards.

      Read and abide by the Qt Code of Conduct

      1 Reply Last reply
      0
      • Kiecker223K Kiecker223

        Here is a link to an issue I put up on game dev exchange http://gamedev.stackexchange.com/questions/123803/qt-sfml-integration-trouble

        Kiecker223K Offline
        Kiecker223K Offline
        Kiecker223
        wrote on last edited by
        #3

        @Kiecker223 Posted the answer on the link

        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