Page 1 of 1

Can't include BEPU library into WindowsPhoneGame Application

Posted: Sun May 15, 2011 1:39 am
by m.starkov
Hi,

Sorry in advance if it is out of scope of this forum. However I believe that it is supposed to be in scope.

When I'm creating just new Windows Phone Game application (XNA 4) in VS 2010 Express I'm getting the following strange behavior.

When I'm adding the reference to BEPU library and then putting "using BEPUphysics;" to the using list then It looks fine first and I can see reference to BEPU in the "Object Browser" and in the "Solution Explorer".

However when just only F5 is pressed the following happens: reference to BEPU dissapears from the "Object Browser" (but still remains in the "Solution Explorer") and my "using BEPUphysics;" became underlined with blue line and error says that I'm may be missing assembly reference.

There is no workaround I have found. This quite dissapointing thing stops a futher development. May be I'm missing something trivial?

It may be the answer is in the message from VS saying that the library is not build for Phone Application when trying to include reference to BEPU for Windows Phone Application?

For Windows Game application all works fine.

Could one please advise on above?


Best Regards

Mikhail

Re: Can't include BEPU library into WindowsPhoneGame Applica

Posted: Sun May 15, 2011 2:26 am
by Norbo
It does seem like it's not the right library version. Are you sure you're using the WP7 version? You could also try manually recompiling the source code for WP7 if you wanted to use the latest development versions.

Re: Can't include BEPU library into WindowsPhoneGame Applica

Posted: Mon May 16, 2011 11:03 am
by m.starkov
Oh yes,

It is so.

Thank you!

Sorry