Physics Simulation Forum

 

All times are UTC




Post new topic Reply to topic  [ 4 posts ] 
Author Message
PostPosted: Sun Mar 18, 2012 2:04 pm 
Offline

Joined: Sun Mar 18, 2012 1:12 pm
Posts: 3
Hi, all, i got an error when debug the helloworld program, error details as follows:
error C2236: unexpected 'class' 'btStackAlloc'. Did you forget a ';'?

error file is btCollisionWorld.h,
error line is:
class btStackAlloc;

this is my project structure, i just make BulletHelloworld froject a dependencies to another five projects.
[img]http://ys-j.ys168.com/?未命名.jpg_50c4bsl7e4e0bt0bs1btqrooll0c1bsppqjp0c0bslmhku0u12f03z[/img]


thanks a lot.


Attachments:
未命名.jpg
未命名.jpg [ 27.35 KiB | Viewed 516 times ]
Top
 Profile  
 
PostPosted: Sun Mar 18, 2012 6:29 pm 
Offline
Site Admin
User avatar

Joined: Sun Jun 26, 2005 6:43 pm
Posts: 3746
Location: California, USA
What 'hello world' example did you use? The one in the wiki is likely out of date.

Please use the one that ships with Bullet, either Bullet/Demos/HelloWorld or Bullet/Demos/BasicDemo
Thanks,
Erwin


Top
 Profile  
 
PostPosted: Mon Mar 19, 2012 2:51 am 
Offline

Joined: Sun Mar 18, 2012 1:12 pm
Posts: 3
Erwin Coumans wrote:
What 'hello world' example did you use? The one in the wiki is likely out of date.

Please use the one that ships with Bullet, either Bullet/Demos/HelloWorld or Bullet/Demos/BasicDemo
Thanks,
Erwin

yes, i want to make a gui display for "Bullet/Demos/Helloworld" in HelloworldDemo, so i make additional dependencies of project OpenGLSupport and Zero Check for Hellowrold, and by implementing methods clientMoveAndDisplay() and displayCallback(), i get original code in Helloworld into initPhysics() method of HelloworldDemo, and make same configuration like BasicDemo or CcsPhysicsDemo, but the error remains..

Thanks,
Leo


Top
 Profile  
 
PostPosted: Mon Mar 19, 2012 6:13 am 
Offline

Joined: Sun Mar 18, 2012 1:12 pm
Posts: 3
I'm a beginner with vs C++ and bullet, i'll be very appreciate of your help.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 5 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group