SFML And Qt Trouble
Here is a link to an issue I put up on game dev exchange http://gamedev.stackexchange.com/questions/123803/qt-sfml-integration-trouble
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:
- Check if you're linking the providing library, which you seem to do.
- Check if the library you're linking is actually exporting the symbol (with dependency walker).
- Provide the complete link line that throws that error.
@Kiecker223 Posted the answer on the link