Author Topic: MSVS 2015  (Read 985 times)

peewee_RotA

  • Sr. Member
  • Posts: 260
  • Karma: +8/-0
    • View Profile
MSVS 2015
« on: November 14, 2015, 04:30:03 AM »
The main branch of AA will no longer build on modern Visual Studio. This is due to the SDL libraries being built with the earlier version, so things like "stdout" having been updated causes linking errors.

The correct answer is to get the SDL source and compile it, including it as a reference. Unfortunately I haven't been able to get that far with my debugging today. When I realized that I had MSVS 2013 installed as well I gave that a try instead, and it compiled without error.

Anyone willing to do the work to get 2015 building, here's the error in question:
http://stackoverflow.com/questions/30412951/unresolved-external-symbol-imp-fprintf-and-imp-iob-func-sdl2

LysleShields

  • Administrator
  • Full Member
  • Posts: 207
  • Karma: +6/-1
  • Is the potion half full or half empty?
    • View Profile
    • Amulets & Armor
Re: MSVS 2015
« Reply #1 on: December 13, 2015, 09:20:11 PM »
That link has the answer in it and it worked for ... uh ... an experiment I'm doing.