Skip to content

Instantly share code, notes, and snippets.

View wbolden's full-sized avatar

Will Bolden wbolden

  • United States
View GitHub Profile
rref ({3,0,1,-1,-2},{2,1,-1,3,-3}, {2,-1,3,-5,1})
/usr/local/cuda/bin/nvcc -o -lglfw3 -lGLEW -lGL -lGLU -lcuda -lcudart Main.o Display.o FileUtil.o Timer.o NeuralNetwork.o
nvcc warning : The 'compute_10' and 'sm_10' architectures are deprecated, and may be removed in a future release.
Main.o: In function `main':
Main.cpp:(.text+0xd): undefined reference to `glfwInit'
Main.cpp:(.text+0x2c): undefined reference to `glfwCreateWindow'
Main.cpp:(.text+0x3c): undefined reference to `glfwMakeContextCurrent'
Display.o: In function `Display::Display(GLFWwindow*)':
Display.cpp:(.text+0x27): undefined reference to `glfwGetWindowSize'
Display.o: In function `Display::displayFrame(GLFWwindow*)':
Display.cpp:(.text+0x2a1): undefined reference to `glfwSwapBuffers'
will@will-laptop-linux:~/Git/CUDANN$ sudo make
/usr/local/cuda/bin/nvcc -o -lGL -lGLU -lglfw3 -lGLEW -lcuda -lcudart Main.o Display.o FileUtil.o Timer.o NeuralNetwork.o
nvcc warning : The 'compute_10' and 'sm_10' architectures are deprecated, and may be removed in a future release.
/usr/bin/ld: //usr/local/lib/libglfw3.a(glx_context.c.o): undefined reference to symbol 'glXDestroyContext'
//usr/lib/libGL.so.1: error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status
make: *** [CUDANN] Error 1
will@will-laptop-linux:~/Git/CUDANN$ sudo make
gcc -std=c++11 -c -Wall -I. -I/usr/local/cuda/include -I/usr/include Main.cpp
Main.cpp:11:0: warning: ignoring #pragma comment [-Wunknown-pragmas]
#pragma comment(lib, "glew32.lib")
^
Main.cpp:12:0: warning: ignoring #pragma comment [-Wunknown-pragmas]
#pragma comment(lib, "glu32.lib")
^
Main.cpp:13:0: warning: ignoring #pragma comment [-Wunknown-pragmas]
#pragma comment(lib, "opengl32.lib")
gcc -std=c++11 -c -Wall -I. -I/usr/local/cuda/include -I/usr/include Main.cpp
Main.cpp:11:0: warning: ignoring #pragma comment [-Wunknown-pragmas]
#pragma comment(lib, "glew32.lib")
^
Main.cpp:12:0: warning: ignoring #pragma comment [-Wunknown-pragmas]
#pragma comment(lib, "glu32.lib")
^
Main.cpp:13:0: warning: ignoring #pragma comment [-Wunknown-pragmas]
#pragma comment(lib, "opengl32.lib")
^