Can not build simExtRos plugin

Typically: "How do I... ", "How can I... " questions
Post Reply
pme1976
Posts: 19
Joined: 07 Feb 2018, 18:06

Can not build simExtRos plugin

Post 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*

coppelia
Site Admin
Posts: 10336
Joined: 14 Dec 2012, 00:25

Re: Can not build simExtRos plugin

Post 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

pme1976
Posts: 19
Joined: 07 Feb 2018, 18:06

Re: Can not build simExtRos plugin

Post by pme1976 »

I try, but the error remains.

coppelia
Site Admin
Posts: 10336
Joined: 14 Dec 2012, 00:25

Re: Can not build simExtRos plugin

Post by coppelia »

did you clone following repos in the same way?
  • include
  • common
  • libPlugin
  • (simMath)
Cheers

pme1976
Posts: 19
Joined: 07 Feb 2018, 18:06

Re: Can not build simExtRos plugin

Post 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.

Post Reply