Plugin 2

Provide easy-to-use, extensible software for modeling, simulating, controlling, and analyzing the neuromusculoskeletal system.
POST REPLY
User avatar
Ricardo Lameira
Posts: 17
Joined: Tue Apr 12, 2016 1:43 pm

Plugin 2

Post by Ricardo Lameira » Thu Nov 17, 2016 7:58 am

hi,


How do i create the plugin controller ? I took the code from the Github Source Code Repository and then I used cmake, according to the guide. After, i opened the .sln file with the visual C ++ 2008 to build the .dll file, but errors occurred that didn´t allow the task to be performed correctly.

Thank you , Ricardo Lameira
Last edited by Ricardo Lameira on Fri Nov 25, 2016 7:38 am, edited 1 time in total.

User avatar
Thomas Uchida
Posts: 1803
Joined: Wed May 16, 2012 11:40 am

Re: Ricardo Lameira

Post by Thomas Uchida » Thu Nov 17, 2016 12:01 pm

The code is unlikely to work on older versions of Visual Studio; we currently use 2015 for development. Please see README.md (https://github.com/opensim-org/opensim-core) under the "On Windows using Visual Studio" heading for details and links.

User avatar
Ricardo Lameira
Posts: 17
Joined: Tue Apr 12, 2016 1:43 pm

Re: Ricardo Lameira

Post by Ricardo Lameira » Fri Nov 18, 2016 8:50 am

Good afeternoon,

I followed the steps you told me, I installed visual studio 2015, cmake 3.7, but the error still exists. The .dll file doesn't appear, the build has several errors. I downloaded it from this source:https://github.com/msdemers/opensim-reflex-controllers. I followed the instructions but the error keeps



errors:
ReflexControllersPlugin.log
(2.35 KiB) Downloaded 84 times

Thank you, Ricardo Lameira

User avatar
Thomas Uchida
Posts: 1803
Joined: Wed May 16, 2012 11:40 am

Re: Ricardo Lameira

Post by Thomas Uchida » Fri Nov 18, 2016 1:56 pm

What version of OpenSim are you building against? The instructions in the README.md at https://github.com/msdemers/opensim-reflex-controllers indicate that you need "OpenSim 3.2 or above", but it may not have been tested using versions more recent than 3.2.

User avatar
Ricardo Lameira
Posts: 17
Joined: Tue Apr 12, 2016 1:43 pm

Re: Ricardo Lameira

Post by Ricardo Lameira » Fri Nov 18, 2016 2:34 pm

Good evening,

I have version 3.3 of opensim, and I also tried to build the example plugin that is in the sdk folder and it's the same.


Thank you

User avatar
Ricardo Lameira
Posts: 17
Joined: Tue Apr 12, 2016 1:43 pm

Re: Ricardo Lameira

Post by Ricardo Lameira » Sat Nov 19, 2016 7:54 am

Hello,


I tried with the 3.2 release of the opensim, but the error keeps ... I don't know how to solve the problem.


Thank you

User avatar
Thomas Uchida
Posts: 1803
Joined: Wed May 16, 2012 11:40 am

Re: Ricardo Lameira

Post by Thomas Uchida » Sat Nov 19, 2016 11:27 pm

A couple troubleshooting ideas:
1. Are you trying to build in Debug mode? If you've installed OpenSim by downloading a distribution from simtk.org, then you can build in only Release or RelWithDebInfo mode.
2. Have you tried building a simple "Hello, World!" program to make sure OpenSim was installed correctly? The issue may be with your installation, not the plugin itself.

User avatar
Ricardo Lameira
Posts: 17
Joined: Tue Apr 12, 2016 1:43 pm

Re: Ricardo Lameira

Post by Ricardo Lameira » Sun Nov 20, 2016 3:49 pm

I tried to build in release mode, as indicated in the instructions. I already tried to build other plugins, and just like the plugin controller the operation was not completed successfully.

User avatar
Ricardo Lameira
Posts: 17
Joined: Tue Apr 12, 2016 1:43 pm

Re: Plugin 2

Post by Ricardo Lameira » Sat Nov 26, 2016 5:46 am

The construction problem can it be because I have windows 10? And in the repository says that it should be 7 or 8 ...https://github.com/opensim-org/opensim- ... ual-studio

POST REPLY