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

Author Topic: Creating SFML template in VS 2017  (Read 1173 times)

0 Members and 1 Guest are viewing this topic.

LeluLelu

  • Newbie
  • *
  • Posts: 7
    • View Profile
    • Email
Creating SFML template in VS 2017
« on: March 08, 2018, 09:44:26 pm »
Hi guys! I just created a sfml project in VS studio that is all set. Now i want it to export it as a template(in code::blocks it was all smooth).But it gave me some errors. The template creation was successful but when I run it it says "Cannot open source file: 'stdafx.cpp': No such file or directory" or "Cannot open source file: 'Source.cpp': No such file or directory".The file names are not changed as the title of the project and the sfml lib files are not copied in the template zip.And i balieve that is more than this and I saw on the internet a lot of problems with templates in VS. Can someone explain me what is actually going on and how can i solve it? Could't find a proper answer on the internet. Thanks !!

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32504
    • View Profile
    • SFML's website
    • Email
Re: Creating SFML template in VS 2017
« Reply #1 on: March 08, 2018, 10:17:22 pm »
This is the SFML forum, not the Visual Studio project template forum. I'm sure there are more relevant places to ask for this kind of problem.
Laurent Gomila - SFML developer