Skip to content

Commit

Permalink
Revert "Fix for Boost dependencies"
Browse files Browse the repository at this point in the history
This reverts commit 84299da.
The error was in roboptim-core.
  • Loading branch information
Benjamin Chrétien committed Jan 7, 2016
1 parent 716291f commit b93f7f7
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions src/roboptim/core/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,7 @@
# plugin cannot access local symbols of roboptim-core. This is not ideal, but
# at least plugins do not need to link with roboptim-core themselves. A better
# solution may be implemented later on.
# As for the Boost dependencies, we need them as well since we use an
# OptimizationLogger (header only) which depends on extra Boost libraries.
# TODO: avoid these Boost dependencies...
from ctypes import CDLL, RTLD_GLOBAL
CDLL("libboost_date_time.so", RTLD_GLOBAL)
CDLL("libboost_system.so", RTLD_GLOBAL)
CDLL("libboost_filesystem.so", RTLD_GLOBAL)
CDLL("libroboptim-core.so", RTLD_GLOBAL)

from .wrap import *
Expand Down

0 comments on commit b93f7f7

Please sign in to comment.