Skip to content

Instantly share code, notes, and snippets.

@wbolden
Created July 27, 2014 22:54
Show Gist options
  • Save wbolden/7516103b979a52a191ff to your computer and use it in GitHub Desktop.
Save wbolden/7516103b979a52a191ff to your computer and use it in GitHub Desktop.
/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'
Display.cpp:(.text+0x2a6): undefined reference to `glfwPollEvents'
Timer.o: In function `Timer::Timer()':
Timer.cpp:(.text+0xd): undefined reference to `glfwGetTime'
Timer.cpp:(.text+0x23): undefined reference to `glfwGetTime'
Timer.o: In function `Timer::start()':
Timer.cpp:(.text+0x57): undefined reference to `glfwGetTime'
Timer.o: In function `Timer::stop()':
Timer.cpp:(.text+0x7b): undefined reference to `glfwGetTime'
collect2: error: ld returned 1 exit status
make: *** [CUDANN] Error 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment