Page 1 of 1

Can not build simExtRos plugin

Posted: 27 Jan 2023, 10:32
by pme1976
Hello. I can not build simExtRos plugin. There are many errors like this:

/home/user/install/CoppeliaSim_Edu_V4_4_0_rev0_Ubuntu20_04/programming/libPlugin/simPlusPlus/Lib.cpp: In function ‘int sim::getStackBoolValue(int, bool*)’:
/home/user/install/CoppeliaSim_Edu_V4_4_0_rev0_Ubuntu20_04/programming/libPlugin/simPlusPlus/Lib.cpp:281:49: error: cannot convert ‘bool*’ to ‘simBool*’ {aka ‘unsigned char*’} in argument passing
281 | int ret = simGetStackBoolValue(stackHandle, boolValue);
| ^~~~~~~~~
| |
| bool*

Re: Can not build simExtRos plugin

Posted: 27 Jan 2023, 10:59
by coppelia
Hello,

please use the correct branch, e.g. if you are running CoppeliaSim V4.4, then do:

Code: Select all

git clone -b coppeliasim-v4.4.0-rev0 https://github.com/CoppeliaRobotics/simExtROS
Cheers

Re: Can not build simExtRos plugin

Posted: 27 Jan 2023, 19:16
by pme1976
I try, but the error remains.

Re: Can not build simExtRos plugin

Posted: 28 Jan 2023, 12:59
by coppelia
did you clone following repos in the same way?
  • include
  • common
  • libPlugin
  • (simMath)
Cheers

Re: Can not build simExtRos plugin

Posted: 30 Jan 2023, 07:30
by pme1976
Thank you so much for your help.
I have built the plugin. Most likely I missed one of the steps when building the plugin.