Demo Not Building in VS2017

Discuss any questions about BEPUphysics or problems encountered.
Post Reply
astro
Posts: 4
Joined: Mon Nov 15, 2010 2:21 am

Demo Not Building in VS2017

Post by astro »

Hello

I am unable to Build the Demo downloaded from Github

Now it may be my error so apology's in advance is I have done something incorrect.

I unziped the BEPUPhysics1-master a local folder open the BEPUphysicDemo.sln and receive the below **** output ****

For extra background is the latest version of VS2017 with windows 10 Build 1803

I have also download BEPUPhysics2 from github and that Demo there builds and runs , no problems

Also and this may not be related I have tried the package manager from NuGet for 1.5.1
After adding the using BEPUphysics;

Things like the example from the getting started

Box ground = new Box(Vector3.Zero, 30, 1, 30);
are not detected by VS unless entered as

BEPUphysics.Entities.Prefabs.Box = new BEPUphysics.Entities.Prefabs.Box(BEPUutilities.Vector3.Zero, 30, 1, 30)

All the Best ,



***** output from error list in VS 2017 *****

Severity Code Description Project File Line Suppression State
Error CS0006 Metadata file 'C:\Tools\bepuphysics1-master\BEPUphysicsDrawer\bin\Debug\BEPUphysicsDrawer.dll' could not be found BEPUphysicsDemos C:\Tools\bepuphysics1-master\BEPUphysicsDemos\CSC 1 Active
Error The command ""C:\Tools\bepuphysics1-master\Dependencies\MonoGame\Tools\MGCB.exe" /@:"C:\Tools\bepuphysics1-master\BEPUphysicsDrawer\Content\BEPUphysicsDrawerContent.mgcb" /platform:Windows /outputDir:"C:\Tools\bepuphysics1-master\BEPUphysicsDrawer\Content\bin\Windows" /intermediateDir:"C:\Tools\bepuphysics1-master\BEPUphysicsDrawer\Content\obj\Windows" /quiet" exited with code 1. BEPUphysicsDrawer
Error Processor 'EffectProcessor' had unexpected failure! BEPUphysicsDrawer C:/Tools/bepuphysics1-master/BEPUphysicsDrawer/Content/InstancedEffect.fx
Warning CS1591 Missing XML comment for publicly visible type or member 'MathConverter.Convert(Vector2)' ConversionHelper C:\Tools\bepuphysics1-master\ConversionHelper\MathConverter.cs 12 Active
Warning CS1591 Missing XML comment for publicly visible type or member 'MathConverter.Convert(ref Vector2, out Vector2)' ConversionHelper C:\Tools\bepuphysics1-master\ConversionHelper\MathConverter.cs 20 Active
Warning CS1591 Missing XML comment for publicly visible type or member 'MathConverter.Convert(Vector2)' ConversionHelper C:\Tools\bepuphysics1-master\ConversionHelper\MathConverter.cs 26 Active
Warning CS1591 Missing XML comment for publicly visible type or member 'MathConverter.Convert(ref Vector2, out Vector2)' ConversionHelper C:\Tools\bepuphysics1-master\ConversionHelper\MathConverter.cs 34 Active
Warning CS1591 Missing XML comment for publicly visible type or member 'MathConverter.Convert(Vector3)' ConversionHelper C:\Tools\bepuphysics1-master\ConversionHelper\MathConverter.cs 41 Active
Warning CS1591 Missing XML comment for publicly visible type or member 'MathConverter.Convert(ref Vector3, out Vector3)' ConversionHelper C:\Tools\bepuphysics1-master\ConversionHelper\MathConverter.cs 50 Active
Warning CS1591 Missing XML comment for publicly visible type or member 'MathConverter.Convert(Vector3)' ConversionHelper C:\Tools\bepuphysics1-master\ConversionHelper\MathConverter.cs 57 Active
Warning CS1591 Missing XML comment for publicly visible type or member 'MathConverter.Convert(ref Vector3, out Vector3)' ConversionHelper C:\Tools\bepuphysics1-master\ConversionHelper\MathConverter.cs 66 Active
Warning CS1591 Missing XML comment for publicly visible type or member 'MathConverter.Convert(Vector3[])' ConversionHelper C:\Tools\bepuphysics1-master\ConversionHelper\MathConverter.cs 73 Active
Warning CS1591 Missing XML comment for publicly visible type or member 'MathConverter.Convert(Vector3[])' ConversionHelper C:\Tools\bepuphysics1-master\ConversionHelper\MathConverter.cs 84 Active
Warning CS1591 Missing XML comment for publicly visible type or member 'MathConverter.Convert(Matrix)' ConversionHelper C:\Tools\bepuphysics1-master\ConversionHelper\MathConverter.cs 96 Active
Warning CS1591 Missing XML comment for publicly visible type or member 'MathConverter.Convert(Matrix)' ConversionHelper C:\Tools\bepuphysics1-master\ConversionHelper\MathConverter.cs 103 Active
Warning CS1591 Missing XML comment for publicly visible type or member 'MathConverter.Convert(ref Matrix, out Matrix)' ConversionHelper C:\Tools\bepuphysics1-master\ConversionHelper\MathConverter.cs 110 Active
Warning CS1591 Missing XML comment for publicly visible type or member 'MathConverter.Convert(ref Matrix, out Matrix)' ConversionHelper C:\Tools\bepuphysics1-master\ConversionHelper\MathConverter.cs 134 Active
Warning CS1591 Missing XML comment for publicly visible type or member 'MathConverter.Convert(Matrix3x3)' ConversionHelper C:\Tools\bepuphysics1-master\ConversionHelper\MathConverter.cs 158 Active
Warning CS1591 Missing XML comment for publicly visible type or member 'MathConverter.Convert(ref Matrix3x3, out Matrix)' ConversionHelper C:\Tools\bepuphysics1-master\ConversionHelper\MathConverter.cs 165 Active
Warning CS1591 Missing XML comment for publicly visible type or member 'MathConverter.Convert(ref Matrix, out Matrix3x3)' ConversionHelper C:\Tools\bepuphysics1-master\ConversionHelper\MathConverter.cs 188 Active
Warning CS1591 Missing XML comment for publicly visible type or member 'MathConverter.Convert(Quaternion)' ConversionHelper C:\Tools\bepuphysics1-master\ConversionHelper\MathConverter.cs 205 Active
Warning CS1591 Missing XML comment for publicly visible type or member 'MathConverter.Convert(Quaternion)' ConversionHelper C:\Tools\bepuphysics1-master\ConversionHelper\MathConverter.cs 215 Active
Warning CS1591 Missing XML comment for publicly visible type or member 'MathConverter.Convert(ref Quaternion, out Quaternion)' ConversionHelper C:\Tools\bepuphysics1-master\ConversionHelper\MathConverter.cs 225 Active
Warning CS1591 Missing XML comment for publicly visible type or member 'MathConverter.Convert(ref Quaternion, out Quaternion)' ConversionHelper C:\Tools\bepuphysics1-master\ConversionHelper\MathConverter.cs 233 Active
Warning CS1591 Missing XML comment for publicly visible type or member 'MathConverter.Convert(Ray)' ConversionHelper C:\Tools\bepuphysics1-master\ConversionHelper\MathConverter.cs 242 Active
Warning CS1591 Missing XML comment for publicly visible type or member 'MathConverter.Convert(ref Ray, out Ray)' ConversionHelper C:\Tools\bepuphysics1-master\ConversionHelper\MathConverter.cs 250 Active
Warning CS1591 Missing XML comment for publicly visible type or member 'MathConverter.Convert(Ray)' ConversionHelper C:\Tools\bepuphysics1-master\ConversionHelper\MathConverter.cs 256 Active
Warning CS1591 Missing XML comment for publicly visible type or member 'MathConverter.Convert(ref Ray, out Ray)' ConversionHelper C:\Tools\bepuphysics1-master\ConversionHelper\MathConverter.cs 264 Active
Warning CS1591 Missing XML comment for publicly visible type or member 'MathConverter.Convert(BoundingBox)' ConversionHelper C:\Tools\bepuphysics1-master\ConversionHelper\MathConverter.cs 271 Active
Warning CS1591 Missing XML comment for publicly visible type or member 'MathConverter.Convert(BoundingBox)' ConversionHelper C:\Tools\bepuphysics1-master\ConversionHelper\MathConverter.cs 279 Active
Warning CS1591 Missing XML comment for publicly visible type or member 'MathConverter.Convert(ref BoundingBox, out BoundingBox)' ConversionHelper C:\Tools\bepuphysics1-master\ConversionHelper\MathConverter.cs 287 Active
Warning CS1591 Missing XML comment for publicly visible type or member 'MathConverter.Convert(ref BoundingBox, out BoundingBox)' ConversionHelper C:\Tools\bepuphysics1-master\ConversionHelper\MathConverter.cs 293 Active
Warning CS1591 Missing XML comment for publicly visible type or member 'MathConverter.Convert(BoundingSphere)' ConversionHelper C:\Tools\bepuphysics1-master\ConversionHelper\MathConverter.cs 300 Active
Warning CS1591 Missing XML comment for publicly visible type or member 'MathConverter.Convert(BoundingSphere)' ConversionHelper C:\Tools\bepuphysics1-master\ConversionHelper\MathConverter.cs 308 Active
Warning CS1591 Missing XML comment for publicly visible type or member 'MathConverter.Convert(ref BoundingSphere, out BoundingSphere)' ConversionHelper C:\Tools\bepuphysics1-master\ConversionHelper\MathConverter.cs 316 Active
Warning CS1591 Missing XML comment for publicly visible type or member 'MathConverter.Convert(ref BoundingSphere, out BoundingSphere)' ConversionHelper C:\Tools\bepuphysics1-master\ConversionHelper\MathConverter.cs 322 Active
Warning CS1591 Missing XML comment for publicly visible type or member 'MathConverter.Convert(Plane)' ConversionHelper C:\Tools\bepuphysics1-master\ConversionHelper\MathConverter.cs 329 Active
Warning CS1591 Missing XML comment for publicly visible type or member 'MathConverter.Convert(Plane)' ConversionHelper C:\Tools\bepuphysics1-master\ConversionHelper\MathConverter.cs 337 Active
Warning CS1591 Missing XML comment for publicly visible type or member 'MathConverter.Convert(ref Plane, out Plane)' ConversionHelper C:\Tools\bepuphysics1-master\ConversionHelper\MathConverter.cs 345 Active
Warning CS1591 Missing XML comment for publicly visible type or member 'MathConverter.Convert(ref Plane, out Plane)' ConversionHelper C:\Tools\bepuphysics1-master\ConversionHelper\MathConverter.cs 351 Active
Warning Found conflicts between different versions of the same dependent assembly. Please set the "AutoGenerateBindingRedirects" property to true in the project file. For more information, see http://go.microsoft.com/fwlink/?LinkId=294190. BEPUphysicsDemos



Thanks
Norbo
Site Admin
Posts: 4929
Joined: Tue Jul 04, 2006 4:45 am

Re: Demo Not Building in VS2017

Post by Norbo »

Probably missing the right shader compiler version. You could download and install the used monogame version (http://www.monogame.net/2017/03/01/monogame-3-6/) to get that dependency, or you could directly download the June 2010 DirectX SDK from microsoft (https://www.microsoft.com/en-us/downloa ... px?id=6812).
astro
Posts: 4
Joined: Mon Nov 15, 2010 2:21 am

Re: Demo Not Building in VS2017

Post by astro »

Thanks Norbo

installed the June 2010 DirectX SDK from microsoft (https://www.microsoft.com/en-us/downloa ... px?id=6812).

Demo now runs

Thanks Alex
Post Reply