Welcome, Guest. Please login or register. Did you miss your activation email?

Author Topic: What is the difference between the VC++ 11/12/14 Windows library options?  (Read 1070 times)

0 Members and 1 Guest are viewing this topic.

tomizzo11

  • Newbie
  • *
  • Posts: 3
    • View Profile
Hello there,

I'm currently developing a project in Qt and am trying to link in the SFML libraries. I'm trying to target x86 architecture. However, I'm facing many linking issues...

I believe the issue is due to compiler mismatches, however, I'm confused on all of the technical details. So my question: is it necessary that my project is being compiled with the same compiler that compiled the SFML library?

For example, if my project is using MVCC 14(2015), it is thus necessary for me to link to SFML library compiled with that compiler?

If so, why is this? Aren't all of the MVC++ compilers targeting the same x86 architecture? Thus should the correspond .obj within the .lib be compatible?

I will greatly appreciate any help!  :D

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32498
    • View Profile
    • SFML's website
    • Email
.obj and .lib formats are specific to the linker. There's no standard. And since there's no standard, VC++ happily breaks the compatibility in each new version. So yes, you have to use the SFML binaries compiled with the same compiler as your project.
Laurent Gomila - SFML developer

 

anything