Closed MVoz closed 7 years ago
ok, install Cg compiler
-- The C compiler identification is MSVC 19.11.25303.0
-- The CXX compiler identification is MSVC 19.11.25303.0
-- Configuring OGRE 1.9.0
-- Check size of void*
-- Check size of void* - done
-- Search path: E:/tools/vcpkg/buildtrees/ogre/x86-windows-rel/Dependencies;E:/tools/vcpkg/buildtrees/ogre/src/sinbad-ogre-dd30349ea667/Dependencies;E:/tools/vcpkg/buildtrees/ogre/x86-windows-rel/../Dependencies;E:/tools/vcpkg/buildtrees/ogre/src/sinbad-ogre-dd30349ea667/../Dependencies
-- Looking for ZLIB...
-- Could NOT find PkgConfig (missing: PKG_CONFIG_EXECUTABLE)
-- Found ZLIB: optimized;E:/tools/vcpkg/installed/x86-windows/lib/zlib.lib;debug;E:/tools/vcpkg/installed/x86-windows/lib/zlib.lib
-- Looking for ZZip...
-- Could NOT find PkgConfig (missing: PKG_CONFIG_EXECUTABLE)
-- Found ZZip: optimized;E:/tools/vcpkg/installed/x86-windows/lib/zziplib.lib;debug;E:/tools/vcpkg/installed/x86-windows/lib/zziplib.lib
-- Looking for FreeImage...
-- Could NOT find PkgConfig (missing: PKG_CONFIG_EXECUTABLE)
-- Found FreeImage: optimized;E:/tools/vcpkg/installed/x86-windows/lib/FreeImage.lib;debug;E:/tools/vcpkg/installed/x86-windows/lib/FreeImage.lib
-- Looking for FREETYPE...
-- Could NOT find PkgConfig (missing: PKG_CONFIG_EXECUTABLE)
-- CMAKE_PREFIX_PATH: E:/tools/vcpkg/buildtrees/ogre/x86-windows-rel/Dependencies;E:/tools/vcpkg/buildtrees/ogre/src/sinbad-ogre-dd30349ea667/Dependencies;E:/tools/vcpkg/buildtrees/ogre/x86-windows-rel/../Dependencies;E:/tools/vcpkg/buildtrees/ogre/src/sinbad-ogre-dd30349ea667/../Dependencies;E:/tools/vcpkg/installed/x86-windows
-- CMAKE_PREFIX_PATH: E:/tools/vcpkg/buildtrees/ogre/x86-windows-rel/Dependencies;E:/tools/vcpkg/buildtrees/ogre/src/sinbad-ogre-dd30349ea667/Dependencies;E:/tools/vcpkg/buildtrees/ogre/x86-windows-rel/../Dependencies;E:/tools/vcpkg/buildtrees/ogre/src/sinbad-ogre-dd30349ea667/../Dependencies;E:/tools/vcpkg/installed/x86-windows
-- Found FREETYPE: optimized;E:/tools/vcpkg/installed/x86-windows/lib/freetype.lib;debug;E:/tools/vcpkg/installed/x86-windows/lib/freetype.lib
-- Found OpenGL: opengl32
-- Looking for DirectX9...
-- DirectX9_PREFIX_PATH changed.
-- Found DirectX9: C:/Program Files (x86)/Windows Kits/10/Lib/10.0.15063.0/um/x86/d3d9.lib
-- Looking for DirectX11...
-- DirectX11_PREFIX_PATH changed.
-- Found DirectX11: C:/Program Files (x86)/Windows Kits/10/Lib/10.0.15063.0/um/x86/d3d11.lib
-- Looking for Cg...
-- Cg_PREFIX_PATH changed.
-- Could NOT find PkgConfig (missing: PKG_CONFIG_EXECUTABLE)
-- Could not locate Cg
-- Looking for POCO...
-- Could NOT find PkgConfig (missing: PKG_CONFIG_EXECUTABLE)
-- Could not locate POCO
-- Looking for TBB...
-- Found TBB: optimized;E:/tools/vcpkg/installed/x86-windows/lib/tbb.lib;debug;E:/tools/vcpkg/installed/x86-windows/lib/tbb.lib
-- Looking for TBB_MALLOC...
-- Found TBB_MALLOC: optimized;E:/tools/vcpkg/installed/x86-windows/lib/tbbmalloc.lib;debug;E:/tools/vcpkg/installed/x86-windows/lib/tbbmalloc.lib
-- Looking for TBB_MALLOC_PROXY...
-- Found TBB_MALLOC_PROXY: optimized;E:/tools/vcpkg/installed/x86-windows/lib/tbbmalloc_proxy.lib;debug;E:/tools/vcpkg/installed/x86-windows/lib/tbbmalloc_proxy.lib
-- Looking for GLSL_Optimizer...
-- GLSL_Optimizer_PREFIX_PATH changed.
-- Could NOT find PkgConfig (missing: PKG_CONFIG_EXECUTABLE)
-- Could not locate GLSL_Optimizer
-- Looking for HLSL2GLSL...
-- HLSL2GLSL_PREFIX_PATH changed.
-- Could NOT find PkgConfig (missing: PKG_CONFIG_EXECUTABLE)
-- Could not locate HLSL2GLSL
-- Looking for OIS...
-- OIS_PREFIX_PATH changed.
-- Could NOT find PkgConfig (missing: PKG_CONFIG_EXECUTABLE)
-- Could not locate OIS
-- Found Doxygen: E:/tools/doxygen/bin/doxygen.exe
-- Looking for Softimage...
-- Softimage_PREFIX_PATH changed.
-- Could not locate Softimage
-- Could NOT find TinyXML (missing: TINYXML_INCLUDE_DIR TINYXML_LIBRARIES)
-- 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.
+ zlib
+ zziplib
+ freeimage
+ freetype
+ OpenGL
+ OpenGL 3+
+ OpenGL ES 1.x
+ OpenGL ES 2.x
+ OpenGL ES 3.x
+ DirectX9
+ DirectX11
+ boost
+ boost-thread
+ boost-date_time
+ boost-system
+ boost-chrono
+ boost-atomic
+ tbb
+ Doxygen
-----------------------------------------------------------------------------
-- The following OPTIONAL packages could NOT be located on your system.
-- Consider installing them to enable more features from this software.
+ cg: C for graphics shader language <http://developer.nvidia.com/object/cg_toolkit.html>
+ POCO: POCO framework <http://pocoproject.org/>
+ GLSL Optimizer: GLSL Optimizer <http://github.com/aras-p/glsl-optimizer/>
+ HLSL2GLSL: HLSL2GLSL <http://hlsl2glslfork.googlecode.com/>
+ OIS: Input library needed for the samples <http://sourceforge.net/projects/wgois>
+ 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>
-----------------------------------------------------------------------------
-- Could not find dependency: OIS
-- Skipping samples build
--
----------------------------------------------------------------------------
FEATURE SUMMARY
----------------------------------------------------------------------------
Building components:
+ Paging
+ Property
+ Terrain
+ RTShader System
+ RTShader System Core Shaders
+ RTShader System Extensions Shaders
+ Volume
+ Overlay
Building plugins:
+ BSP scene manager
+ Octree scene manager
+ Portal connected zone scene manager
+ Particle FX
Building rendersystems:
+ Direct3D 11
+ OpenGL
Building executables:
+ Samples
Building core features:
+ DDS image codec
+ FreeImage codec
+ ZIP archives
Build type: dynamic
Threading support: background (boost)
Use double precision: disabled
Assert mode: standard
Allocator type: nedmalloc (pooling)
STL containers use allocator: enabled
Strings use allocator: disabled
Memory tracker (debug): disabled
Memory tracker (release): disabled
Use Boost: disabled
----------------------------------------------------------------------------
-- Configuring done
-- Generating done
-- Build files have been written to: E:/tools/vcpkg/buildtrees/ogre/x86-windows-rel
http://www.ogre3d.org/forums/viewtopic.php?t=69274
Dependencies-vc140-x86-12.03.2016.7z Size: 25.94M
Dependencies-vc140-x64-12.03.2016.7z Size: 28.94M
~set PKG_CONFIG_EXECUTABLE=E:\tools\Bin\pkg-config.exe
does not work
copy E:\tools\Bin\pkg-config.exe
> E:\tools\vcpkg\installed\x86-windows\bin
work
-- Found PkgConfig: E:/tools/vcpkg/installed/x86-windows/bin/pkg-config.exe (found version "0.28")
~
*nux
вроде скомпилировалось, насколько рабочее состояние, время покажет
file empty - E:\tools\vcpkg\buildtrees\ogre\package-x86-windows-rel-err.log file
E:\tools\vcpkg\buildtrees\ogre\package-x86-windows-rel-out.log
the dependence of https://developer.nvidia.com/cg-toolkit-download