Skip to content

Instantly share code, notes, and snippets.

@bitbrain
Created February 12, 2014 17:19
Show Gist options
  • Save bitbrain/8960141 to your computer and use it in GitHub Desktop.
Save bitbrain/8960141 to your computer and use it in GitHub Desktop.
/usr/local/lib/libSpringbok.a(GameSurface.cpp.o): In function `GameSurface::GameSurface(std::string const&, int, Vec2<unsigned int>)':
GameSurface.cpp:(.text+0x2a): undefined reference to `glfwInit'
GameSurface.cpp:(.text+0x43): undefined reference to `glfwWindowHint'
GameSurface.cpp:(.text+0x52): undefined reference to `glfwWindowHint'
GameSurface.cpp:(.text+0x82): undefined reference to `glfwCreateWindow'
GameSurface.cpp:(.text+0x8c): undefined reference to `glfwGetPrimaryMonitor'
GameSurface.cpp:(.text+0x9c): undefined reference to `glfwGetVideoMode'
GameSurface.cpp:(.text+0xaf): undefined reference to `glfwWindowHint'
GameSurface.cpp:(.text+0xe3): undefined reference to `glfwCreateWindow'
GameSurface.cpp:(.text+0xf8): undefined reference to `glfwMakeContextCurrent'
GameSurface.cpp:(.text+0x114): undefined reference to `glfwSetInputMode'
GameSurface.cpp:(.text+0x131): undefined reference to `glfwGetWindowSize'
/usr/local/lib/libSpringbok.a(GameSurface.cpp.o): In function `GameSurface::~GameSurface()':
GameSurface.cpp:(.text+0x1ae): undefined reference to `glfwDestroyWindow'
GameSurface.cpp:(.text+0x1b3): undefined reference to `glfwTerminate'
/usr/local/lib/libSpringbok.a(GameSurface.cpp.o): In function `GameSurface::switchBuffers()':
GameSurface.cpp:(.text+0x1e2): undefined reference to `glfwSwapBuffers'
/usr/local/lib/libSpringbok.a(GameSurface.cpp.o): In function `GameSurface::closeRequested() const':
GameSurface.cpp:(.text+0x202): undefined reference to `glfwWindowShouldClose'
/usr/local/lib/libSpringbok.a(GameSurface.cpp.o): In function `GameSurface::requestClose()':
GameSurface.cpp:(.text+0x22d): undefined reference to `glfwSetWindowShouldClose'
/usr/local/lib/libSpringbok.a(GameSurface.cpp.o): In function `GameSurface::getSize() const':
GameSurface.cpp:(.text+0x259): undefined reference to `glfwGetWindowSize'
/usr/local/lib/libSpringbok.a(InputMonitor.cpp.o): In function `(anonymous namespace)::keyCallback(GLFWwindow*, int, int, int, int)':
InputMonitor.cpp:(.text+0x21): undefined reference to `glfwGetWindowUserPointer'
/usr/local/lib/libSpringbok.a(InputMonitor.cpp.o): In function `(anonymous namespace)::mouseButtonCallback(GLFWwindow*, int, int, int)':
InputMonitor.cpp:(.text+0x8c): undefined reference to `glfwGetWindowUserPointer'
/usr/local/lib/libSpringbok.a(InputMonitor.cpp.o): In function `InputMonitor::InputMonitor(GameSurface*)':
InputMonitor.cpp:(.text+0x1a6): undefined reference to `glfwSetKeyCallback'
InputMonitor.cpp:(.text+0x1b9): undefined reference to `glfwSetMouseButtonCallback'
InputMonitor.cpp:(.text+0x1cf): undefined reference to `glfwSetWindowUserPointer'
/usr/local/lib/libSpringbok.a(InputMonitor.cpp.o): In function `InputMonitor::poll()':
InputMonitor.cpp:(.text+0x285): undefined reference to `glfwPollEvents'
/usr/local/lib/libSpringbok.a(InputMonitor.cpp.o): In function `GLFWMouse::getButtonState(int) const':
InputMonitor.cpp:(.text._ZNK9GLFWMouse14getButtonStateEi[_ZNK9GLFWMouse14getButtonStateEi]+0x20): undefined reference to `glfwGetMouseButton'
/usr/local/lib/libSpringbok.a(InputMonitor.cpp.o): In function `GLFWMouse::anyButtonPressed() const':
InputMonitor.cpp:(.text._ZNK9GLFWMouse16anyButtonPressedEv[_ZNK9GLFWMouse16anyButtonPressedEv]+0x26): undefined reference to `glfwGetMouseButton'
/usr/local/lib/libSpringbok.a(InputMonitor.cpp.o): In function `GLFWMouse::getCursorPosition(int) const':
InputMonitor.cpp:(.text._ZNK9GLFWMouse17getCursorPositionEi[_ZNK9GLFWMouse17getCursorPositionEi]+0x26): undefined reference to `glfwGetCursorPos'
/usr/local/lib/libSpringbok.a(InputMonitor.cpp.o): In function `GLFWKeyboard::getButtonState(int) const':
InputMonitor.cpp:(.text._ZNK12GLFWKeyboard14getButtonStateEi[_ZNK12GLFWKeyboard14getButtonStateEi]+0x20): undefined reference to `glfwGetKey'
/usr/local/lib/libSpringbok.a(InputMonitor.cpp.o): In function `GLFWKeyboard::anyButtonPressed() const':
InputMonitor.cpp:(.text._ZNK12GLFWKeyboard16anyButtonPressedEv[_ZNK12GLFWKeyboard16anyButtonPressedEv]+0x26): undefined reference to `glfwGetKey'
collect2: error: ld returned 1 exit status
make[2]: *** [shinyavenger] Error 1
make[1]: *** [CMakeFiles/shinyavenger.dir/all] Error 2
make: *** [all] Error 2
*** Failure: Exit code 2 ***
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment