Skip to content

Commit aabfe07

Browse files
Jisk Attemalarsmans
authored andcommitted
Fix compile error on Travis
1 parent 9ec6eaf commit aabfe07

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

setup.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@
3333
ext_args = defaultdict(list)
3434
ext_args['include_dirs'].append(numpy.get_include())
3535

36+
3637
def pkgconfig(flag):
3738
# Equivalent in Python 2.7 (but not 2.6):
3839
#subprocess.check_output(['pkg-config', flag] + pcl_libs).split()
@@ -63,6 +64,9 @@ def pkgconfig(flag):
6364
for flag in pkgconfig('--libs-only-other'):
6465
ext_args['extra_link_args'].append(flag)
6566

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

6771
setup(name='python-pcl',
6872
description='pcl wrapper',

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy