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.
  • K Offline
    K Offline
    Kiecker223
    wrote on 14 Jun 2016, 02:12 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

    K K 2 Replies Last reply 14 Jun 2016, 03:44
    0
    • K Kiecker223
      14 Jun 2016, 02:12

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

      K Offline
      K Offline
      kshegunov
      Moderators
      wrote on 14 Jun 2016, 03:44 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
      • K Kiecker223
        14 Jun 2016, 02:12

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

        K Offline
        K Offline
        Kiecker223
        wrote on 14 Jun 2016, 04:40 last edited by
        #3

        @Kiecker223 Posted the answer on the link

        1 Reply Last reply
        0

        1/3

        14 Jun 2016, 02:12

        • Login

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