Skip to content

how to compile bullet3 and bpp in Windows MSYS2? #49

@gfernval

Description

@gfernval

In building in Windows with MSYS2:

git clone https://github.com/bullet-physics-playground/bullet3
git checkout 3.06
mkdir build && cd build
cmake -DBUILD_CPU_DEMOS=OFF -DBUILD_DEMOS=OFF -DBUILD_EXTRAS=OFF -DBUILD_MULTITHREADING=ON -DBUILD_UNIT_TESTS=OFF -DUSE_CUSTOM_VECOR_MATH=OFF -DUSE_DOUBLE_PRECISION=OFF -DUSE_GLUT=OFF -DUSE_GRAPHICAL_BENCHMARK=OFF -DBUILD_SHARED_LIBS=on -DBUILD_EXTRAS=on -DBUILD_BULLET2_DEMOS=off -DBUILD_OPENGL3_DEMOS=off -DBUILD_CPU_DEMOS=off -DBUILD_UNIT_TESTS=off -DINSTALL_LIBS=on -DINSTALL_EXTRA_LIBS=on ..
ninja

what does "git checkout 3.06"? Can be removed? (last version is 3.24)
In the cmake command seems that there are redundant options, should be:

cmake .. --install-prefix /bpp -DBUILD_SHARED_LIBS=OFF?

I´m trying to build bpp with MSYS2 doing:

git clone https://github.com/bullet-physics-playground/bpp
cd bpp
export QT_SELECT=qt5
qmake CONFIG+=release
make

but after doing qmake CONFIG+=release it complains that "ASSIMP developer package not found" I have installed ASSIMP with
pacman -S --needed mingw-w64-x86_64-assimp and installs the include files and libraries, don´t know where is the fault.

I´m doing all the compilation with your instructions:

Install MSYS2 from https://www.msys2.org
Next, run:

pacman -Syu
pacman -S --needed base-devel mingw-w64-x86_64-toolchain mingw-w64-x86_64-qt-creator
pacman -S --needed mingw-w64-x86_64-qt5 mingw-w64-x86_64-assimp mingw-w64-x86_64-freeglut mingw-w64-x86_64-glew mingw-w64-x86_64-SDL2
pacman -S --needed mingw-w64-x86_64-boost mingw-w64-x86_64-lua51 unzip cmake ninja
pacman -S --needed mingw-w64-x86_64-qscintilla

Run "MSYS MinGW 64-bit" from Start menu

cmake should be installed using "pacman -S --needed mingw-w64-x86_64-cmake" and not "pacman -S --needed cmake", the
same as ninja: "pacman -S --needed mingw-w64-x86_64-ninja"

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions