Operating System: Windows 10, using the MinGW toolchain and Code::Blocks
Hi all, I'm attempting to build the latest stable release of OGRE1 using the help of the guide with little to no avail. Each time I attempt to configure OGRE in CMake it reports with "Error in configuration process, project files may be invalid" and I cannot proceed to generate the makefiles necessary because I get the same error.
Here is my error log:
Code: Select all
Determining if the include file pthread.h exists failed with the following output: Change Dir: C:/Users/USERNAME/Documents/C++/ogre-1.12.0-build/CMakeFiles/CMakeTmp Run Build Command(s):C:/MinGW/bin/mingw32-make.exe cmTC_899cf/fast C:/MinGW/bin/mingw32-make.exe -f CMakeFiles\cmTC_899cf.dir\build.make CMakeFiles/cmTC_899cf.dir/build mingw32-make.exe: Entering directory 'C:/Users/USERNAME/Documents/C++/ogre-1.12.0-build/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_899cf.dir/CheckIncludeFile.c.obj C:\MinGW\bin\gcc.exe -o CMakeFiles\cmTC_899cf.dir\CheckIncludeFile.c.obj -c C:\Users\USERNAME\Documents\C++\ogre-1.12.0-build\CMakeFiles\CMakeTmp\CheckIncludeFile.c C:\Users\USERNAME\Documents\C++\ogre-1.12.0-build\CMakeFiles\CMakeTmp\CheckIncludeFile.c:1:21: fatal error: pthread.h: No such file or directory #include <pthread.h> ^ compilation terminated. CMakeFiles\cmTC_899cf.dir\build.make:64: recipe for target 'CMakeFiles/cmTC_899cf.dir/CheckIncludeFile.c.obj' failed mingw32-make.exe: *** [CMakeFiles/cmTC_899cf.dir/CheckIncludeFile.c.obj] Error 1 mingw32-make.exe: Leaving directory 'C:/Users/USERNAME/Documents/C++/ogre-1.12.0-build/CMakeFiles/CMakeTmp' Makefile:120: recipe for target 'cmTC_899cf/fast' failed mingw32-make.exe: *** [cmTC_899cf/fast] Error 2
I'm not really sure how to proceed, I was hoping that maybe someone has encountered this error before and knows how to fix the problem, but I can't seem to find anything that helps in the forums or elsewhere online. I'd like to be able to build OGRE so that I can give it a try to see if it's suitable for my needs; it looks pretty good but I can't build it .
Thanks for your time.