Skip to content

Instantly share code, notes, and snippets.

@liangqi
Created May 29, 2013 14:28
Show Gist options
  • Save liangqi/5670689 to your computer and use it in GitHub Desktop.
Save liangqi/5670689 to your computer and use it in GitHub Desktop.
rm -f libdeclarative_location_debug.dylib
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++ -headerpad_max_install_names -Wl,-syslibroot,/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk -stdlib=libc++ -mmacosx-version-min=10.7 -single_module -dynamiclib -o libdeclarative_location_debug.dylib .obj/debug-shared/qdeclarativeposition.o .obj/debug-shared/location.o .obj/debug-shared/qdeclarativepositionsource.o .obj/debug-shared/qdeclarativecoordinate.o .obj/debug-shared/qdeclarativegeolocation.o .obj/debug-shared/qdeclarativegeomapitemview.o .obj/debug-shared/qdeclarativegeomapmouseevent.o .obj/debug-shared/qdeclarativegeomapmousearea.o .obj/debug-shared/qdeclarativegeoserviceprovider.o .obj/debug-shared/qdeclarativegeoaddress.o .obj/debug-shared/qdeclarativegeoshape.o .obj/debug-shared/qdeclarativegeorectangle.o .obj/debug-shared/qdeclarativegeocircle.o .obj/debug-shared/qdeclarativegeocodemodel.o .obj/debug-shared/qdeclarativegeoroutemodel.o .obj/debug-shared/qdeclarativegeoroute.o .obj/debug-shared/qdeclarativegeoroutesegment.o .obj/debug-shared/qdeclarativegeomaneuver.o .obj/debug-shared/qdeclarativegeomap.o .obj/debug-shared/qdeclarativegeomaptype.o .obj/debug-shared/qdeclarativegeomapitembase.o .obj/debug-shared/qdeclarativegeomapquickitem.o .obj/debug-shared/mapnode.o .obj/debug-shared/qdeclarativecirclemapitem.o .obj/debug-shared/qdeclarativerectanglemapitem.o .obj/debug-shared/qdeclarativepolygonmapitem.o .obj/debug-shared/qdeclarativepolylinemapitem.o .obj/debug-shared/qdeclarativeroutemapitem.o .obj/debug-shared/qgeomapitemgeometry.o .obj/debug-shared/qdeclarativegeomapcopyrightsnotice.o .obj/debug-shared/qdeclarativegeomapgesturearea.o .obj/debug-shared/error_messages.o .obj/debug-shared/locationvaluetypeprovider.o .obj/debug-shared/locationsingleton.o .obj/debug-shared/qdeclarativeplacecontentmodel.o .obj/debug-shared/qdeclarativesupportedcategoriesmodel.o .obj/debug-shared/qdeclarativesearchsuggestionmodel.o .obj/debug-shared/qdeclarativesearchresultmodel.o .obj/debug-shared/qdeclarativereviewmodel.o .obj/debug-shared/qdeclarativeplaceimagemodel.o .obj/debug-shared/qdeclarativeplaceeditorialmodel.o .obj/debug-shared/qdeclarativecontactdetail.o .obj/debug-shared/qdeclarativecategory.o .obj/debug-shared/qdeclarativeplace.o .obj/debug-shared/qdeclarativeplaceattribute.o .obj/debug-shared/qdeclarativeplaceicon.o .obj/debug-shared/qdeclarativeplaceuser.o .obj/debug-shared/qdeclarativeratings.o .obj/debug-shared/qdeclarativesupplier.o .obj/debug-shared/qdeclarativesearchmodelbase.o .obj/debug-shared/moc_qdeclarativegeolocation_p.o .obj/debug-shared/moc_qdeclarativegeoshape.o .obj/debug-shared/moc_qdeclarativecirclemapitem_p.o .obj/debug-shared/moc_qdeclarativerectanglemapitem_p.o .obj/debug-shared/moc_qdeclarativepolygonmapitem_p.o .obj/debug-shared/moc_qdeclarativepolylinemapitem_p.o .obj/debug-shared/moc_qdeclarativeroutemapitem_p.o .obj/debug-shared/moc_qgeomapitemgeometry_p.o .obj/debug-shared/moc_qdeclarativegeomapcopyrightsnotice_p.o .obj/debug-shared/moc_locationsingleton.o .obj/debug-shared/moc_qdeclarativeplacecontentmodel.o .obj/debug-shared/moc_qdeclarativesupportedcategoriesmodel_p.o .obj/debug-shared/moc_qdeclarativesearchsuggestionmodel_p.o .obj/debug-shared/moc_qdeclarativesearchresultmodel_p.o .obj/debug-shared/moc_qdeclarativereviewmodel_p.o .obj/debug-shared/moc_qdeclarativeplaceimagemodel_p.o .obj/debug-shared/moc_qdeclarativeplaceeditorialmodel.o .obj/debug-shared/moc_qdeclarativecontactdetail_p.o .obj/debug-shared/moc_qdeclarativecategory_p.o .obj/debug-shared/moc_qdeclarativeplace_p.o .obj/debug-shared/moc_qdeclarativeplaceattribute_p.o .obj/debug-shared/moc_qdeclarativeplaceicon_p.o .obj/debug-shared/moc_qdeclarativeplaceuser_p.o .obj/debug-shared/moc_qdeclarativeratings_p.o .obj/debug-shared/moc_qdeclarativesupplier_p.o .obj/debug-shared/moc_qdeclarativesearchmodelbase.o -L/Users/liangqi/build/qt5-2/qtlocation/src/imports/location/../../3rdparty/poly2tri -lpoly2tri -L/Users/liangqi/build/qt5-2/qtbase/lib -lQt53D_debug -lQt5Quick_debug -lQt5OpenGL_debug -lQt5Qml_debug -lQt5Widgets_debug -lQt0Location_debug -lQt5Network_debug -lQt5Gui_debug -lQt5V8_debug -lQt5Core_debug -framework OpenGL -framework AGL
Undefined symbols for architecture x86_64:
"p2t::CDT::AddHole(std::__1::vector<p2t::Point*, std::__1::allocator<p2t::Point*> >)", referenced from:
QGeoMapCircleGeometry::updateScreenPointsInvert(QGeoMap const&) in qdeclarativecirclemapitem.o
"p2t::CDT::CDT(std::__1::vector<p2t::Point*, std::__1::allocator<p2t::Point*> >)", referenced from:
QGeoMapCircleGeometry::updateScreenPointsInvert(QGeoMap const&) in qdeclarativecirclemapitem.o
QGeoMapPolygonGeometry::updateScreenPoints(QGeoMap const&) in qdeclarativepolygonmapitem.o
"std::allocator<char>::std::allocator()", referenced from:
p2t::Sweep::EdgeEvent(p2t::SweepContext&, p2t::Point&, p2t::Point&, p2t::Triangle*, p2t::Point&) in libpoly2tri.a(sweep.o)
"std::allocator<char>::~std::allocator()", referenced from:
p2t::Sweep::EdgeEvent(p2t::SweepContext&, p2t::Point&, p2t::Point&, p2t::Triangle*, p2t::Point&) in libpoly2tri.a(sweep.o)
"std::ostream::operator<<(std::ostream& (*)(std::ostream&))", referenced from:
p2t::Triangle::DebugPrint() in libpoly2tri.a(shapes.o)
"std::ostream::operator<<(float)", referenced from:
p2t::Triangle::DebugPrint() in libpoly2tri.a(shapes.o)
"std::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string(char const*, std::allocator<char> const&)", referenced from:
p2t::Sweep::EdgeEvent(p2t::SweepContext&, p2t::Point&, p2t::Point&, p2t::Triangle*, p2t::Point&) in libpoly2tri.a(sweep.o)
"std::basic_string<char, std::char_traits<char>, std::allocator<char> >::~basic_string()", referenced from:
p2t::Sweep::EdgeEvent(p2t::SweepContext&, p2t::Point&, p2t::Point&, p2t::Triangle*, p2t::Point&) in libpoly2tri.a(sweep.o)
"std::runtime_error::runtime_error(std::string const&)", referenced from:
p2t::Sweep::EdgeEvent(p2t::SweepContext&, p2t::Point&, p2t::Point&, p2t::Triangle*, p2t::Point&) in libpoly2tri.a(sweep.o)
"std::_List_node_base::hook(std::_List_node_base*)", referenced from:
std::list<p2t::Triangle*, std::allocator<p2t::Triangle*> >::_M_insert(std::_List_iterator<p2t::Triangle*>, p2t::Triangle* const&) in libpoly2tri.a(sweep_context.o)
"std::_List_node_base::unhook()", referenced from:
std::list<p2t::Triangle*, std::allocator<p2t::Triangle*> >::_M_erase(std::_List_iterator<p2t::Triangle*>) in libpoly2tri.a(sweep_context.o)
"std::ios_base::Init::Init()", referenced from:
___cxx_global_var_init in libpoly2tri.a(shapes.o)
"std::ios_base::Init::~Init()", referenced from:
___cxx_global_var_init in libpoly2tri.a(shapes.o)
"std::__throw_length_error(char const*)", referenced from:
std::vector<p2t::Triangle*, std::allocator<p2t::Triangle*> >::_M_insert_aux(__gnu_cxx::__normal_iterator<p2t::Triangle**, std::vector<p2t::Triangle*, std::allocator<p2t::Triangle*> > >, p2t::Triangle* const&) in libpoly2tri.a(sweep_context.o)
std::vector<p2t::Point*, std::allocator<p2t::Point*> >::_M_insert_aux(__gnu_cxx::__normal_iterator<p2t::Point**, std::vector<p2t::Point*, std::allocator<p2t::Point*> > >, p2t::Point* const&) in libpoly2tri.a(sweep_context.o)
std::vector<p2t::Edge*, std::allocator<p2t::Edge*> >::_M_insert_aux(__gnu_cxx::__normal_iterator<p2t::Edge**, std::vector<p2t::Edge*, std::allocator<p2t::Edge*> > >, p2t::Edge* const&) in libpoly2tri.a(sweep_context.o)
std::vector<p2t::Node*, std::allocator<p2t::Node*> >::_M_insert_aux(__gnu_cxx::__normal_iterator<p2t::Node**, std::vector<p2t::Node*, std::allocator<p2t::Node*> > >, p2t::Node* const&) in libpoly2tri.a(sweep.o)
"std::cout", referenced from:
p2t::Triangle::DebugPrint() in libpoly2tri.a(shapes.o)
"std::basic_ostream<char, std::char_traits<char> >& std::endl<char, std::char_traits<char> >(std::basic_ostream<char, std::char_traits<char> >&)", referenced from:
p2t::Triangle::DebugPrint() in libpoly2tri.a(shapes.o)
"std::basic_ostream<char, std::char_traits<char> >& std::operator<<<std::char_traits<char> >(std::basic_ostream<char, std::char_traits<char> >&, char const*)", referenced from:
p2t::Triangle::DebugPrint() in libpoly2tri.a(shapes.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[3]: *** [/Users/liangqi/build/qt5-2/qtbase/qml/QtLocation/libdeclarative_location_debug.dylib] Error 1
make[2]: *** [sub-location-make_first] Error 2
make[1]: *** [sub-imports-make_first-ordered] Error 2
make: *** [sub-src-make_first] Error 2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment