Box2D gives external symbol error.

This topic is 3230 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

Recommended Posts

for some strange reason when i use the b2World class and set it up and compile it gives me these errors:

2>Main.obj : error LNK2001: unresolved external symbol "public: __thiscall b2World::~b2World(void)" (??1b2World@@QAE@XZ)
2>Main.obj : error LNK2001: unresolved external symbol "public: __thiscall b2World::b2World(struct b2AABB const &,struct b2Vec2 const &,bool)" (??0b2World@@QAE@ABUb2AABB@@ABUb2Vec2@@_N@Z)


Any ideas why i'm getting these errors when the functions are in the lib?

Share on other sites
Is the lib part of your project?

Share on other sites
yes it is, i added it to the project via #pragma directive.