cd 'D:\Users\vince\Documents\code\c++\OpenGL_test'
C:\MinGW\msys\1.0\bin\make.exe -f Makefile CONF=Debug
"/C/MinGW/msys/1.0/bin/make.exe" -f nbproject/Makefile-Debug.mk QMAKE= SUBPROJECTS= .build-conf
make.exe[1]: Entering directory `/d/Users/vince/Documents/code/c++/OpenGL_test'
"/C/MinGW/msys/1.0/bin/make.exe" -f nbproject/Makefile-Debug.mk dist/Debug/MinGW-Windows/opengl_test.exe
make.exe[2]: Entering directory `/d/Users/vince/Documents/code/c++/OpenGL_test'
mkdir -p dist/Debug/MinGW-Windows
g++ -o dist/Debug/MinGW-Windows/opengl_test build/Debug/MinGW-Windows/main.o -s
build/Debug/MinGW-Windows/main.o: In function `main':
D:\Users\vince\Documents\code\c++\OpenGL_test/main.cpp:25: undefined reference to `glfwInit'
D:\Users\vince\Documents\code\c++\OpenGL_test/main.cpp:26: undefined reference to `glfwWindowHint'
D:\Users\vince\Documents\code\c++\OpenGL_test/main.cpp:27: undefined reference to `glfwWindowHint'
D:\Users\vince\Documents\code\c++\OpenGL_test/main.cpp:28: undefined reference to `glfwWindowHint'
collect2.exe: error: ld returned 1 exit status
make.exe[2]: *** [dist/Debug/MinGW-Windows/opengl_test.exe] Error 1
make.exe[2]: Leaving directory `/d/Users/vince/Documents/code/c++/OpenGL_test'
make.exe[1]: *** [.build-conf] Error 2
make.exe[1]: Leaving directory `/d/Users/vince/Documents/code/c++/OpenGL_test'
make.exe": *** [.build-impl] Error 2
BUILD FAILED (exit value 2, total time: 1s)
Partager