Open
Description
I just built ogre-next with Visual Studio 2022 and none of the examples seem to detect a render subsystem even though the build did include, for example, DirectX11. Can somebody help me with this? Thank you.
CMake configure
``` 1> CMake generation started for configuration: 'x64-Debug'. 1> Command line: "C:\WINDOWS\system32\cmd.exe" /c "%SYSTEMROOT%\System32\chcp.com 65001 >NUL && "c:\program files\microsoft visual studio\2022\community\common7\ide\commonextensions\microsoft\cmake\CMake\bin\cmake.exe" -G "Ninja" -DCMAKE_BUILD_TYPE:STRING="Debug" -DCMAKE_INSTALL_PREFIX:PATH="C:\Users\user\src\ogre-next\out\install\x64-Debug" -DCMAKE_C_COMPILER:FILEPATH="C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.43.34808/bin/Hostx64/x64/cl.exe" -DCMAKE_CXX_COMPILER:FILEPATH="C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.43.34808/bin/Hostx64/x64/cl.exe" -DCMAKE_MAKE_PROGRAM="c:\program files\microsoft visual studio\2022\community\common7\ide\commonextensions\microsoft\cmake\Ninja\ninja.exe" "C:\Users\user\src\ogre-next" 2>&1" 1> Working directory: C:\Users\user\src\ogre-next\out\build\x64-Debug 1> [CMake] -- Configuring OGRE 4.0.0unstable 1> [CMake] -- Search path: C:/Users/user/src/ogre-next/out/build/x64-Debug/Dependencies;C:/Users/user/src/ogre-next/Dependencies;C:/Users/user/src/ogre-next/out/build/x64-Debug/../Dependencies;C:/Users/user/src/ogre-next/../Dependencies 1> [CMake] -- Looking for ZLIB... 1> [CMake] -- Could NOT find PkgConfig (missing: PKG_CONFIG_EXECUTABLE) 1> [CMake] -- Found ZLIB: optimized;C:/Users/user/src/ogre-next/Dependencies/lib/Release/zlib.lib;debug;C:/Users/user/src/ogre-next/Dependencies/lib/Debug/zlib_d.lib 1> [CMake] -- Looking for ZZip... 1> [CMake] -- Could NOT find PkgConfig (missing: PKG_CONFIG_EXECUTABLE) 1> [CMake] -- Found ZZip: optimized;C:/Users/user/src/ogre-next/Dependencies/lib/Release/zziplib.lib;debug;C:/Users/user/src/ogre-next/Dependencies/lib/Debug/zziplib_d.lib 1> [CMake] -- Looking for FreeImage... 1> [CMake] -- Could NOT find PkgConfig (missing: PKG_CONFIG_EXECUTABLE) 1> [CMake] -- Found FreeImage: optimized;C:/Users/user/src/ogre-next/Dependencies/lib/Release/FreeImage.lib;debug;C:/Users/user/src/ogre-next/Dependencies/lib/Debug/FreeImage_d.lib 1> [CMake] -- Looking for FREETYPE... 1> [CMake] -- Could NOT find PkgConfig (missing: PKG_CONFIG_EXECUTABLE) 1> [CMake] -- CMAKE_PREFIX_PATH: C:/Users/user/src/ogre-next/out/build/x64-Debug/Dependencies;C:/Users/user/src/ogre-next/Dependencies;C:/Users/user/src/ogre-next/out/build/x64-Debug/../Dependencies;C:/Users/user/src/ogre-next/../Dependencies 1> [CMake] -- CMAKE_PREFIX_PATH: C:/Users/user/src/ogre-next/out/build/x64-Debug/Dependencies;C:/Users/user/src/ogre-next/Dependencies;C:/Users/user/src/ogre-next/out/build/x64-Debug/../Dependencies;C:/Users/user/src/ogre-next/../Dependencies 1> [CMake] -- Found FREETYPE: optimized;C:/Users/user/src/ogre-next/Dependencies/lib/Release/freetype.lib;debug;C:/Users/user/src/ogre-next/Dependencies/lib/Debug/freetype_d.lib 1> [CMake] -- Looking for Rapidjson... 1> [CMake] -- Could NOT find PkgConfig (missing: PKG_CONFIG_EXECUTABLE) 1> [CMake] -- Looking for RenderDoc... 1> [CMake] -- Could NOT find PkgConfig (missing: PKG_CONFIG_EXECUTABLE) 1> [CMake] -- Looking for DirectX11... 1> [CMake] -- Found DirectX11 headers: C:/Program Files (x86)/Windows Kits/10/Include/10.0.22621.0/um 1> [CMake] -- Found DirectX11: d3d11.lib;dxgi.lib;dxguid.lib 1> [CMake] -- Looking for AMDAGS... 1> [CMake] -- Could NOT find PkgConfig (missing: PKG_CONFIG_EXECUTABLE) 1> [CMake] -- Found AMDAGS: optimized;C:/Users/user/src/ogre-next/Dependencies/lib/release/amd_ags_x64.lib;debug;C:/Users/user/src/ogre-next/Dependencies/lib/debug/amd_ags_x64.lib 1> [CMake] -- Looking for OpenVR... 1> [CMake] -- Could NOT find PkgConfig (missing: PKG_CONFIG_EXECUTABLE) 1> [CMake] -- Found OpenVR: optimized;C:/Users/user/src/ogre-next/Dependencies/lib/release/openvr_api.lib;debug;C:/Users/user/src/ogre-next/Dependencies/lib/debug/openvr_api.lib 1> [CMake] -- Looking for Remotery... 1> [CMake] -- Could NOT find PkgConfig (missing: PKG_CONFIG_EXECUTABLE) 1> [CMake] -- Looking for POCO... 1> [CMake] -- Could NOT find PkgConfig (missing: PKG_CONFIG_EXECUTABLE) 1> [CMake] -- Could not locate POCO 1> [CMake] -- Looking for TBB... 1> [CMake] -- Could not locate TBB 1> [CMake] -- Looking for GLSL_Optimizer... 1> [CMake] -- Could NOT find PkgConfig (missing: PKG_CONFIG_EXECUTABLE) 1> [CMake] -- Could not locate GLSL_Optimizer 1> [CMake] -- Looking for HLSL2GLSL... 1> [CMake] -- Could NOT find PkgConfig (missing: PKG_CONFIG_EXECUTABLE) 1> [CMake] -- Could not locate HLSL2GLSL 1> [CMake] -- Could NOT find Doxygen (missing: DOXYGEN_EXECUTABLE) 1> [CMake] -- Looking for Softimage... 1> [CMake] -- Could not locate Softimage 1> [CMake] -- Could NOT find TinyXML (missing: TINYXML_INCLUDE_DIR TINYXML_LIBRARIES) 1> [CMake] -- Looking for CppUnit... 1> [CMake] -- Could NOT find PkgConfig (missing: PKG_CONFIG_EXECUTABLE) 1> [CMake] -- Could not locate CppUnit 1> [CMake] -- 1> [CMake] ----------------------------------------------------------------------------- 1> [CMake] -- The following external packages were located on your system. 1> [CMake] -- This installation will have the extra features provided by these packages. 1> [CMake] + zlib 1> [CMake] + zziplib 1> [CMake] + freeimage 1> [CMake] + freetype 1> [CMake] + vulkan-sdk 1> [CMake] + rapidjson 1> [CMake] + RenderDoc 1> [CMake] + OpenGL 1> [CMake] + OpenGL 3+ 1> [CMake] + OpenGL ES 2.x 1> [CMake] + OpenGL ES 3.x 1> [CMake] + DirectX11 1> [CMake] + AMDAGS 1> [CMake] + OpenVR 1> [CMake] + Remotery 1> [CMake] + SDL2 1> [CMake] ----------------------------------------------------------------------------- 1> [CMake] -- The following OPTIONAL packages could NOT be located on your system. 1> [CMake] -- Consider installing them to enable more features from this software. 1> [CMake] + POCO: POCO framework 1> [CMake] + tbb: Threading Building Blocks 1> [CMake] + GLSL Optimizer: GLSL Optimizer 1> [CMake] + HLSL2GLSL: HLSL2GLSL 1> [CMake] + Doxygen: Tool for building API documentation 1> [CMake] + Softimage: Softimage SDK needed for building XSIExporter 1> [CMake] + TinyXML: TinyXML needed for building OgreXMLConverter 1> [CMake] + CppUnit: Library for performing unit tests 1> [CMake] ----------------------------------------------------------------------------- 1> [CMake] 1> [CMake] -- Installing target: OgreNextMain TRUE 1> [CMake] -- Installing target: RenderSystem_Direct3D11 /opt OFF 1> [CMake] -- Installing target: RenderSystem_GL3Plus /opt OFF 1> [CMake] -- Installing target: RenderSystem_Vulkan /opt OFF 1> [CMake] -- Installing target: RenderSystem_NULL /opt OFF 1> [CMake] -- Installing target: Plugin_ParticleFX /opt OFF 1> [CMake] -- Installing target: Plugin_ParticleFX2 /opt OFF 1> [CMake] -- Installing target: OgreNextAtmosphere FALSE 1> [CMake] -- Installing target: OgreNextHlmsPbs FALSE 1> [CMake] -- OGRE_NEXT_PREFIX: OGRE-Next 1> [CMake] -- Installing target: OgreNextHlmsUnlit FALSE 1> [CMake] -- Installing target: OgreNextSceneFormat FALSE 1> [CMake] -- Installing target: OgreNextMeshLodGenerator FALSE 1> [CMake] -- Installing target: OgreNextProperty FALSE 1> [CMake] -- Installing target: OgreNextOverlay FALSE 1> [CMake] -- Installing target: Sample_AnimationTagPoint /opt/samples FALSE 1> [CMake] -- Installing target: Sample_AreaApproxLights /opt/samples FALSE 1> [CMake] -- Installing target: Sample_Atmosphere /opt/samples FALSE 1> [CMake] -- Installing target: Sample_ImportAnimationsShareSkeletonInstance /opt/samples FALSE 1> [CMake] -- Installing target: Sample_CustomRenderable /opt/samples FALSE 1> [CMake] -- Installing target: Sample_Decals /opt/samples FALSE 1> [CMake] -- Installing target: Sample_DynamicGeometry /opt/samples FALSE 1> [CMake] -- Installing target: Sample_IesProfiles /opt/samples FALSE 1> [CMake] -- Installing target: Sample_ImageVoxelizer /opt/samples FALSE 1> [CMake] -- Installing target: Sample_InstancedStereo /opt/samples FALSE 1> [CMake] -- Installing target: Sample_InstantRadiosity /opt/samples FALSE 1> [CMake] -- Installing target: Sample_LocalCubemaps /opt/samples FALSE 1> [CMake] -- Installing target: Sample_LocalCubemapsManualProbes /opt/samples FALSE 1> [CMake] -- Installing target: Sample_MeshLod /opt/samples FALSE 1> [CMake] -- Installing target: Sample_MorphAnimations /opt/samples FALSE 1> [CMake] -- Installing target: Sample_ParticleFX /opt/samples FALSE 1> [CMake] -- Installing target: Sample_ParticleFX2 /opt/samples FALSE 1> [CMake] -- Installing target: Sample_Refractions /opt/samples FALSE 1> [CMake] -- Installing target: Sample_V1Interfaces /opt/samples FALSE 1> [CMake] -- Installing target: Sample_V2Mesh /opt/samples FALSE 1> [CMake] -- Installing target: Sample_V2ManualObject /opt/samples FALSE 1> [CMake] -- Installing target: Sample_PccPerPixelGridPlacement /opt/samples FALSE 1> [CMake] -- Skipping PlanarReflections sample (OGRE_BUILD_COMPONENT_PLANAR_REFLECTIONS not set) 1> [CMake] -- Installing target: Sample_SceneFormat /opt/samples FALSE 1> [CMake] -- Installing target: Sample_ScreenSpaceReflections /opt/samples FALSE 1> [CMake] -- Installing target: Sample_StaticShadowMaps /opt/samples FALSE 1> [CMake] -- Installing target: Sample_StencilTest /opt/samples FALSE 1> [CMake] -- Installing target: Sample_StereoRendering /opt/samples FALSE 1> [CMake] -- Installing target: Sample_ShadowMapDebugging /opt/samples FALSE 1> [CMake] -- Installing target: Sample_ShadowMapFromCode /opt/samples FALSE 1> [CMake] -- Installing target: Sample_UpdatingDecalsAndAreaLightTex /opt/samples FALSE 1> [CMake] -- Installing target: Sample_Forward3D /opt/samples FALSE 1> [CMake] -- Installing target: Sample_Hdr /opt/samples FALSE 1> [CMake] -- Installing target: Sample_HdrSmaa /opt/samples FALSE 1> [CMake] -- Installing target: Sample_PbsMaterials /opt/samples FALSE 1> [CMake] -- Installing target: Sample_Postprocessing /opt/samples FALSE 1> [CMake] -- Installing target: Sample_Tutorial00_Basic /opt/samples FALSE 1> [CMake] -- Installing target: Sample_Tutorial01_Initialization /opt/samples FALSE 1> [CMake] -- Installing target: Sample_Tutorial02_VariableFramerate /opt/samples FALSE 1> [CMake] -- Installing target: Sample_Tutorial03_DeterministicLoop /opt/samples FALSE 1> [CMake] -- Installing target: Sample_Tutorial04_InterpolationLoop /opt/samples FALSE 1> [CMake] -- Installing target: Sample_Tutorial05_MultithreadingBasics /opt/samples FALSE 1> [CMake] -- Installing target: Sample_Tutorial06_Multithreading /opt/samples FALSE 1> [CMake] -- Installing target: Sample_TutorialCompute01_UavTexture /opt/samples FALSE 1> [CMake] -- Installing target: Sample_TutorialCompute02_UavBuffer /opt/samples FALSE 1> [CMake] -- Installing target: Sample_Tutorial_Distortion /opt/samples FALSE 1> [CMake] -- Installing target: Sample_Tutorial_DynamicCubemap /opt/samples FALSE 1> [CMake] -- Installing target: Tutorial_Hlms01_Customization /opt/samples FALSE 1> [CMake] -- Installing target: Tutorial_Hlms02_CustomizationPerObj /opt/samples FALSE 1> [CMake] -- Installing target: Tutorial_Hlms03_AlwaysOnTopA /opt/samples FALSE 1> [CMake] -- Installing target: Tutorial_Hlms04_AlwaysOnTopB /opt/samples FALSE 1> [CMake] -- Installing target: Tutorial_Hlms05_CustomizationPerObjData /opt/samples FALSE 1> [CMake] -- Installing target: Sample_Tutorial_Memory /opt/samples FALSE 1> [CMake] -- Installing target: Tutorial_OpenVR /opt/samples FALSE 1> [CMake] -- Installing target: Sample_Tutorial_ReconstructPosFromDepth /opt/samples FALSE 1> [CMake] -- Installing target: Sample_TutorialSky_Postprocess /opt/samples FALSE 1> [CMake] -- Installing target: Sample_Tutorial_SSAO /opt/samples FALSE 1> [CMake] -- Installing target: Sample_Tutorial_SMAA /opt/samples FALSE 1> [CMake] -- Installing target: Sample_Tutorial_Terrain /opt/samples FALSE 1> [CMake] -- Installing target: Sample_Tutorial_TextureBaking /opt/samples FALSE 1> [CMake] -- Installing target: Sample_TutorialUav01_Setup /opt/samples FALSE 1> [CMake] -- Installing target: Sample_TutorialUav02_Setup /opt/samples FALSE 1> [CMake] -- Installing target: Sample_Tutorial_VulkanExternal /opt/samples FALSE 1> [CMake] -- Installing target: OgreCmgenToCubemap FALSE 1> [CMake] -- Installing target: OgreMeshTool FALSE 1> [CMake] -- 1> [CMake] ---------------------------------------------------------------------------- 1> [CMake] FEATURE SUMMARY 1> [CMake] ---------------------------------------------------------------------------- 1> [CMake] 1> [CMake] Building components: 1> [CMake] + MeshLodGenerator 1> [CMake] + Atmosphere 1> [CMake] + Property 1> [CMake] + SceneFormat 1> [CMake] + Overlay 1> [CMake] Building plugins: 1> [CMake] + Particle FX 1> [CMake] + Particle FX2 1> [CMake] Building rendersystems: 1> [CMake] + Direct3D 11 1> [CMake] + OpenGL 3.3+ 1> [CMake] + Vulkan 1> [CMake] Building executables: 1> [CMake] + Samples 1> [CMake] + Tools 1> [CMake] Building core features: 1> [CMake] + Mesh Lod 1> [CMake] + DDS image codec 1> [CMake] + ETC image codec 1> [CMake] + FreeImage codec 1> [CMake] + rapidjson 1> [CMake] + ZIP archives 1> [CMake] + RenderDoc Integration 1> [CMake] + AMD AGS D3D11 Vendor extensions 1> [CMake] 1> [CMake] Build type: dynamic 1> [CMake] Threading support: none 1> [CMake] Use double precision: disabled 1> [CMake] Nodes inherit transform: disabled 1> [CMake] Assert mode: standard 1> [CMake] Allocator type: none 1> [CMake] STL containers use allocator: disabled 1> [CMake] Strings use allocator: disabled 1> [CMake] Memory tracker (debug): disabled 1> [CMake] Memory tracker (release): disabled 1> [CMake] Use SIMD (SSE2): enabled 1> [CMake] Use SIMD (NEON): enabled 1> [CMake] 1> [CMake] ---------------------------------------------------------------------------- 1> [CMake] 1> [CMake] -- Configuring done (5.7s) 1> [CMake] -- Generating done (1.5s) 1> [CMake] -- Build files have been written to: C:/Users/user/src/ogre-next/out/build/x64-Debug 1> Extracted CMake variables. 1> Extracted source files and headers. 1> Extracted code model. 1> Extracted toolchain configurations. 1> Extracted includes paths. 1> CMake generation finished.</details>