visual studio 2010 - Linking lib in C++ project. VS2010 -


sorry basic question :)

i have simple project 1 cpp file:

#include <iostream> #include <glfw/glfw3.h>   int main() { glfwinit(); return 0; } 

i added path of .h file proj-> properties-> c/c++-> additional include directories

i added path of .lib file proj-> properties-> linker-> general-> additional library directories

i added name of lib file proj-> properties-> linker-> input-> additional dependencies

but doesn't work :(

i can't build theproject.

the error :

"error 1 error lnk2019: unresolved external symbol _glfwinit referenced in function _main ...\ogl\first.obj ogl "

what problem ?

thank !


Comments

Popular posts from this blog

python - TypeError: start must be a integer -

c# - DevExpress RepositoryItemComboBox BackColor property ignored -

django - Creating multiple model instances in DRF3 -