Sorry for this basic question :)
I have a very simple project with one cpp file:
#include <iostream>
#include <GLFW/glfw3.h>
int main() {
glfwInit();
return 0;
}
I added the path of .h file to proj-> properties-> C/C++-> Additional include directories
I added the path of .lib file to proj-> properties-> Linker-> General-> Additional Library Directories
I added the name of lib file to proj-> properties-> Linker-> Input-> Additional Dependencies
But it doesn't work :(
I can't build theproject.
The error is :
"Error 1 error LNK2019: unresolved external symbol _glfwInit referenced in function _main ...\OGL\first.obj OGL "
What could be a problem ?
Thank you !