gongminmin / klayge Goto Github PK
View Code? Open in Web Editor NEWKlayGE is a cross-platform open source game engine with plugin-based architecture.
Home Page: http://www.klayge.org
License: GNU General Public License v2.0
KlayGE is a cross-platform open source game engine with plugin-based architecture.
Home Page: http://www.klayge.org
License: GNU General Public License v2.0
Migrated from trac ticket 177, submitted by [email protected].
Port KlayGE to web. Could be:
1、WebGL
2、NaCL
3、others
Migrated from trac ticket 76.
Extent the distance-based technique to vector texture.
Migrated from trac ticket 321.
Enables shadow generation for terrain.
ndk version: r10e
compiler: gcc 4.9
target arch: armeabi-v7a
target platform: android 4.3
(ERROR) KlayGE: C:\workspace\KlayGE\KlayGE\Samples\Build\gcc49_android_armeabi-v7a-Debug\AreaLighting\Shader@0x000000BF10769FE0(1863,31-37): warning X3203: signed
/unsigned mismatch, unsigned assumed
(INFO) KlayGE: ...
(INFO) KlayGE: 1947
(INFO) KlayGE: 1948 #if LIGHT_BATCH > 4
(INFO) KlayGE: 1949 for (uint comp = 0, li = 0; li < nl; ++ comp, li += 8)
(INFO) KlayGE: 1950 {
(INFO) KlayGE: 1951 uint index = li + 7;
(INFO) KlayGE: ...
(ERROR) KlayGE: C:\workspace\KlayGE\KlayGE\Samples\Build\gcc49_android_armeabi-v7a-Debug\AreaLighting\Shader@0x000000BF10769FE0(1949,31-37): warning X3203: signed
/unsigned mismatch, unsigned assumed
Compiled kfx has been saved to C:\workspace\KlayGE\KlayGE\Samples\Build\gcc49_android_armeabi-v7a-Debug\AreaLighting\assets\LightIndexedDeferredRendering32.kfx.
Compiled kfx has been saved to C:\workspace\KlayGE\KlayGE\Samples\Build\gcc49_android_armeabi-v7a-Debug\AreaLighting\assets\MultiRes.kfx.
(ERROR) KlayGE: Error when compiling ParticleVS2:
(ERROR) KlayGE: (0): error X3501: 'ParticleVS2': entrypoint not found
(ERROR) KlayGE:
Compiled kfx has been saved to C:\workspace\KlayGE\KlayGE\Samples\Build\gcc49_android_armeabi-v7a-Debug\AreaLighting\assets\Particle.kfx.
Compiled kfx has been saved to C:\workspace\KlayGE\KlayGE\Samples\Build\gcc49_android_armeabi-v7a-Debug\AreaLighting\assets\PostToneMapping.kfx.
Compiled kfx has been saved to C:\workspace\KlayGE\KlayGE\Samples\Build\gcc49_android_armeabi-v7a-Debug\AreaLighting\assets\Resizer.kfx.
Compiled kfx has been saved to C:\workspace\KlayGE\KlayGE\Samples\Build\gcc49_android_armeabi-v7a-Debug\AreaLighting\assets\RSM2VPLs.kfx.
Compiled kfx has been saved to C:\workspace\KlayGE\KlayGE\Samples\Build\gcc49_android_armeabi-v7a-Debug\AreaLighting\assets\SkyBox.kfx.
Compiled kfx has been saved to C:\workspace\KlayGE\KlayGE\Samples\Build\gcc49_android_armeabi-v7a-Debug\AreaLighting\assets\SSGI.kfx.
Compiled kfx has been saved to C:\workspace\KlayGE\KlayGE\Samples\Build\gcc49_android_armeabi-v7a-Debug\AreaLighting\assets\SSR.kfx.
Compiled kfx has been saved to C:\workspace\KlayGE\KlayGE\Samples\Build\gcc49_android_armeabi-v7a-Debug\AreaLighting\assets\SSS.kfx.
Compiled kfx has been saved to C:\workspace\KlayGE\KlayGE\Samples\Build\gcc49_android_armeabi-v7a-Debug\AreaLighting\assets\SSVO.kfx.
Compiled kfx has been saved to C:\workspace\KlayGE\KlayGE\Samples\Build\gcc49_android_armeabi-v7a-Debug\AreaLighting\assets\SumLum.kfx.
Compiled kfx has been saved to C:\workspace\KlayGE\KlayGE\Samples\Build\gcc49_android_armeabi-v7a-Debug\AreaLighting\assets\TAA.kfx.
Compiled kfx has been saved to C:\workspace\KlayGE\KlayGE\Samples\Build\gcc49_android_armeabi-v7a-Debug\AreaLighting\assets\TileBasedDeferredRendering.kfx.
(ERROR) KlayGE: Error when compiling ToneMapping30VS:
(ERROR) KlayGE: (0): error X3501: 'ToneMapping30VS': entrypoint not found
(ERROR) KlayGE:
(ERROR) KlayGE: Error when compiling ToneMapping30PS:
(ERROR) KlayGE: (0): error X3501: 'ToneMapping30PS': entrypoint not found
(ERROR) KlayGE:
Compiled kfx has been saved to C:\workspace\KlayGE\KlayGE\Samples\Build\gcc49_android_armeabi-v7a-Debug\AreaLighting\assets\ToneMapping.kfx.
Compiled kfx has been saved to C:\workspace\KlayGE\KlayGE\Samples\Build\gcc49_android_armeabi-v7a-Debug\AreaLighting\assets\VPLsLighting.kfx.
Compiled kfx has been saved to C:\workspace\KlayGE\KlayGE\Samples\Build\gcc49_android_armeabi-v7a-Debug\AreaLighting\assets\UI.kfx.
Binary model has been saved to C:\workspace\KlayGE\KlayGE\Samples\Build\gcc49_android_armeabi-v7a-Debug\AreaLighting\assets\sphere_high.meshml.model_bin.
Binary model has been saved to C:\workspace\KlayGE\KlayGE\Samples\Build\gcc49_android_armeabi-v7a-Debug\AreaLighting\assets\sponza_crytek.meshml.model_bin.
'android' 不是内部或外部命令,也不是可运行的程序
或批处理文件。
make[2]: *** [AreaLighting/libs/armeabi-v7a/libAreaLighting_d.so] Error 1
make[1]: *** [AreaLighting/CMakeFiles/AreaLighting.dir/all] Error 2
make: *** [all] Error 2
[E] Build Samples failed.
As in D3D12's pipeline object.
Migrated from trac ticket 33.
Use Webkit's HTML5 engine to present UI. Including HTML, CSS, JS.
The target is a lib like Awesomium. We can modify one from:
Render the scene with a higher DPI when necessary. But we don't need to render the scene with DPI higher than 200%.
Migrated from trac ticket 191.
Refactor the interface to match the D3D 11.2 tiled resource and OpenGL's sparse texture.
When I try to build KlayGE, and I go forward with Installation instruction, but I met a problem when I execute python build_all.py. My environment is win10 64bit with cmake and python 2.7.11. Here is the building log of cmd shell.
C:\Users\augustus liu\Src\KlayGE\External\freetype\Build\vc140_win_x64>cmake -G "Visual Studio 14 Win64" -T v140 ../cm
ke
-- Configuring done
-- Generating done
-- Build files have been written to: C:/Users/augustus liu/Src/KlayGE/External/freetype/Build/vc140_win_x64
ERROR: Cannot determine the location of the VS Common Tools folder.
freetype.vcxproj -> C:\Users\augustus liu\Src\KlayGE\External\freetype\objs\win_x64\freetype261_vc140_d.lib
freetype.vcxproj -> C:\Users\augustus liu\Src\KlayGE\External\freetype\objs\win_x64\freetype261_vc140.lib
Seting up DXSDK...
C:\Users\augustus liu\Src\KlayGE\External\DXSDK\Build\vc140_win_x64>cmake -G "Visual Studio 14 Win64" -T v140 ../cmake
-- Configuring done
-- Generating done
-- Build files have been written to: C:/Users/augustus liu/Src/KlayGE/External/DXSDK/Build/vc140_win_x64
ERROR: Cannot determine the location of the VS Common Tools folder.
Building Custom Rule C:/Users/augustus liu/Src/KlayGE/External/DXSDK/Build/cmake/CMakeLists.txt
CMake does not need to re-run because C:\Users\augustus liu\Src\KlayGE\External\DXSDK\Build\vc140_win_x64\CMakeFiles\
generate.stamp is up-to-date.
Generating C:/Users/augustus liu/Src/KlayGE/KlayGE/bin/win_x64/d3dcompiler_47.dll
Error copying file (if different) from "C:/Users/augustus liu/Src/KlayGE/External/DXSDK/Build/cmake/../../Redist/x64/
d3dcompiler_47.dll" to "C:/Users/augustus liu/Src/KlayGE/External/DXSDK/Build/cmake/../../../../KlayGE/bin/win_x64/d3
dcompiler_47.dll".
C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.CppCommon.targets(171,5): error MSB6006: "cmd.exe" exi
ted with code 1. [C:\Users\augustus liu\Src\KlayGE\External\DXSDK\Build\vc140_win_x64\Redist.vcxproj]
[E] Build DXSDK failed.
Press any key to continue . . .
Migrated from trac ticket 40.
Cloud, snow, rain, lightning
Migrated from trac ticket 102.
To see if it's worth to add non-uniform scaling support to skeleton export and rendering.
Migrated from trac ticket 256.
Supports OpenSL on Android platform.
Adds interfaces for mesh LOD calculation and choosen.
Migrated from trac ticket 300.
A shader-based blitter for:
Supports resizing with point or linear sampling.
Migrated from trac ticket 30.
Make sure all code are following the coding style guide: http://www.klayge.org/wiki/index.php/C%2B%2B_style_guide
ClangFormat (http://clang.llvm.org/docs/ClangFormat.html) could be useful for this.
Migrated from trac ticket 277.
Render to a smaller target and upsampling.
Building Python...
D:\workspace\KlayGE\External\Python\Build\gcc49_android_armeabi-v7a-Debug>cmake -G "MinGW Makefiles" -D BUILTIN_COLLECTIONS:BOOL="ON" -D BUIL
TIN_FUNCTOOLS:BOOL="ON" -D BUILTIN_IO:BOOL="ON" -D BUILTIN_ITERTOOLS:BOOL="ON" -D BUILTIN_MATH:BOOL="ON" -D BUILTIN_MSI:BOOL="
OFF" -D BUILTIN_OPERATOR:BOOL="ON" -D BUILTIN_UNICODEDATA:BOOL="ON" -D BUILTIN_MSVCRT:BOOL="OFF" -D BUILTIN_WINREG:BOOL
="ON" -D BUILTIN_SUBPROCESS:BOOL="OFF" -D BUILTIN_SELECT:BOOL="OFF" -D BUILTIN_SOCKET:BOOL="OFF" -D BUILTIN_MMAP:BOOL="OFF"
-D ENABLE_AUDIOOP:BOOL="OFF" -D ENABLE_CODECS_CN:BOOL="OFF" -D ENABLE_CODECS_HK:BOOL="OFF" -D ENABLE_CODECS_ISO2022:BOOL="OFF" -D ENA
BLE_CODECS_JP:BOOL="OFF" -D ENABLE_CODECS_KR:BOOL="OFF" -D ENABLE_CODECS_TW:BOOL="OFF" -D ENABLE_LOCALE:BOOL="OFF" -D ENABLE_MULTIBYT
ECODEC:BOOL="OFF" -D ENABLE_MULTIPROCESSING:BOOL="OFF" -D ENABLE_OSSAUDIODEV:BOOL="OFF" -D ENABLE_SCPROXY:BOOL="OFF" -D USE
_SYSTEM_Curses:BOOL="OFF" -D USE_SYSTEM_EXPAT:BOOL="OFF" -D USE_SYSTEM_DB:BOOL="OFF" -D USE_SYSTEM_GDBM:BOOL="OFF" -D USE_SYSTEM_
OpenSSL:BOOL="OFF" -D USE_SYSTEM_READLINE:BOOL="OFF" -D USE_SYSTEM_SQLITE3:BOOL="OFF" -D USE_SYSTEM_TCL:BOOL="OFF" -D USE_SYSTEM_
ZLIB:BOOL="OFF" -DKLAYGE_ARCH_NAME:STRING="armeabi-v7a" -DCMAKE_TOOLCHAIN_FILE="D:\workspace\KlayGE/cmake/android.toolchain.cmake" -DANDROID_N
ATIVE_API_LEVEL=10 -DCMAKE_MAKE_PROGRAM="D:\workspace\android-ndk-r10e\prebuilt\windows-x86_64\bin\make.exe" -DCMAKE_BUILD_TYPE:STRING="Debug"
-DANDROID_ABI=armeabi-v7a -DANDROID_TOOLCHAIN_NAME=arm-linux-androideabi-4.9 ../cmake
-- Adjusting Android API level 'android-10' to 'android-9'
CMake Warning (dev) at D:/workspace/KlayGE/cmake/android.toolchain.cmake:1655 (if):
Policy CMP0054 is not set: Only interpret if() arguments as variables or
keywords when unquoted. Run "cmake --help-policy CMP0054" for policy
details. Use the cmake_policy command to set the policy and suppress this
warning.
Quoted variables like "LIBRARY_OUTPUT_PATH_ROOT" will no longer be
dereferenced when the policy is set to NEW. Since the policy is not set
the OLD behavior will be used.
Call Stack (most recent call first):
D:/workspace/KlayGE/External/Python/Build/gcc49_android_armeabi-v7a-Debug/CMakeFiles/3.4.1/CMakeSystem.cmake:6 (include)
CMakeLists.txt:8 (project)
This warning is for project developers. Use -Wno-dev to suppress it.
-- The system name is Android
-- The system version is 1
-- Looking for CMake command configure_package_config_file
-- Looking for CMake command configure_package_config_file - found
-- Looking for CMake command write_basic_package_version_file
-- Looking for CMake command write_basic_package_version_file - found
-- ptmx: HAVE_DEV_PTMX-NOTFOUND ptc: HAVE_DEV_PTC-NOTFOUND
-- Checking for XOPEN_SOURCE
-- Checking for XOPEN_SOURCE - yes
-- Checking for Large File Support
-- Checking for Large File Support - yes
-- Checking whether C doubles are little-endian IEEE 754 binary64
-- Checking whether C doubles are little-endian IEEE 754 binary64 - no
-- Checking whether C doubles are big-endian IEEE 754 binary64
-- Checking whether C doubles are big-endian IEEE 754 binary64 - no
-- Checking doubles are ARM mixed-endian IEEE 754 binary64
-- Checking doubles are ARM mixed-endian IEEE 754 binary64 - no
CMake Warning (dev) at cmake/PlatformTest.cmake:8 (IF):
Policy CMP0054 is not set: Only interpret if() arguments as variables or
keywords when unquoted. Run "cmake --help-policy CMP0054" for policy
details. Use the cmake_policy command to set the policy and suppress this
warning.
Quoted variables like "HAVE_GCC_ASM_FOR_X87_COMPILED" will no longer be
dereferenced when the policy is set to NEW. Since the policy is not set
the OLD behavior will be used.
Call Stack (most recent call first):
cmake/ConfigureChecks.cmake:685 (python_platform_test)
CMakeLists.txt:87 (include)
This warning is for project developers. Use -Wno-dev to suppress it.
-- Checking for x87-style double rounding
-- Checking for x87-style double rounding - no
-- Checking whether tanh preserves the sign of zero
-- Checking whether tanh preserves the sign of zero - no
-- Using unsigned short for unicode
-- Checking whether POSIX semaphores are enabled
-- Checking whether POSIX semaphores are enabled - no
-- Checking for broken sem_getvalue
-- Checking for broken sem_getvalue - no
-- Checking for working tzset()
-- Checking for working tzset() - no
-- Checking for %lld and %llu printf() format support
-- Checking for %lld and %llu printf() format support - no
-- Checking for %zd printf() format support()
-- Checking for %zd printf() format support() - no
--
-- The following extensions will NOT be built:
--
-- cmath (not set: HAVE_LIBM)
-- _codecs_cn (not set: ENABLE_CODECS_CN)
-- _codecs_hk (not set: ENABLE_CODECS_HK)
-- _codecs_iso2022 (not set: ENABLE_CODECS_ISO2022)
-- _codecs_jp (not set: ENABLE_CODECS_JP)
-- _codecs_kr (not set: ENABLE_CODECS_KR)
-- _codecs_tw (not set: ENABLE_CODECS_TW)
-- crypt (not set: HAVE_LIBCRYPT)
-- datetime (not set: HAVE_LIBM)
-- _locale (not set: ENABLE_LOCALE)
-- _multibytecodec (not set: ENABLE_MULTIBYTECODEC)
-- time (not set: HAVE_LIBM)
-- fcntl (not set: UNIX)
-- grp (not set: UNIX)
-- nis (not set: UNIX HAVE_LIBNSL)
-- posix (not set: UNIX)
-- pwd (not set: UNIX)
-- resource (not set: UNIX)
-- spwd (not set: UNIX HAVE_GETSPNAM HAVE_GETSPENT)
-- syslog (not set: UNIX)
-- termios (not set: UNIX)
-- _scproxy (not set: APPLE HAVE_LIBSYSTEMCONFIGURATION ENABLE_SCPROXY)
-- ossaudiodev (not set: LINUX ENABLE_OSSAUDIODEV)
-- _msi (not set: WIN32)
-- msvcrt (not set: MSVC)
-- nt (not set: WIN32)
-- _subprocess (not set: WIN32)
-- winreg (not set: WIN32)
-- _bsddb (not set: DB_INCLUDE_PATH DB_LIBRARIES)
-- bz2 (not set: BZIP2_LIBRARIES)
-- _curses_panel (not set: CURSES_LIBRARIES)
-- _curses (not set: CURSES_LIBRARIES)
-- dbm (not set: GDBM_INCLUDE_PATH GDBM_LIBRARY GDBM_COMPAT_LIBRARY)
-- gdbm (not set: GDBM_INCLUDE_PATH GDBM_LIBRARY GDBM_COMPAT_LIBRARY)
-- _hashlib (not set: OPENSSL_INCLUDE_DIR OPENSSL_LIBRARIES)
-- readline (not set: READLINE_INCLUDE_PATH READLINE_LIBRARY CURSES_LIBRARIES)
-- _sqlite3 (not set: SQLITE3_INCLUDE_PATH SQLITE3_LIBRARY)
-- _ssl (not set: OPENSSL_INCLUDE_DIR OPENSSL_LIBRARIES)
-- _tkinter (not set: TCL_LIBRARY TK_LIBRARY TCL_INCLUDE_PATH TK_INCLUDE_PATH)
-- zlib (not set: ZLIB_LIBRARY ZLIB_INCLUDE_DIR)
--
-- Configuring done
-- Generating done
-- Build files have been written to: D:/workspace/KlayGE/External/Python/Build/gcc49_android_armeabi-v7a-Debug
[ 0%] Building C object CMakeBuild/libpython/CMakeFiles/libpython-static.dir/D_/workspace/KlayGE/External/Python/Modules/faulthandler.c.o
D:\workspace\KlayGE\External\Python\Modules\faulthandler.c:58:1: warning: missing initializer for field 'interp' of 'struct <anonymous>' [-Wmissing-fiel
d-initializers]
} fatal_error = {0, NULL, -1, 0};
^
D:\workspace\KlayGE\External\Python\Modules\faulthandler.c:57:25: note: 'interp' declared here
PyInterpreterState *interp;
^
D:\workspace\KlayGE\External\Python\Modules\faulthandler.c:111:5: warning: missing initializer for field 'previous' of 'fault_handler_t' [-Wmissing-fiel
d-initializers]
{SIGBUS, 0, "Bus error", },
^
D:\workspace\KlayGE\External\Python\Modules\faulthandler.c:48:22: note: 'previous' declared here
_Py_sighandler_t previous;
^
D:\workspace\KlayGE\External\Python\Modules\faulthandler.c:114:5: warning: missing initializer for field 'previous' of 'fault_handler_t' [-Wmissing-fiel
d-initializers]
{SIGILL, 0, "Illegal instruction", },
^
D:\workspace\KlayGE\External\Python\Modules\faulthandler.c:48:22: note: 'previous' declared here
_Py_sighandler_t previous;
^
D:\workspace\KlayGE\External\Python\Modules\faulthandler.c:116:5: warning: missing initializer for field 'previous' of 'fault_handler_t' [-Wmissing-fiel
d-initializers]
{SIGFPE, 0, "Floating point exception", },
^
D:\workspace\KlayGE\External\Python\Modules\faulthandler.c:48:22: note: 'previous' declared here
_Py_sighandler_t previous;
^
D:\workspace\KlayGE\External\Python\Modules\faulthandler.c:117:5: warning: missing initializer for field 'previous' of 'fault_handler_t' [-Wmissing-fiel
d-initializers]
{SIGABRT, 0, "Aborted", },
^
D:\workspace\KlayGE\External\Python\Modules\faulthandler.c:48:22: note: 'previous' declared here
_Py_sighandler_t previous;
^
D:\workspace\KlayGE\External\Python\Modules\faulthandler.c:120:5: warning: missing initializer for field 'previous' of 'fault_handler_t' [-Wmissing-fiel
d-initializers]
{SIGSEGV, 0, "Segmentation fault", }
^
D:\workspace\KlayGE\External\Python\Modules\faulthandler.c:48:22: note: 'previous' declared here
_Py_sighandler_t previous;
^
D:\workspace\KlayGE\External\Python\Modules\faulthandler.c: In function 'faulthandler_dump_traceback_py':
D:\workspace\KlayGE\External\Python\Modules\faulthandler.c:251:42: warning: unused parameter 'self' [-Wunused-parameter]
faulthandler_dump_traceback_py(PyObject *self,
^
D:\workspace\KlayGE\External\Python\Modules\faulthandler.c: In function 'faulthandler_enable':
D:\workspace\KlayGE\External\Python\Modules\faulthandler.c:357:31: warning: unused parameter 'self' [-Wunused-parameter]
faulthandler_enable(PyObject *self, PyObject *args, PyObject *kwargs)
^
D:\workspace\KlayGE\External\Python\Modules\faulthandler.c: In function 'faulthandler_disable_py':
D:\workspace\KlayGE\External\Python\Modules\faulthandler.c:449:35: warning: unused parameter 'self' [-Wunused-parameter]
faulthandler_disable_py(PyObject *self)
^
D:\workspace\KlayGE\External\Python\Modules\faulthandler.c: In function 'faulthandler_is_enabled':
D:\workspace\KlayGE\External\Python\Modules\faulthandler.c:461:35: warning: unused parameter 'self' [-Wunused-parameter]
faulthandler_is_enabled(PyObject *self)
^
D:\workspace\KlayGE\External\Python\Modules\faulthandler.c: In function 'faulthandler_thread':
D:\workspace\KlayGE\External\Python\Modules\faulthandler.c:469:27: warning: unused parameter 'unused' [-Wunused-parameter]
faulthandler_thread(void *unused)
^
D:\workspace\KlayGE\External\Python\Modules\faulthandler.c: In function 'faulthandler_dump_traceback_later':
D:\workspace\KlayGE\External\Python\Modules\faulthandler.c:557:45: warning: unused parameter 'self' [-Wunused-parameter]
faulthandler_dump_traceback_later(PyObject *self,
^
D:\workspace\KlayGE\External\Python\Modules\faulthandler.c: In function 'faulthandler_cancel_dump_traceback_later_py':
D:\workspace\KlayGE\External\Python\Modules\faulthandler.c:630:55: warning: unused parameter 'self' [-Wunused-parameter]
faulthandler_cancel_dump_traceback_later_py(PyObject *self)
^
D:\workspace\KlayGE\External\Python\Modules\faulthandler.c: In function 'faulthandler_register_py':
D:\workspace\KlayGE\External\Python\Modules\faulthandler.c:733:36: warning: unused parameter 'self' [-Wunused-parameter]
faulthandler_register_py(PyObject *self,
^
D:\workspace\KlayGE\External\Python\Modules\faulthandler.c: In function 'faulthandler_unregister_py':
D:\workspace\KlayGE\External\Python\Modules\faulthandler.c:810:38: warning: unused parameter 'self' [-Wunused-parameter]
faulthandler_unregister_py(PyObject *self, PyObject *args)
^
D:\workspace\KlayGE\External\Python\Modules\faulthandler.c: In function 'faulthandler_suppress_crash_report':
D:\workspace\KlayGE\External\Python\Modules\faulthandler.c:836:5: error: unknown type name 'UINT'
UINT mode;
^
D:\workspace\KlayGE\External\Python\Modules\faulthandler.c:839:5: warning: implicit declaration of function 'SetErrorMode' [-Wimplicit-function-declarat
ion]
mode = SetErrorMode(SEM_NOGPFAULTERRORBOX);
^
D:\workspace\KlayGE\External\Python\Modules\faulthandler.c:839:25: error: 'SEM_NOGPFAULTERRORBOX' undeclared (first use in this function)
mode = SetErrorMode(SEM_NOGPFAULTERRORBOX);
^
D:\workspace\KlayGE\External\Python\Modules\faulthandler.c:839:25: note: each undeclared identifier is reported only once for each function it appears i
n
D:\workspace\KlayGE\External\Python\Modules\faulthandler.c: In function 'faulthandler_read_null':
D:\workspace\KlayGE\External\Python\Modules\faulthandler.c:861:34: warning: unused parameter 'self' [-Wunused-parameter]
faulthandler_read_null(PyObject *self, PyObject *args)
^
D:\workspace\KlayGE\External\Python\Modules\faulthandler.c:861:50: warning: unused parameter 'args' [-Wunused-parameter]
faulthandler_read_null(PyObject *self, PyObject *args)
^
D:\workspace\KlayGE\External\Python\Modules\faulthandler.c: In function 'faulthandler_sigsegv':
D:\workspace\KlayGE\External\Python\Modules\faulthandler.c:897:32: warning: unused parameter 'self' [-Wunused-parameter]
faulthandler_sigsegv(PyObject *self, PyObject *args)
^
D:\workspace\KlayGE\External\Python\Modules\faulthandler.c: In function 'faulthandler_sigfpe':
D:\workspace\KlayGE\External\Python\Modules\faulthandler.c:914:31: warning: unused parameter 'self' [-Wunused-parameter]
faulthandler_sigfpe(PyObject *self, PyObject *args)
^
D:\workspace\KlayGE\External\Python\Modules\faulthandler.c:914:47: warning: unused parameter 'args' [-Wunused-parameter]
faulthandler_sigfpe(PyObject *self, PyObject *args)
^
D:\workspace\KlayGE\External\Python\Modules\faulthandler.c: In function 'faulthandler_sigabrt':
D:\workspace\KlayGE\External\Python\Modules\faulthandler.c:930:32: warning: unused parameter 'self' [-Wunused-parameter]
faulthandler_sigabrt(PyObject *self, PyObject *args)
^
D:\workspace\KlayGE\External\Python\Modules\faulthandler.c:930:48: warning: unused parameter 'args' [-Wunused-parameter]
faulthandler_sigabrt(PyObject *self, PyObject *args)
^
D:\workspace\KlayGE\External\Python\Modules\faulthandler.c: In function 'faulthandler_fatal_error_py':
D:\workspace\KlayGE\External\Python\Modules\faulthandler.c:938:39: warning: unused parameter 'self' [-Wunused-parameter]
faulthandler_fatal_error_py(PyObject *self, PyObject *args)
^
D:\workspace\KlayGE\External\Python\Modules\faulthandler.c: In function 'faulthandler_traverse':
D:\workspace\KlayGE\External\Python\Modules\faulthandler.c:996:33: warning: unused parameter 'module' [-Wunused-parameter]
faulthandler_traverse(PyObject *module, visitproc visit, void *arg)
^
D:\workspace\KlayGE\External\Python\Modules\faulthandler.c: At top level:
D:\workspace\KlayGE\External\Python\Modules\faulthandler.c:1073:5: warning: missing initializer for field 'ml_flags' of 'PyMethodDef' [-Wmissing-field-i
nitializers]
{NULL, NULL} /* sentinel */
^
In file included from D:\workspace\KlayGE\External\Python\Build\cmake\..\..\Include/Python.h:91:0,
from D:\workspace\KlayGE\External\Python\Modules\faulthandler.c:1:
D:\workspace\KlayGE\External\Python\Build\cmake\..\..\Include/methodobject.h:43:17: note: 'ml_flags' declared here
int ml_flags; /* Combination of METH_xxx flags, which mostly
^
make[2]: *** [CMakeBuild/libpython/CMakeFiles/libpython-static.dir/D_/workspace/KlayGE/External/Python/Modules/faulthandler.c.o] Error 1
make[1]: *** [CMakeBuild/libpython/CMakeFiles/libpython-static.dir/all] Error 2
make: *** [all] Error 2
[E] Build Python failed.
Migrated from trac ticket 320.
Supports volumetric post process.
compiler = "gcc"
toolset = "4.9"
arch = ("armeabi-v7a", )
config = ("Debug", )
target = "android"
Scanning dependencies of target KlayGE_Core
[ 1%] Building CXX object Engine/Core/CMakeFiles/KlayGE_Core.dir/D_/workspace/KlayGE/KlayGE/Core/Src/Kernel/Context.cpp.o
[ 1%] Building CXX object Engine/Core/CMakeFiles/KlayGE_Core.dir/D_/workspace/KlayGE/KlayGE/Core/Src/Kernel/HWDetect.cpp.o
[ 2%] Building CXX object Engine/Core/CMakeFiles/KlayGE_Core.dir/D_/workspace/KlayGE/KlayGE/Core/Src/Kernel/KlayGE.cpp.o
[ 2%] Building CXX object Engine/Core/CMakeFiles/KlayGE_Core.dir/D_/workspace/KlayGE/KlayGE/Core/Src/Kernel/PerfProfiler.cpp.o
[ 3%] Building CXX object Engine/Core/CMakeFiles/KlayGE_Core.dir/D_/workspace/KlayGE/KlayGE/Core/Src/Kernel/ResLoader.cpp.o
In file included from D:\workspace\KlayGE\KlayGE\Core\Include/KlayGE/ResLoader.hpp:55:0,
from D:\workspace\KlayGE\KlayGE\Core\Src\Kernel\ResLoader.cpp:86:
D:\workspace\KlayGE\KlayGE\..\KFL\include/KFL/Thread.hpp: In instantiation of 'KlayGE::joiner_impl_base<result_type>::const_result_type_ref KlayGE::join
er_impl_base<result_type>::join() [with result_type = void; KlayGE::joiner_impl_base<result_type>::const_result_type_ref = void]':
D:\workspace\KlayGE\KlayGE\..\KFL\include/KFL/Thread.hpp:229:25: required from 'KlayGE::joiner<ResultType>::const_result_type_ref KlayGE::joiner<Resul
tType>::operator()() [with ResultType = void; KlayGE::joiner<ResultType>::const_result_type_ref = void]'
D:\workspace\KlayGE\KlayGE\Core\Src\Kernel\ResLoader.cpp:232:22: required from here
D:\workspace\KlayGE\KlayGE\..\KFL\include/KFL/Thread.hpp:161:47: error: 'class std::experimental::optional<KlayGE::void_t>' has no member named 'get'
return const_result_type_ref(result_->get());
^
D:\workspace\KlayGE\KlayGE\..\KFL\include/KFL/Thread.hpp:161:47: error: return-statement with a value, in function returning 'void' [-fpermissive]
make[2]: *** [Engine/Core/CMakeFiles/KlayGE_Core.dir/D_/workspace/KlayGE/KlayGE/Core/Src/Kernel/ResLoader.cpp.o] Error 1
make[1]: *** [Engine/Core/CMakeFiles/KlayGE_Core.dir/all] Error 2
make: *** [all] Error 2
[E] Build KlayGE failed.
Deprecates old compilers.
Migrated from trac ticket 272.
Make sure the code has exception safety. If one exception is restore-able, make it so.
Migrated from trac ticket 329.
A tool for generating imposter images.
klayge 4.6 vs2013 debug运行,会爆在
D3D11RenderEngine.cpp 1212行:
d3d_device_->CheckFormatSupport(fmts[i].second, &s);
安装dx11 update能解决问题,怀疑跟D3D11_CREATE_DEVICE_DEBUG标志有关。
Supports stream output in OpenGL and OpenGLES plugins.
Focus on newer platforms.
Adds a XInput plugin to support xbox controller.
Migrated from trac ticket 232.
The output GLSL is far from optimized. Try to use glsl-optimizer ( https://github.com/aras-p/glsl-optimizer) to have a pass on it. At least it's necessary for GLES 2.
Migrated from trac ticket 19.
Experiments we can try:
Migrated from trac ticket 306.
Separate the rendering engine into 3 parallel engines, render/compute/copy.
Migrated from trac ticket 308.
Supports render-to-texture-array for GL 3.2+ and GLES 3.2+.
Seems some macros are not defined?
/Users/zhongtang/Programming/KlayGE/External/Python/Modules/timemodule.c:659:9: error:
use of undeclared identifier '_Py_BEGIN_SUPPRESS_IPH'
_Py_BEGIN_SUPPRESS_IPH
^
/Users/zhongtang/Programming/KlayGE/External/Python/Modules/timemodule.c:661:9: error:
use of undeclared identifier '_Py_END_SUPPRESS_IPH'
_Py_END_SUPPRESS_IPH
I tried fixed this errors by add "-DBUILD_CORE" in compiler flag
Then I got:
"SOABI" undefined in /Users/zhongtang/Programming/KlayGE/External/Python/Python/dynload_shlib.c:35:
const char *_PyImport_DynLoadFiletab[] = {
#ifdef __CYGWIN__
".dll",
#else /* !__CYGWIN__ */
"." SOABI ".so",
".abi" PYTHON_ABI_STRING ".so",
".so",
#endif /* __CYGWIN__ */
NULL,
};
Migrated from trac ticket 318.
Adds a plugin for supporting Vulkan.
Migrated from trac ticket 282.
Implement AMD TressFX or NV Hairworks.
Migrated from trac ticket 243.
Add a audio plugin to support platforms with XAudio.
Migrated from trac ticket 298.
Involve to async swap buffer in DX11.2+.
Migrated from trac ticket 255.
Adding compute shader support into OpenGL/OpenGLES plugins.
Migrated from trac ticket 6.
Migrated from trac ticket 36.
Use some open media library, such as ffmpeg, to replace the dshow plugin.
Migrated from trac ticket 304.
Some platforms may have multi-layer ability. Don't need to composite layers in engine on those platforms.
Migrated from trac ticket 62, submitted by [email protected].
Add the Bidirectional Surface Scattering Reflectance Distribution Function (BSSRDF) support in rendering translucent materials.
Migrated from trac ticket 245.
Add Doxygen tags to all files, and use cmake to generate reference documents.
D3D11FrameBuffer,OGLFrameBuffer,D3D12FrameBuffer中
OnBind没有把views_dirty_ 设置为 false,
OnUnbind没有把views_dirty_ 设置为 true。
这导致BindFrameBuffer的时候,即使是同一个FrameBuffer也会触发render target的变化,影响性能
Is there a "build_all clean" option?
Migrated from trac ticket 107.
Implement sparse voxel octree and cone tracing for next generation rendering engine.
the following build commands failed:
CompileC /Users/yuanxin/Downloads/KlayGE-develop/KlayGE/Build/clang73_darwin_x64/Engine/Core/KlayGE.build/Debug/KlayGE_Core.build/Objects-normal/x86_64/RenderEffect.o /Users/yuanxin/Downloads/KlayGE-develop/KlayGE/Core/Src/Render/RenderEffect.cpp normal x86_64 c++ com.apple.compilers.llvm.clang.1_0.compiler
(1 failure)
[E] Build KlayGE failed.
sh: pause: command not found
clang version:Apple LLVM version 7.3.0 (clang-703.0.31)
Enhancing UWP build to match the desktop's.
DeferredRenderingLayer.hpp中
将 #define DEFAULT_DEFERRED LIGHT_INDEXED_DEFERRED
变成 #define DEFAULT_DEFERRED TRIDITIONAL_DEFERRED
编译无法通过
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.