Rebilding with VS2017

Development of a clinical decision support system (DSS) that will help clinicians optimally plan the ACL reconstruction procedure in a patient specific manner.
POST REPLY
User avatar
Mitul Agrawal
Posts: 2
Joined: Thu Feb 06, 2020 11:28 pm

Rebilding with VS2017

Post by Mitul Agrawal » Thu Apr 16, 2020 12:00 am

While trying to remake plugin, I tried to modify Cmake file to add SimTK and simbody include and library files.
**************************************************
SET(OPENSIM_INSTALL_DIR "C:/OpenSim 4.1/" CACHE PATH
"Top-level directory of OpenSim install")

SET(CUSTOM_LIGAMENT_PLUGIN_NAME "CustomLigament" CACHE STRING "Name of shared library to create")

### HEADERS
SET(OPENSIM_HEADERS_DIR ${OPENSIM_INSTALL_DIR}/sdk/include)
SET(SIMTK_HEADERS_DIR ${OPENSIM_INSTALL_DIR}/sdk/Simbody/include)

INCLUDE_DIRECTORIES(${OPENSIM_HEADERS_DIR}
${SIMTK_HEADERS_DIR})

### LIBRARIES
SET(OPENSIM_LIBS_DIR
${OPENSIM_INSTALL_DIR}/sdk/Simbody/lib
${OPENSIM_INSTALL_DIR}/sdk/lib)
LINK_DIRECTORIES(${OPENSIM_LIBS_DIR})
**********************************************
But now Visula Studio is throwing errors related to Namespace(like cant find virtual, bool) meaning Headers and namespaces of simbody has hierarchy difference. Can someone help in rebuilding the plugin for Opensim4.1?

POST REPLY