Bacon2D/Bacon2D

Build Error with MAC OX 10.9

Opened this issue · 5 comments

Undefined symbols for architecture x86_64:
"Tiled::MapReader::readMap(QString const&)", referenced from:
TiledScene::loadMap(QString const&) in tiledscene.o
"Tiled::MapReader::MapReader()", referenced from:
TiledScene::loadMap(QString const&) in tiledscene.o
"Tiled::MapReader::~MapReader()", referenced from:
TiledScene::loadMap(QString const&) in tiledscene.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[1]: *** [imports/Bacon2D/libbacon2dplugin.dylib] Error 1
make: *** [sub-src-make_first] Error 2

This build error looks like it's from one of our tiledscene branches, which is still a work in progress. Does master build for you?

Hi Kenvandlne,
Thank you for replying.
Yes, I was trying build this branch:https://github.com/kenvandine/Bacon2D/tree/tiledmap
and after you mentioned, I also tried the master branch, its working fine.

Hi Kenvandlne,
I only success build it once by accidentally in my office, when I back home and try many times, its showing the same error in different file.

ndefined symbols for architecture x86_64:
"sincosf_stret", referenced from:
b2PolygonShape::SetAsBox(float, float, b2Vec2 const&, float) in b2PolygonShape.o
b2TimeOfImpact(b2TOIOutput
, b2TOIInput const
) in b2TimeOfImpact.o
b2SeparationFunction::Initialize(b2SimplexCache const
, b2DistanceProxy const_, b2Sweep const&, b2DistanceProxy const_, b2Sweep const&, float) in b2TimeOfImpact.o
b2SeparationFunction::FindMinSeparation(int_, int_, float) const in b2TimeOfImpact.o
b2SeparationFunction::Evaluate(int, int, float) const in b2TimeOfImpact.o
b2ContactSolver::InitializeVelocityConstraints() in b2ContactSolver.o
b2ContactSolver::SolvePositionConstraints() in b2ContactSolver.o
...
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[1]: *_* [imports/Bacon2D/libbacon2dplugin.dylib] Error 1
make: *** [sub-src-make_first] Error 2

@etamity actually, I never tried building bacon2d using clang (and I assume you are on a mac because of the dylib extension). There is an old macbook getting dust at work, when I have some time I'll try to build the framework using it.

  • And I don't need to assume that you're on a mac because of the title of the issue :P