Build failing on OSX
See the Dashboard here:
http://my.cdash.org/viewBuildError.php?buildid=917830
Relevant messages:
"imstk::ToolCoupler::ToolCoupler(std::__1::shared_ptr<imstk::DeviceInterface>)", referenced from:
std::__1::shared_ptr<imstk::ToolCoupler> std::__1::shared_ptr<imstk::ToolCoupler>::make_shared<std::__1::shared_ptr<imstk::VRPNForceDevice>&>(std::__1::shared_ptr<imstk::VRPNForceDevice>&&&) in SDK.cpp.o
"imstk::ToolCoupler::~ToolCoupler()", referenced from:
std::__1::__shared_ptr_emplace<imstk::ToolCoupler, std::__1::allocator<imstk::ToolCoupler> >::~__shared_ptr_emplace() in SDK.cpp.o
std::__1::__shared_ptr_emplace<imstk::ToolCoupler, std::__1::allocator<imstk::ToolCoupler> >::~__shared_ptr_emplace() in SDK.cpp.o
"imstk::DeviceInterface::~DeviceInterface()", referenced from:
std::__1::__shared_ptr_emplace<imstk::VRPNDeviceServer, std::__1::allocator<imstk::VRPNDeviceServer> >::~__shared_ptr_emplace() in SDK.cpp.o
std::__1::__shared_ptr_emplace<imstk::VRPNDeviceServer, std::__1::allocator<imstk::VRPNDeviceServer> >::~__shared_ptr_emplace() in SDK.cpp.o
"imstk::InitIODelegates()", referenced from:
imstk::SDK::initialize() in SDK.cpp.o
I believe the issue can be fixed by adding Devices
and VirtualTools
to the target_link_libraries(SimulationManager
function.
I can't verify this on OSX though.
Here is a patch that I believe would solve this.
diff --git a/SimulationManager/CMakeLists.txt b/SimulationManager/CMakeLists.txt
index 254289c..4964437 100644
--- a/SimulationManager/CMakeLists.txt
+++ b/SimulationManager/CMakeLists.txt
@@ -29,11 +29,13 @@ imstk_add_library(SimulationManager
target_link_libraries(SimulationManager
PRIVATE
+ Assembler
Core
- Simulators
- Rendering
CollisionContext
- Assembler
+ Devices
+ Rendering
+ Simulators
+ VirtualTools
)
if(BUILD_TESTING)