Operating System: Windows 10
Render System:
This is my first time using cmake, and I am having trouble generating Ogre after I have configured it. I get this: "Error in generation files," project files may be invalid." Below are my logs. What to do?
Do I have to install freetype? How?
Configure:
Code: Select all
Configuring OGRE 2.2.5
Search path: C:/Users/kc201/Desktop/ogre-next-2.2.5/out/build/Dependencies;C:/Users/kc201/Desktop/ogre-next-2.2.5/Dependencies;C:/Users/kc201/Desktop/ogre-next-2.2.5/out/build/../Dependencies;C:/Users/kc201/Desktop/ogre-next-2.2.5/../Dependencies
Looking for ZLIB...
Could NOT find PkgConfig (missing: PKG_CONFIG_EXECUTABLE)
Could not locate ZLIB
Looking for FreeImage...
Could NOT find PkgConfig (missing: PKG_CONFIG_EXECUTABLE)
Could not locate FreeImage
Looking for FREETYPE...
Could NOT find PkgConfig (missing: PKG_CONFIG_EXECUTABLE)
CMAKE_PREFIX_PATH: C:/Users/kc201/Desktop/ogre-next-2.2.5/out/build/Dependencies;C:/Users/kc201/Desktop/ogre-next-2.2.5/Dependencies;C:/Users/kc201/Desktop/ogre-next-2.2.5/out/build/../Dependencies;C:/Users/kc201/Desktop/ogre-next-2.2.5/../Dependencies
CMAKE_PREFIX_PATH: C:/Users/kc201/Desktop/ogre-next-2.2.5/out/build/Dependencies;C:/Users/kc201/Desktop/ogre-next-2.2.5/Dependencies;C:/Users/kc201/Desktop/ogre-next-2.2.5/out/build/../Dependencies;C:/Users/kc201/Desktop/ogre-next-2.2.5/../Dependencies
Could not locate FREETYPE
Looking for Rapidjson...
Could NOT find PkgConfig (missing: PKG_CONFIG_EXECUTABLE)
Could NOT find Rapidjson (missing: Rapidjson_INCLUDE_DIR)
Could not locate Rapidjson
Looking for RenderDoc...
Could NOT find PkgConfig (missing: PKG_CONFIG_EXECUTABLE)
Could NOT find RenderDoc (missing: RenderDoc_INCLUDE_DIR)
Could not locate RenderDoc
Looking for DirectX9...
Could not locate DirectX9
Looking for DirectX11...
Found DirectX11 headers: C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/um
Found DirectX11: d3d11.lib;dxgi.lib;dxguid.lib
Looking for AMDAGS...
Could NOT find PkgConfig (missing: PKG_CONFIG_EXECUTABLE)
Could not locate AMDAGS
Looking for OpenVR...
Could NOT find PkgConfig (missing: PKG_CONFIG_EXECUTABLE)
Could not locate OpenVR
Looking for Remotery...
Could NOT find PkgConfig (missing: PKG_CONFIG_EXECUTABLE)
Could NOT find Remotery (missing: Remotery_INCLUDE_DIR Remotery_LIBRARIES)
Could not locate Remotery
Looking for POCO...
Could NOT find PkgConfig (missing: PKG_CONFIG_EXECUTABLE)
Could not locate POCO
Looking for TBB...
Could not locate TBB
Looking for GLSL_Optimizer...
Could NOT find PkgConfig (missing: PKG_CONFIG_EXECUTABLE)
Could not locate GLSL_Optimizer
Looking for HLSL2GLSL...
Could NOT find PkgConfig (missing: PKG_CONFIG_EXECUTABLE)
Could not locate HLSL2GLSL
Could NOT find Doxygen (missing: DOXYGEN_EXECUTABLE)
Looking for Softimage...
Could not locate Softimage
Looking for CppUnit...
Could NOT find PkgConfig (missing: PKG_CONFIG_EXECUTABLE)
Could not locate CppUnit
-----------------------------------------------------------------------------
-- The following external packages were located on your system.
-- This installation will have the extra features provided by these packages.
+ OpenGL
+ OpenGL 3+
+ OpenGL ES 1.x
+ OpenGL ES 2.x
+ OpenGL ES 3.x
+ DirectX11
+ SDL2
-----------------------------------------------------------------------------
-- The following OPTIONAL packages could NOT be located on your system.
-- Consider installing them to enable more features from this software.
+ zlib: Simple data compression library <http://www.zlib.net>
+ freeimage: Support for commonly used graphics image formats <http://freeimage.sourceforge.net>
+ freetype: Portable font engine <http://www.freetype.org>
+ rapidjson: C++ JSON parser <https://rapidjson.org/>
+ RenderDoc: RenderDoc Integration <https://renderdoc.org/>
+ DirectX9: Support for the DirectX render system <http://msdn.microsoft.com/en-us/directx/>
+ AMDAGS: Use AMD GPU Services library to provide D3D vendor extensions <https://gpuopen.com/gaming-product/amd-gpu-services-ags-library/>
+ OpenVR: OpenVR for Virtual Reality <https://github.com/ValveSoftware/openvr>
+ Remotery: Realtime CPU/D3D/OpenGL/CUDA/Metal Profiler in a single C file with web browser viewer <https://github.com/Celtoys/Remotery>
+ boost: Boost (general) <http://boost.org>
+ boost-thread: Used for threading support <http://boost.org>
+ boost-date_time: Used for threading support <http://boost.org>
+ POCO: POCO framework <http://pocoproject.org/>
+ tbb: Threading Building Blocks <http://www.threadingbuildingblocks.org/>
+ GLSL Optimizer: GLSL Optimizer <http://github.com/aras-p/glsl-optimizer/>
+ HLSL2GLSL: HLSL2GLSL <http://hlsl2glslfork.googlecode.com/>
+ Doxygen: Tool for building API documentation <http://doxygen.org>
+ Softimage: Softimage SDK needed for building XSIExporter <FALSE>
+ TinyXML: TinyXML needed for building OgreXMLConverter <FALSE>
+ CppUnit: Library for performing unit tests <http://cppunit.sourceforge.net>
-----------------------------------------------------------------------------
Samples require Overlays (OGRE_BUILD_COMPONENT_OVERLAY) to be set.
Skipping samples & tests build
----------------------------------------------------------------------------
FEATURE SUMMARY
----------------------------------------------------------------------------
Building plugins:
+ Particle FX
Building rendersystems:
+ Direct3D 11
+ OpenGL ES 2.x
Building executables:
+ Samples
+ Tools
Building core features:
+ Mesh Lod
+ DDS image codec
+ PVRTC image codec
+ ETC image codec
+ VertexArrayObjects for OpenGL ES 2.0
+ OpenGL ES 3.0 Support (EXPERIMENTAL)
Build type: dynamic
Threading support: none
Use double precision: disabled
Nodes inherit transform: disabled
Assert mode: standard
Allocator type: standard
STL containers use allocator: enabled
Strings use allocator: disabled
Memory tracker (debug): disabled
Memory tracker (release): disabled
Use 1_x legacy animations: enabled
Use Boost: disabled
Use SIMD (SSE2): enabled
Use SIMD (NEON): enabled
----------------------------------------------------------------------------
Configuring done
Generate:
Code: Select all
CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the CMake files:
FREETYPE_FT2BUILD_INCLUDE_DIR (ADVANCED)
used as include directory in directory C:/Users/kc201/Desktop/ogre-next-2.2.5
used as include directory in directory C:/Users/kc201/Desktop/ogre-next-2.2.5
used as include directory in directory C:/Users/kc201/Desktop/ogre-next-2.2.5/OgreMain
used as include directory in directory C:/Users/kc201/Desktop/ogre-next-2.2.5/OgreMain
used as include directory in directory C:/Users/kc201/Desktop/ogre-next-2.2.5/OgreMain
used as include directory in directory C:/Users/kc201/Desktop/ogre-next-2.2.5/RenderSystems
used as include directory in directory C:/Users/kc201/Desktop/ogre-next-2.2.5/RenderSystems
used as include directory in directory C:/Users/kc201/Desktop/ogre-next-2.2.5/RenderSystems/Direct3D11
used as include directory in directory C:/Users/kc201/Desktop/ogre-next-2.2.5/RenderSystems/Direct3D11
used as include directory in directory C:/Users/kc201/Desktop/ogre-next-2.2.5/RenderSystems/Direct3D11
used as include directory in directory C:/Users/kc201/Desktop/ogre-next-2.2.5/RenderSystems/GL3Plus
used as include directory in directory C:/Users/kc201/Desktop/ogre-next-2.2.5/RenderSystems/GL3Plus
used as include directory in directory C:/Users/kc201/Desktop/ogre-next-2.2.5/RenderSystems/GL3Plus
used as include directory in directory C:/Users/kc201/Desktop/ogre-next-2.2.5/RenderSystems/NULL
used as include directory in directory C:/Users/kc201/Desktop/ogre-next-2.2.5/RenderSystems/NULL
used as include directory in directory C:/Users/kc201/Desktop/ogre-next-2.2.5/RenderSystems/NULL
used as include directory in directory C:/Users/kc201/Desktop/ogre-next-2.2.5/PlugIns
used as include directory in directory C:/Users/kc201/Desktop/ogre-next-2.2.5/PlugIns
used as include directory in directory C:/Users/kc201/Desktop/ogre-next-2.2.5/PlugIns/ParticleFX
used as include directory in directory C:/Users/kc201/Desktop/ogre-next-2.2.5/PlugIns/ParticleFX
used as include directory in directory C:/Users/kc201/Desktop/ogre-next-2.2.5/PlugIns/ParticleFX
used as include directory in directory C:/Users/kc201/Desktop/ogre-next-2.2.5/Components
used as include directory in directory C:/Users/kc201/Desktop/ogre-next-2.2.5/Components
used as include directory in directory C:/Users/kc201/Desktop/ogre-next-2.2.5/Components/Hlms/Pbs
used as include directory in directory C:/Users/kc201/Desktop/ogre-next-2.2.5/Components/Hlms/Pbs
used as include directory in directory C:/Users/kc201/Desktop/ogre-next-2.2.5/Components/Hlms/Pbs
used as include directory in directory C:/Users/kc201/Desktop/ogre-next-2.2.5/Components/Hlms/Unlit
used as include directory in directory C:/Users/kc201/Desktop/ogre-next-2.2.5/Components/Hlms/Unlit
used as include directory in directory C:/Users/kc201/Desktop/ogre-next-2.2.5/Components/Hlms/Unlit
used as include directory in directory C:/Users/kc201/Desktop/ogre-next-2.2.5/Samples
used as include directory in directory C:/Users/kc201/Desktop/ogre-next-2.2.5/Samples
used as include directory in directory C:/Users/kc201/Desktop/ogre-next-2.2.5/Samples/2.0
used as include directory in directory C:/Users/kc201/Desktop/ogre-next-2.2.5/Samples/2.0
used as include directory in directory C:/Users/kc201/Desktop/ogre-next-2.2.5/Tools
used as include directory in directory C:/Users/kc201/Desktop/ogre-next-2.2.5/Tools
used as include directory in directory C:/Users/kc201/Desktop/ogre-next-2.2.5/Docs
used as include directory in directory C:/Users/kc201/Desktop/ogre-next-2.2.5/Docs
used as include directory in directory C:/Users/kc201/Desktop/ogre-next-2.2.5/Samples/Media
used as include directory in directory C:/Users/kc201/Desktop/ogre-next-2.2.5/Samples/Media
used as include directory in directory C:/Users/kc201/Desktop/ogre-next-2.2.5/CMake
used as include directory in directory C:/Users/kc201/Desktop/ogre-next-2.2.5/CMake
CMake Warning (dev) in CMakeLists.txt:
Policy CMP0021 is not set: Fatal error on relative paths in
INCLUDE_DIRECTORIES target property. Run "cmake --help-policy CMP0021" for
policy details. Use the cmake_policy command to set the policy and
suppress this warning.
Found relative path while evaluating include directories of "ALL_BUILD":
"FREETYPE_FT2BUILD_INCLUDE_DIR-NOTFOUND"
This warning is for project developers. Use -Wno-dev to suppress it.
CMake Warning (dev) in CMakeLists.txt:
Policy CMP0021 is not set: Fatal error on relative paths in
INCLUDE_DIRECTORIES target property. Run "cmake --help-policy CMP0021" for
policy details. Use the cmake_policy command to set the policy and
suppress this warning.
Found relative path while evaluating include directories of "ALL_BUILD":
"FREETYPE_FT2BUILD_INCLUDE_DIR-NOTFOUND"