Search found 9 matches

by Arnab Sikidar
Sat Sep 08, 2018 12:26 am
Forum: OpenSim
Topic: Error while registering user-defined plugin
Replies: 6
Views: 542

Re: Error while registering user-defined plugin

Hi Thanks for the reply. It worked. The .lib and .dll files are getting generated and I am able to load them in OpenSim. However, I am still getting the error: Object::newInstanceOfType(): object type 'NonLinearLigament' is not a registered Object! Object type NonLinearLigament not recognized whenev...
by Arnab Sikidar
Thu Sep 06, 2018 9:49 pm
Forum: OpenSim
Topic: Error while registering user-defined plugin
Replies: 6
Views: 542

Re: Error while registering user-defined plugin

Hi,

I have tried uncommenting the line

Code: Select all

static dllObjectInstantiator instantiator; 
but it is showing me an redefinition error. Here is the details of the error.

Error C2371 'instantiator': redefinition; different basic types Libraries - NLLigament_plugin


Thank you

Regards

Arnab
by Arnab Sikidar
Tue Sep 04, 2018 10:19 pm
Forum: OpenSim
Topic: Error while registering user-defined plugin
Replies: 6
Views: 542

Re: Error while registering user-defined plugin

Hello, Thanks for the prompt reply. However, I already have this line in my RegisterTypes_osimPlugin.cpp. Here is the code #include <string> #include <iostream> #include <OpenSim/Common/Object.h> #include "RegisterTypes_osimPlugin.h" #include "NonLinearLigament.h" using namespace OpenSim; using name...
by Arnab Sikidar
Sun Sep 02, 2018 11:21 pm
Forum: OpenSim
Topic: Error while registering user-defined plugin
Replies: 6
Views: 542

Error while registering user-defined plugin

Hi everyone, I am trying to develop a OpenSim plugin for nonlinear characterstics study of ligaments. I have successfully compiled the code in cmd, however, I am having issue in adding the plugin into OpenSim. The error states as follows Successfully loaded library C:\OpenSim 3.3\plugins\NonLinearLi...
by Arnab Sikidar
Sat Sep 01, 2018 3:05 am
Forum: OpenSim
Topic: Adding ligaments using C++
Replies: 2
Views: 328

Re: Adding ligaments using C++

Hi Thomas

Thanks for the reply. It really helped.

Regards

Arnab
by Arnab Sikidar
Thu Aug 23, 2018 10:44 am
Forum: OpenSim
Topic: Error while building C++ code in MS Visual Studio for API Development
Replies: 3
Views: 2273

Re: Error while building C++ code in MS Visual Studio for API Development

jimmy wrote:
Thu Aug 16, 2018 9:18 am
There seems to be some posts on this in Stack Overflow
Thanks James. I could solve the issue. It was because of 64 bit usage of OpenSim libraries.


Regards

Arnab
by Arnab Sikidar
Thu Aug 23, 2018 10:38 am
Forum: OpenSim
Topic: Adding ligaments using C++
Replies: 2
Views: 328

Adding ligaments using C++

Hello I am kind off new to OpenSim API development and currently I am writing a code on developing a model with ligament. I have tried to modify the code for mainFatigue.cpp and would like to add ligaments into the model (tugofwar). The problem I am facing right now is that when I am trying to input...
by Arnab Sikidar
Thu Aug 16, 2018 10:31 pm
Forum: OpenSim
Topic: Error while building C++ code in MS Visual Studio for API Development
Replies: 3
Views: 2273

Re: Error while building C++ code in MS Visual Studio for API Development

Hello James, Thanks for the prompt reply, however, there is no main() in Thelen Muscle Class of OpenSim (from the source code) and is same for my code too. I found a link in SimTK addressing the error but it was not much of help. Here is the link that I referred. https://simtk.org/plugins/phpBB/view...
by Arnab Sikidar
Wed Aug 15, 2018 11:10 pm
Forum: OpenSim
Topic: Error while building C++ code in MS Visual Studio for API Development
Replies: 3
Views: 2273

Error while building C++ code in MS Visual Studio for API Development

Hi everyone, I wrote a code in C++ for development of API in Visual Studio 2017 for OpenSim. But on building the code, I am encountering a error stating as follows: Severity Code Description Error LNK2019 unresolved external symbol main referenced in function "int __cdecl __scrt_common_main_seh(void...