Skip to content

Unable to detect python version #82

@hoanglehaithanh

Description

@hoanglehaithanh

When I tried to include
#include <boost/numpy.hpp>

error occurs:
In file included from /usr/include/boost/python/detail/prefix.hpp:13:0, from /usr/include/boost/python/args.hpp:8, from /usr/include/boost/python.hpp:11, from /usr/local/include/boost/numpy/dtype.hpp:13, from /usr/local/include/boost/numpy.hpp:13, from exportModule.h:9, from common.h:42, from main.cpp:45: /usr/include/boost/python/detail/wrap_python.hpp:78:2: error: #error Python 2.2 or higher is required for this version of Boost.Python. #error Python 2.2 or higher is required for this version of Boost.Python. ^ Makefile.sample_detection:96: recipe for target '../bin/chobj/main.o' failed

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions