btHashMap missing default constructor

jhenriques
Posts: 1
Joined: Wed Jul 03, 2013 2:40 pm

btHashMap missing default constructor

Post by jhenriques »

Hi,

Trying to use btBulletWorldImporter on a cross-platform project and on windows (Visual Studio 9 Win64) I get:

Code: Select all

error C2512: 'btHashString::btHashString' : no appropriate default constructor available
I checked the code and indeed there is no default constructor... After I added the default constructors to btHashString and btHashPtr my compilation error went away...

Code: Select all

btHashString( ) : m_string("") { }
Correct me if I'm wrong, but I think this needs a fix on main branch.