Code Monkey home page Code Monkey logo

panda3d-thirdparty's Introduction

This repository contains a CMake script to build the thirdparty packages that are necessary for building Panda3D.

Usage example on Windows:

mkdir build
cd build
cmake -G"Visual Studio 16 2019" -A x64 ..

# to build everything:
cmake --build . --config Release

# to just build ffmpeg and its dependencies:
cmake --build . --config Release --target ffmpeg

Usage example on other systems:

mkdir build
cd build
cmake ..
make ffmpeg # just build ffmpeg and dependencies
make all # build everything

Some packages are still forthcoming. The included packages are ticked.

  • artoolkit
  • assimp
  • bullet
  • eigen
  • fcollada
  • ffmpeg
  • fmodex
  • freetype
  • harfbuzz
  • jpeg
  • mimalloc
  • nvidiacg (except arm64 or Android)
  • ode
  • openal
  • opencv (macOS only)
  • openexr
  • openssl
  • opus
  • png
  • squish
  • tiff
  • vorbis
  • vrpn
  • zlib

If you want to build a subset of packages, it is easiest to just pass the name of the target to the build system. For example, to just build VRPN, you can call make vrpn or add the --target vrpn flag to cmake --build. This will still build its dependencies if one package depends on another one. A way to force a certain package to be disabled is by using the BUILD_* options, eg. -DBUILD_VRPN=OFF disables building VRPN, even if it is a dependency of another package.

panda3d-thirdparty's People

Contributors

bluekyu avatar darktohka avatar el-dee avatar gabeklavans avatar judge2020 avatar maxwell175 avatar moguri avatar muschter avatar rdb avatar regdogg 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

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

panda3d-thirdparty's Issues

MacOS: Patch or update Bullet library

(Follow up issue of panda3d/panda3d#767) Unless compiling with SDK 10.6, bullet compilation fails with the following errors:

panda3d-thirdparty/build/bullet-prefix/src/bullet/src/LinearMath/btVector3.h:330:7: error: argument value 10880 is outside the valid range [0, 255] [-Wargument-outside-range]
panda3d-thirdparty/build/bullet-prefix/src/bullet/src/LinearMath/btMatrix3x3.h:882:17: error: argument value 10880 is outside the valid range [0, 255] [-Wargument-outside-range]

This has been fixed upstream, bulletphysics/bullet3#2232 but we need to either update the version of bullet downloaded or patch the code before compiling.

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.