I am trying to use https://github.com/simple2d/simple2d with Visual Studio. I've installed it and all the headers files and built lib is present in %LOCALAPPDATA%\simple2d
I've then added the following path to my visual studio project settings (in the "Properties" -> "C/C++" -> "Additional include") %LOCALAPPDATA%\simple2d
:
However when I type #include <simple2d.h>
I still get an error saying that the file is not found:
What's wrong? Here's the content of %LOCALAPPDATA%\simple2d:
EDIT: here is the VS commandline version to compile a "simple2d" project. Any insight to fix the problem with VS GUI?
cl triangle.c /I %LOCALAPPDATA%\simple2d /link /LIBPATH %LOCALAPPDATA%\simple2d\simple2d.lib /SUBSYSTEM:CONSOLE