Ok, so I am trying to link GLFW to link but I'm having trouble.
Here is the error in console:
g++ -Iinclude -Llib -o out/main source/*.cpp
Undefined symbols for architecture x86_64:
"_glfwInit", referenced from:
_main in main-779346.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make: *** [main] Error 1
Here is my makefile:
compiler = g++
main:
$(compiler) -Iinclude -Llib -o out/main source/*.cpp
./out/main
I'm on macos 10.15.7 and using Visual Studio Code as my editor. Hope someone can help!
