build failure for pybullet project in VS2017

Official Python bindings with a focus on reinforcement learning and robotics.
Post Reply
polycopter
Posts: 2
Joined: Mon Oct 15, 2018 1:20 pm

build failure for pybullet project in VS2017

Post by polycopter »

I've cloned the git repo for bullet3, and built the solution on my Windows 10 machine using these steps:
1. run build_visual_studio_vr_pybullet_double.bat
2. load build3/vs2010/0_Bullet3Solution.sln into Visual Studio Community 2017 v.15.8.1
3. select "Build Solution"

everything builds except one project: pybullet -- it couldn't find <Python.h>... when I fixed that, the linker couldn't find python36_d.lib...

I can fix these errors, but I'm wondering: did I miss a step? If so, where is that step documented? If not, should I try to contribute a fix (assuming I can find one that won't break anything else, that fits the development guidelines, etc.) ?
User avatar
Erwin Coumans
Site Admin
Posts: 4221
Joined: Sun Jun 26, 2005 6:43 pm
Location: California, USA
Contact:

Re: build failure for pybullet project in VS2017

Post by Erwin Coumans »

It is best to use 'pip install pybullet' to compile PyBullet.

Edit the build file and remove the --enable_pybullet and re-create the project files.

Compiling the Debug version of PyBullet is much mode work, since most Python distributions only ship with Release/optimized builds.
Find/install some Python distribution that has include and precompiled libraries.
polycopter
Posts: 2
Joined: Mon Oct 15, 2018 1:20 pm

Re: build failure for pybullet project in VS2017

Post by polycopter »

Thanks for this info. Should I try to update or add some documentation or anything, or is it considered fine as is? (I'm new around here ;-))
Post Reply