I'm currently using version 2.73 as it's the only version of bullet we know is compilable with PhyreEngine 2.6 for PSP. I've had no major problems with bullet so far until using ghost objects for collisions. When constructing a new ghost object using 'new' this throws a linker error for the constructor. I've tried rebuilding the libraries and making sure the ghost objects .cpp was included in the build however any edit I do causing freezes and crashes. I'm just wondering if anyone has any tips on making sure all bullet libraries are included?
I'm using visual studio 2008 on 64 bit OS.
Thanks
Ghost Object linker errors
-
Erwin Coumans
- Site Admin
- Posts: 4221
- Joined: Sun Jun 26, 2005 6:43 pm
- Location: California, USA
Re: Ghost Object linker errors
2.73 is a very old version of Bullet, it would be good to try upgrading to a newer version.
Anyhow, what linker symbol is missing?
Can you make sure the library order is OK?
softbody -> dynamics -> collision -> linearmath
Thanks,
Erwin
Anyhow, what linker symbol is missing?
Can you make sure the library order is OK?
softbody -> dynamics -> collision -> linearmath
Thanks,
Erwin
-
Bubba1869
- Posts: 5
- Joined: Mon Mar 21, 2011 3:50 pm
Re: Ghost Object linker errors
Updating was one of the first things we tried to do but didn't get very far due to time constraints sadly.
Error 15 error LNK2001: unresolved external symbol "public: __thiscall btGhostObject::btGhostObject(void)" (??0btGhostObject@@QAE@XZ) Cart.obj
This is the error taken from our Cart.cpp
Thank you
Error 15 error LNK2001: unresolved external symbol "public: __thiscall btGhostObject::btGhostObject(void)" (??0btGhostObject@@QAE@XZ) Cart.obj
This is the error taken from our Cart.cpp
Thank you
-
Bubba1869
- Posts: 5
- Joined: Mon Mar 21, 2011 3:50 pm
Re: Ghost Object linker errors
Just to let you know I fixed the problem for this. I updated to 2.78 finally after rebuilding alot of stuff and turns out Sony forgot to include ghost objects. All working now
The problem stemmed from the ability to load and save scenes, which isn't supported on the PSP and leading to quite a few files being excluded.
Thanks
Thanks