| Server IP : 82.208.35.60 / Your IP : 216.73.216.238 Web Server : Apache/2.4.55 (FreeBSD) OpenSSL/1.1.1q-freebsd PHP/7.3.31 System : FreeBSD server7.d2m.cz 12.4-RELEASE-p9 FreeBSD 12.4-RELEASE-p9 GENERIC amd64 User : studiokobylisy_cz ( 1008) PHP Version : 7.3.31 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /usr/ports/math/py-python-fcl/files/ |
Upload File : |
--- setup.py.orig 2019-06-12 18:08:59 UTC
+++ setup.py
@@ -18,12 +18,14 @@ platform_supported = False
for prefix in ['darwin', 'linux', 'bsd']:
if prefix in sys.platform:
platform_supported = True
- include_dirs = ['/usr/include',
+ include_dirs = [ '/usr/include',
+ '/usr/local/include/fcl05',
'/usr/local/include',
'/usr/include/eigen3']
lib_dirs = ['/usr/lib',
- '/usr/local/lib']
-
+ '/usr/local/lib/',
+ '/usr/local/lib/']
+
if 'CPATH' in os.environ:
include_dirs += os.environ['CPATH'].split(':')
if 'LD_LIBRARY_PATH' in os.environ:
@@ -78,9 +80,10 @@ setup(
include_dirs = include_dirs,
library_dirs = lib_dirs,
libraries=[
- "fcl","octomap"
+ "fcl05","octomap"
],
language="c++",
- extra_compile_args = ["-std=c++11"]
+ extra_compile_args = ["-std=c++11"],
+ extra_link_args = ['-Wl,-rpath, '+'/usr/local/lib/fcl05']
)]
)