Git Product home page Git Product logo

gameplay3d / gameplay-deps Goto Github PK

View Code? Open in Web Editor NEW
49.0 49.0 71.0 65.93 MB

Dependency packages for gameplay framework.

Home Page: http://www.gameplay3d.io

C 48.79% CMake 0.96% C++ 27.67% Lua 0.02% C# 0.10% Objective-C 0.36% Objective-C++ 0.01% Logos 2.72% FLUX 0.01% JavaScript 0.05% Batchfile 0.03% Python 0.35% HTML 6.45% GLSL 0.01% Makefile 5.44% Cuda 0.17% Shell 3.12% TeX 1.31% Groff 2.16% Assembly 0.27%

gameplay-deps's People

Contributors

nlandry avatar rgngl avatar seanpaultaylor avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

gameplay-deps's Issues

GamePlay-deps cannot be built successfully for branch next-gen

I built GamePlay-deps for MacOSX and failed (branch next-gen),here's the logs.Can anyone give some hints?

-- Directory: /Users/kklocal/Downloads/GamePlay-deps/out/external-deps/lib/macos/x86_64
-- Building with ZLIB
-- Building with BZip2
-- Building with PNG
-- Checking for module 'harfbuzz>=0.9.7'
-- No package 'harfbuzz' found
-- Creating directory /Users/kklocal/Downloads/GamePlay-deps/build/freetype-2.7.1/include/freetype/config
-- Creating file /Users/kklocal/Downloads/GamePlay-deps/build/freetype-2.7.1/include/freetype/config/ftconfig.h
-- Creating file /Users/kklocal/Downloads/GamePlay-deps/build/freetype-2.7.1/include/freetype/config/ftoption.h
-- Could NOT find OpenMP_C (missing: OpenMP_C_FLAGS OpenMP_C_LIB_NAMES) (found version "1.0")
-- Could NOT find OpenMP_CXX (missing: OpenMP_CXX_FLAGS OpenMP_CXX_LIB_NAMES) (found version "1.0")
-- Looking for ZLIB...
-- Checking for module 'zzip-zlib-config'
-- No package 'zzip-zlib-config' found
-- Found ZLIB: optimized;/usr/lib/libz.dylib;debug;/usr/lib/libz.dylib
-- Checking for module 'minizip'
-- No package 'minizip' found
-- Could NOT find rt (missing: RT_LIBRARY)
INFO RT-extension not found. glTF import/export will be built without Open3DGC-compression.
-- Enabled formats: AMF 3DS AC ASE ASSBIN ASSXML B3D BVH COLLADA DXF CSM HMP IRRMESH IRR LWO LWS MD2 MD3 MD5 MDC MDL NFF NDO OFF OBJ OGRE OPENGEX PLY MS3D COB BLEND IFC XGL FBX Q3D Q3BSP RAW SIB SMD STL TERRAGEN 3D X X3D GLTF 3MF MMD
-- Disabled formats:
-- Configuring done
-- Generating done
-- Build files have been written to: /Users/kklocal/Downloads/GamePlay-deps/build
[ 0%] Linking CXX static library ../../../../out/external-deps/lib/macos/x86_64/libIrrXML.a
[ 0%] Built target IrrXML
[ 0%] Linking CXX static library ../../../out/external-deps/lib/macos/x86_64/libassimp.a
[ 55%] Built target assimp
[ 56%] Linking C static library ../../out/external-deps/lib/macos/x86_64/libfreetype.a
[ 68%] Built target freetype
[ 68%] Linking CXX static library ../../../../out/external-deps/lib/macos/x86_64/libjson.a
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: ../../../../out/external-deps/lib/macos/x86_64/libjson.a(JSONAllocator.cpp.o) has no symbols
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: ../../../../out/external-deps/lib/macos/x86_64/libjson.a(JSONDebug.cpp.o) has no symbols
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: ../../../../out/external-deps/lib/macos/x86_64/libjson.a(JSONMemory.cpp.o) has no symbols
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: ../../../../out/external-deps/lib/macos/x86_64/libjson.a(JSONNode_Mutex.cpp.o) has no symbols
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: ../../../../out/external-deps/lib/macos/x86_64/libjson.a(JSONPreparse.cpp.o) has no symbols
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: ../../../../out/external-deps/lib/macos/x86_64/libjson.a(JSONAllocator.cpp.o) has no symbols
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: ../../../../out/external-deps/lib/macos/x86_64/libjson.a(JSONDebug.cpp.o) has no symbols
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: ../../../../out/external-deps/lib/macos/x86_64/libjson.a(JSONMemory.cpp.o) has no symbols
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: ../../../../out/external-deps/lib/macos/x86_64/libjson.a(JSONNode_Mutex.cpp.o) has no symbols
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: ../../../../out/external-deps/lib/macos/x86_64/libjson.a(JSONPreparse.cpp.o) has no symbols
[ 72%] Built target json
[ 73%] Linking CXX static library ../../out/external-deps/lib/macos/x86_64/libtinyxml2.a
[ 73%] Built target tinyxml2
[ 74%] Linking C static library ../../../out/external-deps/lib/macos/x86_64/liblua.a
[ 83%] Built target lua
[ 84%] Linking C static library ../../out/external-deps/lib/macos/x86_64/libz.a
[ 88%] Built target zlib
[ 88%] Linking C static library ../../out/external-deps/lib/macos/x86_64/libpng.a
[ 92%] Built target png
[ 93%] Linking C static library ../../out/external-deps/lib/macos/x86_64/libogg.a
[ 93%] Built target ogg
[ 93%] Linking C static library ../../out/external-deps/lib/macos/x86_64/libvorbisenc.a
[ 93%] Built target vorbisenc
[ 93%] Linking C static library ../../out/external-deps/lib/macos/x86_64/libvorbisfile.a
[ 94%] Built target vorbisfile
[ 95%] Linking C static library ../../out/external-deps/lib/macos/x86_64/libvorbis.a
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: ../../out/external-deps/lib/macos/x86_64/libvorbis.a(lookup.c.o) has no symbols
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: ../../out/external-deps/lib/macos/x86_64/libvorbis.a(lookup.c.o) has no symbols
[100%] Built target vorbis
[100%] Generating libgameplay-deps.a
Using libtool : /usr/local/bin/libtool
Amalgamating target static libs /Users/kklocal/Downloads/GamePlay-deps/out/external-deps/lib/macos/x86_64
libtool: unrecognized option -static' libtool: Try libtool --help' for more information.
[100%] Built target gameplay-deps

