Linker Errors : PS3 SDK

liquidslade
Posts: 16
Joined: Fri Aug 14, 2009 11:56 pm

Linker Errors : PS3 SDK

Post by liquidslade »

Having the following errors :
ps3ppuld 270.1.3265.0 (rel,ps3,270.1,ppu,src @47915 #240097 ) "C:\usr\local\cell\host-win32\sn\bin\ps3ppuld.exe"
Command line : error: L0039: reference to undefined symbol `localGetSupportingVertexWithoutMargin(int, void*, btVector3 const&, SpuConvexPolyhedronVertexData*)' in file "c:\Users\liquidCHAOS\Documents\Visual Studio 2008\Projects\Aetherium\PS3_SNC_PPU_Debug\SpuMinkowskiPenetrationDepthSolver.obj"
Command line : error: L0039: reference to undefined symbol `.cellSyncMutexInitialize' in file "c:\Users\liquidCHAOS\Documents\Visual Studio 2008\Projects\Aetherium\PS3_SNC_PPU_Debug\SpuParallelSolver.obj"
Unknown source file(1) : error: L0039: reference to undefined symbol `localGetSupportingVertexWithoutMargin(int, void*, btVector3 const&, SpuConvexPolyhedronVertexData*)' in file "c:\Users\liquidCHAOS\Documents\Visual Studio 2008\Projects\Aetherium\PS3_SNC_PPU_Debug\SpuMinkowskiPenetrationDepthSolver.obj"
Unknown source file(1) : error: L0039: reference to undefined symbol `localGetSupportingVertexWithoutMargin(int, void*, btVector3 const&, SpuConvexPolyhedronVertexData*)' in file "c:\Users\liquidCHAOS\Documents\Visual Studio 2008\Projects\Aetherium\PS3_SNC_PPU_Debug\SpuMinkowskiPenetrationDepthSolver.obj"
Unknown source file(1) : error: L0039: reference to undefined symbol `.cellSyncMutexInitialize' in file "c:\Users\liquidCHAOS\Documents\Visual Studio 2008\Projects\Aetherium\PS3_SNC_PPU_Debug\SpuParallelSolver.obj"
Unknown source file(1) : error: L0039: reference to undefined symbol `localGetSupportingVertexWithoutMargin(int, void*, btVector3 const&, SpuConvexPolyhedronVertexData*)' in file "c:\Users\liquidCHAOS\Documents\Visual Studio 2008\Projects\Aetherium\PS3_SNC_PPU_Debug\SpuSubSimplexConvexCast.obj"
C:\Program Files\SN Systems\Common\VSI\bin\vsimake.exe: error: *** [PS3_SNC_PPU_Debug/Aetherium.ppu.self] Error 1
Error 2 from Aetherium - build stopping
Aetherium - 6 error(s), 137 warning(s)
We've downloaded from here : http://bullet.googlecode.com/files/bullet-2.75-rc7.zip, but for some reason we're missing a bunch of functions.....

Just as a reference; our group has a PS3 SDK but we still don't have access to PS3 Devnet (we we're told to wait on Sony). We we're wondering if anyone in the forums can point us in the right direction. We can't produce anymore code, without making bullet work.

Any help would be appreciated.
Buckeye
Posts: 3
Joined: Thu Aug 20, 2009 6:57 am

Re: Linker Errors : PS3 SDK

Post by Buckeye »

May be an obvious and stupid question as I'm not familiar with PS3.

However, localGetSupportingVertexWithoutMargin is declared and defined in btSoftBodyInternals.h.

Are you linking the softbody and multithreaded libs?
liquidslade
Posts: 16
Joined: Fri Aug 14, 2009 11:56 pm

Re: Linker Errors : PS3 SDK

Post by liquidslade »

Buckeye wrote:May be an obvious and stupid question as I'm not familiar with PS3.

However, localGetSupportingVertexWithoutMargin is declared and defined in btSoftBodyInternals.h.

Are you linking the softbody and multithreaded libs?
From the setup, it looks like thats happening. Im investigating it right now.

Thanks for the tip, this prolly gave me an idea.
liquidslade
Posts: 16
Joined: Fri Aug 14, 2009 11:56 pm

Re: Linker Errors : PS3 SDK

Post by liquidslade »

Got it! Managed to compile each directory/section as its own library.