mirror of
https://github.com/bulletphysics/bullet3
synced 2024-12-13 21:30:09 +00:00
commit
5ae9a15eca
26
README.md
26
README.md
@ -66,7 +66,7 @@ You can download and install Bullet using the [vcpkg](https://github.com/Microso
|
|||||||
cd vcpkg
|
cd vcpkg
|
||||||
./bootstrap-vcpkg.sh
|
./bootstrap-vcpkg.sh
|
||||||
./vcpkg integrate install
|
./vcpkg integrate install
|
||||||
vcpkg install bullet3
|
./vcpkg install bullet3
|
||||||
|
|
||||||
The Bullet port in vcpkg is kept up to date by Microsoft team members and community contributors. If the version is out of date, please [create an issue or pull request](https://github.com/Microsoft/vcpkg) on the vcpkg repository.
|
The Bullet port in vcpkg is kept up to date by Microsoft team members and community contributors. If the version is out of date, please [create an issue or pull request](https://github.com/Microsoft/vcpkg) on the vcpkg repository.
|
||||||
|
|
||||||
@ -94,9 +94,9 @@ p.connect(p.SHARED_MEMORY) #or (p.TCP, "localhost", 6667) or (p.UDP, "192.168.86
|
|||||||
Make sure cmake is installed (sudo apt-get install cmake, brew install cmake, or https://cmake.org)
|
Make sure cmake is installed (sudo apt-get install cmake, brew install cmake, or https://cmake.org)
|
||||||
|
|
||||||
In a terminal type:
|
In a terminal type:
|
||||||
|
```
|
||||||
./build_cmake_pybullet_double.sh
|
./build_cmake_pybullet_double.sh
|
||||||
|
```
|
||||||
This script will invoke cmake and build in the build_cmake directory. You can find pybullet in Bullet/examples/pybullet.
|
This script will invoke cmake and build in the build_cmake directory. You can find pybullet in Bullet/examples/pybullet.
|
||||||
The BulletExampleBrowser binary will be in Bullet/examples/ExampleBrowser.
|
The BulletExampleBrowser binary will be in Bullet/examples/ExampleBrowser.
|
||||||
|
|
||||||
@ -104,15 +104,15 @@ You can also build Bullet using premake. There are premake executables in the bu
|
|||||||
Depending on your system (Linux 32bit, 64bit or Mac OSX) use one of the following lines
|
Depending on your system (Linux 32bit, 64bit or Mac OSX) use one of the following lines
|
||||||
Using premake:
|
Using premake:
|
||||||
```
|
```
|
||||||
cd build3
|
cd build3
|
||||||
./premake4_linux --double gmake
|
./premake4_linux --double gmake
|
||||||
./premake4_linux64 --double gmake
|
./premake4_linux64 --double gmake
|
||||||
./premake4_osx --double --enable_pybullet gmake
|
./premake4_osx --double --enable_pybullet gmake
|
||||||
```
|
```
|
||||||
Then
|
Then
|
||||||
```
|
```
|
||||||
cd gmake
|
cd gmake
|
||||||
make
|
make
|
||||||
```
|
```
|
||||||
|
|
||||||
Note that on Linux, you need to use cmake to build pybullet, since the compiler has issues of mixing shared and static libraries.
|
Note that on Linux, you need to use cmake to build pybullet, since the compiler has issues of mixing shared and static libraries.
|
||||||
@ -120,9 +120,9 @@ Note that on Linux, you need to use cmake to build pybullet, since the compiler
|
|||||||
**Mac OSX Xcode**
|
**Mac OSX Xcode**
|
||||||
|
|
||||||
Click on build3/xcode4.command or in a terminal window execute
|
Click on build3/xcode4.command or in a terminal window execute
|
||||||
|
```
|
||||||
./premake_osx xcode4
|
./premake_osx xcode4
|
||||||
|
```
|
||||||
## Usage
|
## Usage
|
||||||
|
|
||||||
The App_ExampleBrowser executables will be located in the bin folder.
|
The App_ExampleBrowser executables will be located in the bin folder.
|
||||||
|
Loading…
Reference in New Issue
Block a user