I have a brand new 6-core (12 thread) custom-built laptop, and I want to make it do multithreading for Physics! I'm having some problems getting it set up, though.
I have gotten simple, single-threaded rigid-body Physics working perfectly with Bullet.
I tried reverse-engineering the MultiThreadeDemo found in Demos/. Unfortunately, I continually get unresolved symbol linker errors when I attempt to go multithreaded. For example, some errors:
Code: Select all
1>Tutorials.obj : error LNK2001: unresolved external symbol "public: __thiscall SpuGatheringCollisionDispatcher::SpuGatheringCollisionDispatcher(class btThreadSupportInterface *,unsigned int,class btCollisionConfiguration *)" (??0SpuGatheringCollisionDispatcher@@QAE@PAVbtThreadSupportInterface@@IPAVbtCollisionConfiguration@@@Z)
1>Tutorials.obj : error LNK2001: unresolved external symbol "public: __thiscall Win32ThreadSupport::Win32ThreadSupport(struct Win32ThreadSupport::Win32ThreadConstructionInfo const &)" (??0Win32ThreadSupport@@QAE@ABUWin32ThreadConstructionInfo@0@@Z)
1>Tutorials.obj : error LNK2001: unresolved external symbol "void __cdecl processCollisionTask(void *,void *)" (?processCollisionTask@@YAXPAX0@Z)
1>Tutorials.obj : error LNK2001: unresolved external symbol "void * __cdecl createCollisionLocalStoreMemory(void)" (?createCollisionLocalStoreMemory@@YAPAXXZ)
Ian