I started from scratch in a fresh workspace. Getting new errors on build now:
Code: Select all
Errors << sim_ros_interface:make /home/andrew/ROS/cs_ws/logs/sim_ros_interface/build.make.001.log
/home/andrew/CoppeliaSim_Edu_V4_0_0_Ubuntu18_04/programming/libPlugin/simPlusPlus/Plugin.cpp: In member function ‘void sim::Plugin::setExtVersion(const string&)’:
/home/andrew/CoppeliaSim_Edu_V4_0_0_Ubuntu18_04/programming/libPlugin/simPlusPlus/Plugin.cpp:22:41: error: ‘sim_moduleinfo_extversionstr’ was not declared in this scope
simSetModuleInfo(name_.c_str(), sim_moduleinfo_extversionstr, s.c_str(), 0);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/andrew/CoppeliaSim_Edu_V4_0_0_Ubuntu18_04/programming/libPlugin/simPlusPlus/Plugin.cpp: In member function ‘void sim::Plugin::setExtVersion(int)’:
/home/andrew/CoppeliaSim_Edu_V4_0_0_Ubuntu18_04/programming/libPlugin/simPlusPlus/Plugin.cpp:27:41: error: ‘sim_moduleinfo_extversionint’ was not declared in this scope
simSetModuleInfo(name_.c_str(), sim_moduleinfo_extversionint, 0, i);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/andrew/CoppeliaSim_Edu_V4_0_0_Ubuntu18_04/programming/libPlugin/simPlusPlus/Plugin.cpp:27:41: note: suggested alternative: ‘sim_drawing_persistent’
simSetModuleInfo(name_.c_str(), sim_moduleinfo_extversionint, 0, i);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
sim_drawing_persistent
/home/andrew/CoppeliaSim_Edu_V4_0_0_Ubuntu18_04/programming/libPlugin/simPlusPlus/Plugin.cpp: In member function ‘void sim::Plugin::setBuildDate(const string&)’:
/home/andrew/CoppeliaSim_Edu_V4_0_0_Ubuntu18_04/programming/libPlugin/simPlusPlus/Plugin.cpp:32:41: error: ‘sim_moduleinfo_builddatestr’ was not declared in this scope
simSetModuleInfo(name_.c_str(), sim_moduleinfo_builddatestr, s.c_str(), 0);
^~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/andrew/CoppeliaSim_Edu_V4_0_0_Ubuntu18_04/programming/libPlugin/simPlusPlus/Plugin.cpp: In member function ‘void sim::Plugin::setVerbosity(int)’:
/home/andrew/CoppeliaSim_Edu_V4_0_0_Ubuntu18_04/programming/libPlugin/simPlusPlus/Plugin.cpp:37:41: error: ‘sim_moduleinfo_verbosity’ was not declared in this scope
simSetModuleInfo(name_.c_str(), sim_moduleinfo_verbosity, 0, i);
^~~~~~~~~~~~~~~~~~~~~~~~
/home/andrew/CoppeliaSim_Edu_V4_0_0_Ubuntu18_04/programming/libPlugin/simPlusPlus/Plugin.cpp: In member function ‘int sim::Plugin::getVerbosity()’:
/home/andrew/CoppeliaSim_Edu_V4_0_0_Ubuntu18_04/programming/libPlugin/simPlusPlus/Plugin.cpp:42:17: error: ‘sim_verbosity_default’ was not declared in this scope
int v = sim_verbosity_default;
^~~~~~~~~~~~~~~~~~~~~
/home/andrew/CoppeliaSim_Edu_V4_0_0_Ubuntu18_04/programming/libPlugin/simPlusPlus/Plugin.cpp:42:17: note: suggested alternative: ‘sim_dynmat_default’
int v = sim_verbosity_default;
^~~~~~~~~~~~~~~~~~~~~
sim_dynmat_default
/home/andrew/CoppeliaSim_Edu_V4_0_0_Ubuntu18_04/programming/libPlugin/simPlusPlus/Plugin.cpp:43:41: error: ‘sim_moduleinfo_verbosity’ was not declared in this scope
simGetModuleInfo(name_.c_str(), sim_moduleinfo_verbosity, nullptr, &v);
^~~~~~~~~~~~~~~~~~~~~~~~
/home/andrew/CoppeliaSim_Edu_V4_0_0_Ubuntu18_04/programming/libPlugin/simPlusPlus/Plugin.cpp: In member function ‘virtual void* sim::Plugin::loadSimLibrary()’:
/home/andrew/CoppeliaSim_Edu_V4_0_0_Ubuntu18_04/programming/libPlugin/simPlusPlus/Plugin.cpp:612:15: warning: ignoring return value of ‘char* getcwd(char*, size_t)’, declared with attribute warn_unused_result [-Wunused-result]
getcwd(curDirAndFile, sizeof(curDirAndFile));
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
make[2]: *** [CMakeFiles/simExtROSInterface.dir/home/andrew/CoppeliaSim_Edu_V4_0_0_Ubuntu18_04/programming/libPlugin/simPlusPlus/Plugin.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
In file included from /home/andrew/ROS/cs_ws/build/sim_ros_interface/generated/stubs.cpp:1:0:
/home/andrew/ROS/cs_ws/build/sim_ros_interface/generated/stubs.h:43:46: error: ‘sim_verbosity_trace’ was not declared in this scope
FuncTracer(const std::string &f, int l = sim_verbosity_trace);
^~~~~~~~~~~~~~~~~~~
/home/andrew/ROS/cs_ws/build/sim_ros_interface/generated/stubs.cpp: In function ‘void log(int, const string&)’:
/home/andrew/ROS/cs_ws/build/sim_ros_interface/generated/stubs.cpp:44:5: error: ‘simAddLog’ was not declared in this scope
simAddLog("ROSInterface", v, msg.c_str());
^~~~~~~~~
/home/andrew/ROS/cs_ws/build/sim_ros_interface/generated/stubs.cpp:44:5: note: suggested alternative: ‘simAddGhost’
simAddLog("ROSInterface", v, msg.c_str());
^~~~~~~~~
simAddGhost
/home/andrew/ROS/cs_ws/build/sim_ros_interface/generated/stubs.cpp: In function ‘simInt simRegisterScriptCallbackFunctionE(const simChar*, const simChar*, simVoid (*)(SScriptCallBack*))’:
/home/andrew/ROS/cs_ws/build/sim_ros_interface/generated/stubs.cpp:102:13: error: ‘sim_verbosity_warnings’ was not declared in this scope
log(sim_verbosity_warnings, boost::format("warning: replaced function '%s'") % funcNameAtPluginName);
^~~~~~~~~~~~~~~~~~~~~~
/home/andrew/ROS/cs_ws/build/sim_ros_interface/generated/stubs.cpp:102:13: note: suggested alternative: ‘sim_msgbox_type_warning’
log(sim_verbosity_warnings, boost::format("warning: replaced function '%s'") % funcNameAtPluginName);
^~~~~~~~~~~~~~~~~~~~~~
sim_msgbox_type_warning
/home/andrew/ROS/cs_ws/build/sim_ros_interface/generated/stubs.cpp: In function ‘simInt simRegisterScriptVariableE(const simChar*, const simChar*, simInt)’:
/home/andrew/ROS/cs_ws/build/sim_ros_interface/generated/stubs.cpp:114:13: error: ‘sim_verbosity_warnings’ was not declared in this scope
log(sim_verbosity_warnings, boost::format("warning: replaced variable '%s'") % varName);
^~~~~~~~~~~~~~~~~~~~~~
/home/andrew/ROS/cs_ws/build/sim_ros_interface/generated/stubs.cpp:114:13: note: suggested alternative: ‘sim_msgbox_type_warning’
log(sim_verbosity_warnings, boost::format("warning: replaced variable '%s'") % varName);
^~~~~~~~~~~~~~~~~~~~~~
sim_msgbox_type_warning
/home/andrew/ROS/cs_ws/build/sim_ros_interface/generated/stubs.cpp: In function ‘bool registerScriptStuff()’:
/home/andrew/ROS/cs_ws/build/sim_ros_interface/generated/stubs.cpp:846:13: error: ‘sim_verbosity_errors’ was not declared in this scope
log(sim_verbosity_errors, ex.what());
^~~~~~~~~~~~~~~~~~~~
/home/andrew/ROS/cs_ws/build/sim_ros_interface/generated/stubs.cpp:846:13: note: suggested alternative: ‘simx_error_noerror’
log(sim_verbosity_errors, ex.what());
^~~~~~~~~~~~~~~~~~~~
simx_error_noerror
In file included from /home/andrew/ROS/cs_ws/src/sim_ros_interface/src/ros_msg_builtin_io.cpp:4:0:
/home/andrew/ROS/cs_ws/build/sim_ros_interface/generated/stubs.h:43:46: error: ‘sim_verbosity_trace’ was not declared in this scope
FuncTracer(const std::string &f, int l = sim_verbosity_trace);
^~~~~~~~~~~~~~~~~~~
make[2]: *** [CMakeFiles/simExtROSInterface.dir/generated/stubs.cpp.o] Error 1
In file included from /home/andrew/ROS/cs_ws/src/sim_ros_interface/include/sim_ros_interface.h:75:0,
from /home/andrew/ROS/cs_ws/build/sim_ros_interface/generated/ros_msg_io.h:5,
from /home/andrew/ROS/cs_ws/build/sim_ros_interface/generated/ros_srv_io.cpp:1:
/home/andrew/ROS/cs_ws/build/sim_ros_interface/generated/stubs.h:43:46: error: ‘sim_verbosity_trace’ was not declared in this scope
FuncTracer(const std::string &f, int l = sim_verbosity_trace);
^~~~~~~~~~~~~~~~~~~
In file included from /home/andrew/ROS/cs_ws/src/sim_ros_interface/include/sim_ros_interface.h:75:0,
from /home/andrew/ROS/cs_ws/build/sim_ros_interface/generated/ros_msg_io.h:5,
from /home/andrew/ROS/cs_ws/build/sim_ros_interface/generated/ros_msg_io.cpp:1:
/home/andrew/ROS/cs_ws/build/sim_ros_interface/generated/stubs.h:43:46: error: ‘sim_verbosity_trace’ was not declared in this scope
FuncTracer(const std::string &f, int l = sim_verbosity_trace);
^~~~~~~~~~~~~~~~~~~
make[2]: *** [CMakeFiles/simExtROSInterface.dir/src/ros_msg_builtin_io.cpp.o] Error 1
make[2]: *** [CMakeFiles/simExtROSInterface.dir/generated/ros_srv_io.cpp.o] Error 1
In file included from /home/andrew/ROS/cs_ws/src/sim_ros_interface/include/sim_ros_interface.h:75:0,
from /home/andrew/ROS/cs_ws/src/sim_ros_interface/src/sim_ros_interface.cpp:1:
/home/andrew/ROS/cs_ws/build/sim_ros_interface/generated/stubs.h:43:46: error: ‘sim_verbosity_trace’ was not declared in this scope
FuncTracer(const std::string &f, int l = sim_verbosity_trace);
^~~~~~~~~~~~~~~~~~~
make[2]: *** [CMakeFiles/simExtROSInterface.dir/generated/ros_msg_io.cpp.o] Error 1
In file included from /home/andrew/ROS/cs_ws/src/sim_ros_interface/src/sim_ros_interface.cpp:2:0:
/home/andrew/ROS/cs_ws/src/sim_ros_interface/src/sim_ros_interface.cpp: In function ‘unsigned char simStart(void*, int)’:
/home/andrew/CoppeliaSim_Edu_V4_0_0_Ubuntu18_04/programming/libPlugin/simPlusPlus/Plugin.h:147:31: error: ‘sim_verbosity_errors’ was not declared in this scope
simAddLog(pluginName, sim_verbosity_errors, ex.what()); \
^
/home/andrew/CoppeliaSim_Edu_V4_0_0_Ubuntu18_04/programming/libPlugin/simPlusPlus/Plugin.h:147:31: note: in definition of macro ‘SIM_PLUGIN’
simAddLog(pluginName, sim_verbosity_errors, ex.what()); \
^~~~~~~~~~~~~~~~~~~~
/home/andrew/CoppeliaSim_Edu_V4_0_0_Ubuntu18_04/programming/libPlugin/simPlusPlus/Plugin.h:147:31: note: suggested alternative: ‘simx_error_noerror’
simAddLog(pluginName, sim_verbosity_errors, ex.what()); \
^
/home/andrew/CoppeliaSim_Edu_V4_0_0_Ubuntu18_04/programming/libPlugin/simPlusPlus/Plugin.h:147:31: note: in definition of macro ‘SIM_PLUGIN’
simAddLog(pluginName, sim_verbosity_errors, ex.what()); \
^~~~~~~~~~~~~~~~~~~~
/home/andrew/CoppeliaSim_Edu_V4_0_0_Ubuntu18_04/programming/libPlugin/simPlusPlus/Plugin.h:147:9: error: ‘simAddLog’ was not declared in this scope
simAddLog(pluginName, sim_verbosity_errors, ex.what()); \
^
/home/andrew/CoppeliaSim_Edu_V4_0_0_Ubuntu18_04/programming/libPlugin/simPlusPlus/Plugin.h:147:9: note: in definition of macro ‘SIM_PLUGIN’
simAddLog(pluginName, sim_verbosity_errors, ex.what()); \
^~~~~~~~~
/home/andrew/CoppeliaSim_Edu_V4_0_0_Ubuntu18_04/programming/libPlugin/simPlusPlus/Plugin.h:147:9: note: suggested alternative: ‘simAddGhost’
simAddLog(pluginName, sim_verbosity_errors, ex.what()); \
^
/home/andrew/CoppeliaSim_Edu_V4_0_0_Ubuntu18_04/programming/libPlugin/simPlusPlus/Plugin.h:147:9: note: in definition of macro ‘SIM_PLUGIN’
simAddLog(pluginName, sim_verbosity_errors, ex.what()); \
^~~~~~~~~
/home/andrew/ROS/cs_ws/src/sim_ros_interface/src/sim_ros_interface.cpp: In function ‘void simEnd()’:
/home/andrew/CoppeliaSim_Edu_V4_0_0_Ubuntu18_04/programming/libPlugin/simPlusPlus/Plugin.h:164:31: error: ‘sim_verbosity_errors’ was not declared in this scope
simAddLog(pluginName, sim_verbosity_errors, ex.what()); \
^
/home/andrew/CoppeliaSim_Edu_V4_0_0_Ubuntu18_04/programming/libPlugin/simPlusPlus/Plugin.h:164:31: note: in definition of macro ‘SIM_PLUGIN’
simAddLog(pluginName, sim_verbosity_errors, ex.what()); \
^~~~~~~~~~~~~~~~~~~~
/home/andrew/CoppeliaSim_Edu_V4_0_0_Ubuntu18_04/programming/libPlugin/simPlusPlus/Plugin.h:164:31: note: suggested alternative: ‘simx_error_noerror’
simAddLog(pluginName, sim_verbosity_errors, ex.what()); \
^
/home/andrew/CoppeliaSim_Edu_V4_0_0_Ubuntu18_04/programming/libPlugin/simPlusPlus/Plugin.h:164:31: note: in definition of macro ‘SIM_PLUGIN’
simAddLog(pluginName, sim_verbosity_errors, ex.what()); \
^~~~~~~~~~~~~~~~~~~~
/home/andrew/CoppeliaSim_Edu_V4_0_0_Ubuntu18_04/programming/libPlugin/simPlusPlus/Plugin.h:164:9: error: ‘simAddLog’ was not declared in this scope
simAddLog(pluginName, sim_verbosity_errors, ex.what()); \
^
/home/andrew/CoppeliaSim_Edu_V4_0_0_Ubuntu18_04/programming/libPlugin/simPlusPlus/Plugin.h:164:9: note: in definition of macro ‘SIM_PLUGIN’
simAddLog(pluginName, sim_verbosity_errors, ex.what()); \
^~~~~~~~~
/home/andrew/CoppeliaSim_Edu_V4_0_0_Ubuntu18_04/programming/libPlugin/simPlusPlus/Plugin.h:164:9: note: suggested alternative: ‘simAddGhost’
simAddLog(pluginName, sim_verbosity_errors, ex.what()); \
^
/home/andrew/CoppeliaSim_Edu_V4_0_0_Ubuntu18_04/programming/libPlugin/simPlusPlus/Plugin.h:164:9: note: in definition of macro ‘SIM_PLUGIN’
simAddLog(pluginName, sim_verbosity_errors, ex.what()); \
^~~~~~~~~
/home/andrew/ROS/cs_ws/src/sim_ros_interface/src/sim_ros_interface.cpp: In function ‘void* simMessage(int, int*, void*, int*)’:
/home/andrew/CoppeliaSim_Edu_V4_0_0_Ubuntu18_04/programming/libPlugin/simPlusPlus/Plugin.h:179:31: error: ‘sim_verbosity_errors’ was not declared in this scope
simAddLog(pluginName, sim_verbosity_errors, ex.what()); \
^
/home/andrew/CoppeliaSim_Edu_V4_0_0_Ubuntu18_04/programming/libPlugin/simPlusPlus/Plugin.h:179:31: note: in definition of macro ‘SIM_PLUGIN’
simAddLog(pluginName, sim_verbosity_errors, ex.what()); \
^~~~~~~~~~~~~~~~~~~~
/home/andrew/CoppeliaSim_Edu_V4_0_0_Ubuntu18_04/programming/libPlugin/simPlusPlus/Plugin.h:179:31: note: suggested alternative: ‘simx_error_noerror’
simAddLog(pluginName, sim_verbosity_errors, ex.what()); \
^
/home/andrew/CoppeliaSim_Edu_V4_0_0_Ubuntu18_04/programming/libPlugin/simPlusPlus/Plugin.h:179:31: note: in definition of macro ‘SIM_PLUGIN’
simAddLog(pluginName, sim_verbosity_errors, ex.what()); \
^~~~~~~~~~~~~~~~~~~~
/home/andrew/CoppeliaSim_Edu_V4_0_0_Ubuntu18_04/programming/libPlugin/simPlusPlus/Plugin.h:179:9: error: ‘simAddLog’ was not declared in this scope
simAddLog(pluginName, sim_verbosity_errors, ex.what()); \
^
/home/andrew/CoppeliaSim_Edu_V4_0_0_Ubuntu18_04/programming/libPlugin/simPlusPlus/Plugin.h:179:9: note: in definition of macro ‘SIM_PLUGIN’
simAddLog(pluginName, sim_verbosity_errors, ex.what()); \
^~~~~~~~~
/home/andrew/CoppeliaSim_Edu_V4_0_0_Ubuntu18_04/programming/libPlugin/simPlusPlus/Plugin.h:179:9: note: suggested alternative: ‘simAddGhost’
simAddLog(pluginName, sim_verbosity_errors, ex.what()); \
^
/home/andrew/CoppeliaSim_Edu_V4_0_0_Ubuntu18_04/programming/libPlugin/simPlusPlus/Plugin.h:179:9: note: in definition of macro ‘SIM_PLUGIN’
simAddLog(pluginName, sim_verbosity_errors, ex.what()); \
^~~~~~~~~
make[2]: *** [CMakeFiles/simExtROSInterface.dir/src/sim_ros_interface.cpp.o] Error 1
make[1]: *** [CMakeFiles/simExtROSInterface.dir/all] Error 2
make: *** [all] Error 2
cd /home/andrew/ROS/cs_ws/build/sim_ros_interface; catkin build --get-env sim_ros_interface | catkin env -si /usr/bin/make --jobserver-fds=6,7 -j; cd -