gpersistence / tstop

Time-series topology data analysis tool suite (TS-TOP) and datasets for characterizing and classifying time-series data
GNU General Public License v3.0
41 stars 17 forks source link

Installing on OSX #1

Open rushilanirudh opened 7 years ago

rushilanirudh commented 7 years ago

Hi

Thank you for putting this together. I am trying to get it to install on my Mac, with no success. When I run the make command, I get the following error.

[ 1%] Linking CXX shared library libgeometry.dylib Undefined symbols for architecture x86_64: "_PyErr_Occurred", referenced from: Vector::Vector(boost::python::api::object) in Vector.cpp.o "_PyInt_FromLong", referenced from: Vector::Vector(boost::python::api::object) in Vector.cpp.o "_PyList_Type", referenced from: Vector::Vector(boost::python::api::object) in Vector.cpp.o "_PyObject_Size", referenced from: Vector::Vector(boost::python::api::object) in Vector.cpp.o "__Py_NoneStruct", referenced from: __GLOBAL__sub_I_SparseVector.cpp in SparseVector.cpp.o __GLOBAL__sub_I_Vector.cpp in Vector.cpp.o __GLOBAL__sub_I_covertree.cpp in covertree.cpp.o "boost::python::pytype_check(_typeobject*, _object*)", referenced from: Vector::Vector(boost::python::api::object) in Vector.cpp.o "boost::python::throw_error_already_set()", referenced from: Vector::Vector(boost::python::api::object) in Vector.cpp.o _object* boost::python::detail::manage_ptr<_object>(_object*, ...) in Vector.cpp.o "boost::python::api::getitem(boost::python::api::object const&, boost::python::api::object const&)", referenced from: Vector::Vector(boost::python::api::object) in Vector.cpp.o "boost::python::converter::rvalue_from_python_stage1(_object*, boost::python::converter::registration const&)", referenced from: Vector::Vector(boost::python::api::object) in Vector.cpp.o "boost::python::converter::rvalue_from_python_stage2(_object*, boost::python::converter::rvalue_from_python_stage1_data&, boost::python::converter::registration const&)", referenced from: Vector::Vector(boost::python::api::object) in Vector.cpp.o "boost::python::converter::registry::lookup(boost::python::type_info)", referenced from: ___cxx_global_var_init15 in Vector.cpp.o ___cxx_global_var_init16 in Vector.cpp.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[2]: *** [geometry/libgeometry.dylib] Error 1 make[1]: *** [geometry/CMakeFiles/geometry.dir/all] Error 2 make: *** [all] Error 2

I have all the dependencies installed -- I was hoping you could help me out with this.

Thanks!! Rushil

gpersistence commented 7 years ago

Rushil -

I am not sure what is going on there. I have not tested this is on a mac, just linux. It looks like there may be some type of linking problem with Boost? I will have to think about it some more.

On Tue, Oct 25, 2016 at 8:26 PM, Rushil Anirudh notifications@github.com wrote:

Hi

Thank you for putting this together. I am trying to get it to install on my Mac, with no success. When I run the make command, I get the following error.

[ 1%] Linking CXX shared library libgeometry.dylib Undefined symbols for architecture x86_64: "_PyErr_Occurred", referenced from: Vector::Vector(boost::python::api::object) in Vector.cpp.o "_PyInt_FromLong", referenced from: Vector::Vector(boost::python::api::object) in Vector.cpp.o "_PyList_Type", referenced from: Vector::Vector(boost::python::api::object) in Vector.cpp.o "_PyObject_Size", referenced from: Vector::Vector(boost::python::api::object) in Vector.cpp.o "Py_NoneStruct", referenced from: GLOBALsub_I_SparseVector.cpp in SparseVector.cpp.o GLOBALsub_I_Vector.cpp in Vector.cpp.o GLOBALsub_I_covertree.cpp in covertree.cpp.o "boost::python::pytype_check(typeobject, object)", referenced from: Vector::Vector(boost::python::api::object) in Vector.cpp.o "boost::python::throw_error_already_set()", referenced from: Vector::Vector(boost::python::api::object) in Vector.cpp.o _object* boost::python::detail::manage_ptr<_object>(object, ...) in Vector.cpp.o "boost::python::api::getitem(boost::python::api::object const&, boost::python::api::object const&)", referenced from: Vector::Vector(boost::python::api::object) in Vector.cpp.o "boost::python::converter::rvalue_from_python_stage1(object, boost::python::converter::registration const&)", referenced from: Vector::Vector(boost::python::api::object) in Vector.cpp.o "boost::python::converter::rvalue_from_python_stage2(object, boost::python::converter::rvalue_from_python_stage1_data&, boost::python::converter::registration const&)", referenced from: Vector::Vector(boost::python::api::object) in Vector.cpp.o "boost::python::converter::registry::lookup(boost::python::typeinfo)", referenced from: cxx_global_var_init15 in Vector.cpp.o ___cxx_global_var_init16 in Vector.cpp.o ld: symbol(s) not found for architecture x8664 clang: error: linker command failed with exit code 1 (use -v to see invocation) make[2]: ** [geometry/libgeometry.dylib] Error 1 make[1]: * [geometry/CMakeFiles/geometry.dir/all] Error 2 make: * [all] Error 2

I have all the dependencies installed -- I was hoping you could help me out with this.

Thanks!! Rushil

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/gpersistence/tstop/issues/1, or mute the thread https://github.com/notifications/unsubscribe-auth/ATReeAzQp94KzCJ399qao2PAEJ9mbUYGks5q3p44gaJpZM4KgoV- .