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

Author Topic: VS 2017 Template errors  (Read 1978 times)

0 Members and 1 Guest are viewing this topic.

GameBear

  • Jr. Member
  • **
  • Posts: 73
    • View Profile
    • Email
VS 2017 Template errors
« on: May 13, 2017, 01:24:44 am »
So..
I recently updated to VS 2017. and after some problems managed to get my setup to work with sfml 2.4.2
BUT....
I tried to export my project as a template. seemed to work fine.
making a new project also seemed to work fine... right up until i tries to open any file.. they are not there....
They are in the solution explore, but not in the actual folders, trying to open them gives the message:
"The document cannot be opened. It has been renamed, deleted or moved"
Going to the project folder i find this to be true... it is empty...
So, i have to manually copy each cpp, h and dll file into the right folders...

anyone encountered this issue before?
and if... did you solve it and how? my google-fu does not bring much light to the issue
string message = "some random dude";
cout << "I'm just " << message;

eXpl0it3r

  • SFML Team
  • Hero Member
  • *****
  • Posts: 11008
    • View Profile
    • development blog
    • Email
Re: VS 2017 Template errors
« Reply #1 on: May 13, 2017, 03:31:10 am »
Since this sounds like a VS issue, you might get a better/faster answer on the Microsoft community sites or Stack Overflow.

What files are you talking about?
Official FAQ: https://www.sfml-dev.org/faq.php
Official Discord Server: https://discord.gg/nr4X7Fh
——————————————————————
Dev Blog: https://duerrenberger.dev/blog/

GameBear

  • Jr. Member
  • **
  • Posts: 73
    • View Profile
    • Email
Re: VS 2017 Template errors
« Reply #2 on: May 13, 2017, 08:22:44 am »
Indeed, I have also posted this on stackoverflow, and will copy the answer here (if one such shows itself :) )

In this case it's my cpp and h files. It's just my basic sfml setup:
main.cpp
Window.h, Window.cpp
Game.h and Game.cpp

Of course, it also does not copy my debug and release dlls but it has never done that for me..
string message = "some random dude";
cout << "I'm just " << message;

 

anything