![]() ![]() Which even returned: Reading package lists. I already installed pthreads using: sudo apt-get install libpthread-stubs0-dev So when doing cat of CMakeError.log I can see among many other things this: /usr/bin/ld: cannot find -lpthreadsĬollect2: error: ld returned 1 exit statusĬMakeFiles/cmTC_792f7.dir/build.make:97: recipe for target 'cmTC_792f7' failed See also "/home/yalishanda/Downloads/lsd_slam_noros-master/build/CMakeFiles/CMakeError.log". See also "/home/yalishanda/Downloads/lsd_slam_noros-master/build/CMakeFiles/CMakeOutput.log". Please set them or make sure they are set and tested correctly in the CMake files:Īnd also - Configuring incomplete, errors occurred! ![]() When running this command a lot of stuff is output to the screen and one of those things are those lines: CMake Error: The following variables are used in this project, but they are set to NOTFOUND. Thank you for the help.I am trying to compile the code provided here, but I am stuck when trying to run the command cmake. You probably need to select a different build tool.ĬMake Error: Error required internal CMake variable not set, cmake may be not be built correctly.ĬMake Error: Could not find cmake module file:D:/Documents/GL/CMakeFiles/2.8.11.2/CMakeCCompiler.cmakeĬMake Error: CMAKE_C_COMPILER not set, after EnableLanguage You probably need to select a different build tool.ĬMake Error: CMake was unable to find a build program corresponding to "MinGW Makefiles". CMake Error: CMake was unable to find a build program corresponding to "MinGW Makefiles". I get a CMake Error after I selected CodeBlocks MinGW makefiles. X:\Programming\C \OpenGL\GLFW Projects\GLFW_Quick\main.cpp|68|undefined reference to `_imp_glfwTerminate'| X:\Programming\C \OpenGL\GLFW Projects\GLFW_Quick\main.cpp|66|undefined reference to `_imp_glfwDestroyWindow'| X:\Programming\C \OpenGL\GLFW Projects\GLFW_Quick\main.cpp|40|undefined reference to `_imp_glfwWindowShouldClose'| ![]() X:\Programming\C \OpenGL\GLFW Projects\GLFW_Quick\main.cpp|63|undefined reference to `_imp_glfwPollEvents'| X:\Programming\C \OpenGL\GLFW Projects\GLFW_Quick\main.cpp|53|undefined reference to Projects\GLFW_Quick\main.cpp|54|undefined reference to Projects\GLFW_Quick\main.cpp|55|undefined reference to Projects\GLFW_Quick\main.cpp|56|undefined reference to Projects\GLFW_Quick\main.cpp|57|undefined reference to Projects\GLFW_Quick\main.cpp|58|undefined reference to Projects\GLFW_Quick\main.cpp|59|undefined reference to Projects\GLFW_Quick\main.cpp|60|undefined reference to Projects\GLFW_Quick\main.cpp|61|undefined reference to Projects\GLFW_Quick\main.cpp|62|undefined reference to `_imp_glfwSwapBuffers'| X:\Programming\C \OpenGL\GLFW Projects\GLFW_Quick\main.cpp|46|undefined reference to Projects\GLFW_Quick\main.cpp|47|undefined reference to Projects\GLFW_Quick\main.cpp|48|undefined reference to Projects\GLFW_Quick\main.cpp|49|undefined reference to Projects\GLFW_Quick\main.cpp|50|undefined reference to Projects\GLFW_Quick\main.cpp|51|undefined reference to Projects\GLFW_Quick\main.cpp|52|undefined reference to Projects\GLFW_Quick\main.cpp|53|undefined reference to `_imp_glfwGetTime'| X:\Programming\C \OpenGL\GLFW Projects\GLFW_Quick\main.cpp|44|undefined reference to `_imp_glfwGetFramebufferSize'| X:\Programming\C \OpenGL\GLFW Projects\GLFW_Quick\main.cpp|38|undefined reference to `_imp_glfwSetKe圜allback'| X:\Programming\C \OpenGL\GLFW Projects\GLFW_Quick\main.cpp|37|undefined reference to `_imp_glfwMakeContextCurrent'| X:\Programming\C \OpenGL\GLFW Projects\GLFW_Quick\main.cpp|33|undefined reference to `_imp_glfwTerminate'| X:\Programming\C \OpenGL\GLFW Projects\GLFW_Quick\main.cpp|29|undefined reference to `_imp_glfwCreateWindow'| X:\Programming\C \OpenGL\GLFW Projects\GLFW_Quick\main.cpp|26|undefined reference to `_imp_glfwInit'| X:\Programming\C \OpenGL\GLFW Projects\GLFW_Quick\main.cpp|24|undefined reference to `_imp_glfwSetErrorCallback'| X:\Programming\C \OpenGL\GLFW Projects\GLFW_Quick\main.cpp|17|undefined reference to `_imp_glfwSetWindowShouldClose'| Obj\Debug\main.o||In function `key_callback':| X:\Programming\C \OpenGL\GLFW Projects\GLFW_Quick\main.cpp|14|warning: unused parameter 'mods' | X:\Programming\C \OpenGL\GLFW Projects\GLFW_Quick\main.cpp|14|warning: unused parameter 'scancode' | X:\Programming\C \OpenGL\GLFW Projects\GLFW_Quick\main.cpp|9|warning: unused parameter 'error' | ||= Build: Debug in GLFW_Quick (compiler: Mingw 4.8.1 x86 pthread rev4) =| Using CodeBlocks 13.12 with Mingw 4.8.1 on Windows 7 64. I got it working with GLFW as a dynamic library, but not static. I’m trying to build a project with the example code from GLFW site and I’m not having much luck building GLFW as a static DLL. ![]()
0 Comments
Leave a Reply. |