How to build BEPUphysicsDemos?

Discuss any questions about BEPUphysics or problems encountered.
Post Reply
vutruong
Posts: 2
Joined: Thu Nov 09, 2017 8:31 am

How to build BEPUphysicsDemos?

Post by vutruong »

Hello all,
I'm a beginner in BEPU. I downloaded newest version of BEPU from github. I want to build demos for testing purposes but when I built BEPUphysicsDemos, I met some errors:

The command ""C:\Users\HORUS_PC_1\Documents\GitHub\bepuphysics1\Dependencies\MonoGame\Tools\MGCB.exe" /@:"C:\Users\HORUS_PC_1\Documents\GitHub\bepuphysics1\BEPUphysicsDrawer\Content\BEPUphysicsDrawerContent.mgcb" /platform:Windows /outputDir:"C:\Users\HORUS_PC_1\Documents\GitHub\bepuphysics1\BEPUphysicsDrawer\Content\bin\Windows" /intermediateDir:"C:\Users\HORUS_PC_1\Documents\GitHub\bepuphysics1\BEPUphysicsDrawer\Content\obj\Windows" /quiet" exited with code 1.
BEPUphysicsDrawer

Processor 'EffectProcessor' had unexpected failure! BEPUphysicsDrawer C:/Users/HORUS_PC_1/Documents/GitHub/bepuphysics1/BEPUphysicsDrawer/Content/InstancedEffect.fx

I can't fix these errors. Could anyone help me?
Norbo
Site Admin
Posts: 4929
Joined: Tue Jul 04, 2006 4:45 am

Re: How to build BEPUphysicsDemos?

Post by Norbo »

Oof, these are always fun. What version of visual studio are you using?

It may be related to some missing machine-wide dependency. Given that it's failing on a shader compilation, possibly DX related.

I'm not sure what specific dependency you're missing. Presumably you could get the expected version by using the monogame installer: http://www.monogame.net/2017/03/01/monogame-3-6/

In the worst case, it could be that something about my redistribution of monogame dependencies is breaking stuff. If that's the case, then you'd want to revert the changes made to the BEPUphysicsDemos.csproj and BEPUphysicsDrawer.csproj in this commit: https://github.com/bepu/bepuphysics1/co ... 3e14ad054b

The build would then reach out to the machine-wide monogame installation and... maybe... work?
vutruong
Posts: 2
Joined: Thu Nov 09, 2017 8:31 am

Re: How to build BEPUphysicsDemos?

Post by vutruong »

I have built successfully demos. The error is due to I'm using newest DirectX SDK but BEPUphysicsDrawer needs old DirectX SDK (June 2010).
Post Reply