1
General / Re: Problem Compiling After Installing SFML (As Per Official Tutorial) [Screenshots]
« on: November 19, 2014, 05:57:44 am »
I was just about to say I already did that, but when I read the first article I failed to understand one of the checklist comments,
"Select Build > Configuration Manager from the main menu in visual studio. Make sure your project has the correct platform specified. It is possible for the IDE to be set to build x64 but an individual project in the solution can be set to target win32. So yeah, visual studio leaves a lot of rope to hang yourself, but that's life."
Just in case someone doesn't understand this like me at first, you just open the Properties of the Project. Then I went into Linker and then System. I changed the subsystem to Console:/SUBSYSTEM:CONSOLE. Then I clicked on the Configuration Manager, dropped down the Platform list (Currently at Win32), and clicked new. A new window appeared and I could then select x64 as my main Platform.
After that, the only error I got was that I was missing .dll files for the project, which I then just copied the .dll files from the SFML directory into my C:\Windows\System32 folder, recompiled, and it worked.
Thanks for pointing out my blindness.
"Select Build > Configuration Manager from the main menu in visual studio. Make sure your project has the correct platform specified. It is possible for the IDE to be set to build x64 but an individual project in the solution can be set to target win32. So yeah, visual studio leaves a lot of rope to hang yourself, but that's life."
Just in case someone doesn't understand this like me at first, you just open the Properties of the Project. Then I went into Linker and then System. I changed the subsystem to Console:/SUBSYSTEM:CONSOLE. Then I clicked on the Configuration Manager, dropped down the Platform list (Currently at Win32), and clicked new. A new window appeared and I could then select x64 as my main Platform.
After that, the only error I got was that I was missing .dll files for the project, which I then just copied the .dll files from the SFML directory into my C:\Windows\System32 folder, recompiled, and it worked.
Thanks for pointing out my blindness.