Lua lib no longer supports io.popen on Linux

I've got a gameplay game which uses some of lua's IO functions as part of a dev only tool-chain on Windows/Linux.

After upgrading the game to gameplay 3.0 + downloading the latest external-deps via install.sh, my lua tool-chain no longer works on Linux. Any script that I load that uses io.popen now fails to load because it's no longer supported:

loadScript -- Failed to load script: res/lua/tools.lua. [string "_toolsRoot = io.popen"pwd":read'*l'..."]:1: 'popen' not supported.

The readme in the lua-5.2.3/doc indicates that src/luaconf.h can be configured to enable io.popen on Linux by defining LUA_USE_LINUX.

I tried to test and fix this myself by building gameplay-deps locally with this defined in CMakeLists.txt. Unfortunately, my game crashes when I use my locally built lib when trying to create an OpenAL device. I'd rather not try to fix this unrelated problem unless I have no alternative since I always intend to use the pre-built libs.

Was io.popen disabled on purpose? If not, can it be re-enabled for the sake backwards compatibility?

Thanks

OpenAL include directory has wrong capitalisation.

The path of the OpenAL include files under the output directory external-deps/include is called "AL".
The include statement in GamePlay/gameplay/src/AudioController.h is for "Al/alc.h".

The capitalisation of the "l" differs.

I suspect that when I compiled GamePlay and all the samples that it was picking up a native include file rather than the one generated by GamePlay-deps.

It would be really nice if the integration between the two projects was better, e.g. by making Gameplay-deps a submodule of the GamePlay repo or something. I had to manually add a symlink and even then it appears that the compilation of GamePlay was picking up the wrong include file and possibly the wrong library file too.

Project generation fails for VS 2015

CMake Error at openal-1.16.0/CMakeLists.txt:439 (MESSAGE): No snprintf function found, please report!

Project generates successfully when removing the snprintf detection. Also had to add the following for it to compile:

ADD_DEFINITIONS(-D_TIMESPEC_DEFINED)

lipo reports x86_64 binary in libpng ARM build

Doing lipo -info on the libpng archive (ARM version) shows armv7, v7s, 64, and x86_64. The x86_64 bit is unexpected. This started appearing once the neon files were included in the build (necessary for the lib to link).

Everything appears to work fine. I think the only downside is a slightly bulkier lib.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.