From 46519720eb75a1d914fbe20443305d8c4da8aa3c Mon Sep 17 00:00:00 2001 From: Nan Jiang Date: Tue, 15 Sep 2020 12:39:31 -0400 Subject: Update README.md --- README.md | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) (limited to 'README.md') diff --git a/README.md b/README.md index e0fb2af97..90f13cffa 100644 --- a/README.md +++ b/README.md @@ -63,7 +63,7 @@ You can download and install Bullet using the [vcpkg](https://github.com/Microso cd vcpkg ./bootstrap-vcpkg.sh ./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. @@ -91,9 +91,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) 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. The BulletExampleBrowser binary will be in Bullet/examples/ExampleBrowser. @@ -101,15 +101,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 Using premake: ``` - cd build3 - ./premake4_linux --double gmake - ./premake4_linux64 --double gmake - ./premake4_osx --double --enable_pybullet gmake +cd build3 +./premake4_linux --double gmake +./premake4_linux64 --double gmake +./premake4_osx --double --enable_pybullet gmake ``` Then ``` - cd gmake - make +cd gmake +make ``` Note that on Linux, you need to use cmake to build pybullet, since the compiler has issues of mixing shared and static libraries. @@ -117,9 +117,9 @@ Note that on Linux, you need to use cmake to build pybullet, since the compiler **Mac OSX Xcode** Click on build3/xcode4.command or in a terminal window execute - - ./premake_osx xcode4 - +``` +./premake_osx xcode4 +``` ## Usage The App_ExampleBrowser executables will be located in the bin folder. -- cgit v1.2.1