Can't include BEPU library into WindowsPhoneGame Application

Discuss any questions about BEPUphysics or problems encountered.
Post Reply
m.starkov
Posts: 19
Joined: Sat May 07, 2011 11:06 am

Can't include BEPU library into WindowsPhoneGame Application

Post 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
Norbo
Site Admin
Posts: 4929
Joined: Tue Jul 04, 2006 4:45 am

Re: Can't include BEPU library into WindowsPhoneGame Applica

Post 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.
m.starkov
Posts: 19
Joined: Sat May 07, 2011 11:06 am

Re: Can't include BEPU library into WindowsPhoneGame Applica

Post by m.starkov »

Oh yes,

It is so.

Thank you!

Sorry
Post Reply