Skip to content

OSX build fails due to python libraries not being included #21

@silicontrip

Description

@silicontrip

libarea fails building area.so with the error:

Undefined symbols for architecture x86_64:
  "_PyBool_FromLong", referenced from:
      boost::python::objects::caller_py_function_impl<boost::python::detail::caller<bool (*)(), boost::python::default_call_policies, boost::mpl::vector1<bool> > >::operator()(_object*, _object*) in PythonStuff.o
...

This error occurs because cmake only includes the boost-python library and none of the python libraries that the boost-python library depends on.

I don't know enough about cmake to resolve this myself (yet)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions