Visual Studio 2017 community settings/options not taking effect

3162 views c++
1

I have spent the last 2 days trying to setup the linker for a c++ SMFL project. Following this setup https://www.sfml-dev.org/tutorials/2.5/start-vc.php this was not working, the issue seemed like the linker settings were not taking effect in the project I could not call the files inside the include even though the files were correctly linked. I tried starting over with a new project and removing the per-compiled header files aka stdafx. I kept getting this error pre-compiled error So I re-ran VS as admin, Updated to the newest version of VS2017 proof of update. The update changed stdafx to pch I still try to disable it and get the same error as before is this an issue with VS2017 Community? here are my project settings Settings for Project project code Project error message Error?

here is the code

#include "pch.h"
#include <iostream>
int main(){
    cont << "hello world\n";
}

answered question

Solved the issue, I had to make sure that the platform for the settings was the same as the build and release platform.

1 Answer

9

Solved the issue, I had to make sure that the platform for the settings was the same as the build and release platform. enter image description here

posted this

Have an answer?

JD

Please login first before posting an answer.