Skip to content
This repository has been archived by the owner on Dec 30, 2023. It is now read-only.

Commit

Permalink
Merge pull request #68 from larsmans/eigen-compile-error
Browse files Browse the repository at this point in the history
Fix compile error on Travis
  • Loading branch information
nzjrs committed Mar 17, 2015
2 parents fc5063c + aabfe07 commit f17c686
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@
ext_args = defaultdict(list)
ext_args['include_dirs'].append(numpy.get_include())


def pkgconfig(flag):
# Equivalent in Python 2.7 (but not 2.6):
#subprocess.check_output(['pkg-config', flag] + pcl_libs).split()
Expand Down Expand Up @@ -63,6 +64,9 @@ def pkgconfig(flag):
for flag in pkgconfig('--libs-only-other'):
ext_args['extra_link_args'].append(flag)

# Fix compile error on Ubuntu 12.04 (e.g., Travis-CI).
ext_args['define_macros'].append(
("EIGEN_YES_I_KNOW_SPARSE_MODULE_IS_NOT_STABLE_YET", "1"))

setup(name='python-pcl',
description='pcl wrapper',
Expand Down

0 comments on commit f17c686

Please sign in to comment.