Im following this (
https://www.youtube.com/watch?v=Pid8JGlBdPY) tutorial and the only thing ive done in the project is to edit this in the project properties:
Configuration properties > VC++ Directories > Include Directories = $(SolutionDir)Dependencies\include
Configuration properties > VC++ Directories > Library directories =
$(SolutionDir)Dependencies\lib-vc2013
Configuration properties > Linker > Input > Additional Dependencies =
glfw3.lib
opengl32.lib
I have also created a main.cpp file in the source directory with this content:
1 2 3 4 5 6 7 8 9 10 11 12
|
#include <GLFW\glfw3.h>
#include <iostream>
int main()
{
//This if statement returns if glfw initiated correctly
if (!glfwInit())
std::cout << "Error" << std::endl;
else
std::cout << "Success!" << std::endl;
return 0;
}
|
This is the errors i get when starting the project:
http://i.imgur.com/m2RaYTq.png
When i type out "#include <GLFW\glfw3.h" as said to done in the tutorial, the program suggests that i add glw3.h when i write only "g" which tells me the include path set in the properties is correct.
I see no reason why the linkers i have included would be incorrect as they are the same as in the video.
I am also failing to see why the library path would be incorrect as the path was copied and checked for faults several times.
I have posted this on thecherno.com aswell but i have not gotten an answer after over a week, so im hoping someone can help me here, thanks.
I have posted this on thecherno.com but i have not gotten any responses at all, so i hope you guys can help me out, thanks!