Search found 37 matches

by Smitty44
23 Mar 2020, 18:24
Forum: General questions
Topic: During build: ...sim_ros_interface\generated\pub.cpp(728): fatal error C1061: compiler limit: blocks nested too deeply
Replies: 5
Views: 1765

Re: During build: ...sim_ros_interface\generated\pub.cpp(728): fatal error C1061: compiler limit: blocks nested too deep

Oh ok. I haven't tried the ROS forums or bugtracker yet.
Thank you for the heads up!
And thank you for the quick responses.
by Smitty44
23 Mar 2020, 17:21
Forum: General questions
Topic: During build: ...sim_ros_interface\generated\pub.cpp(728): fatal error C1061: compiler limit: blocks nested too deeply
Replies: 5
Views: 1765

Re: During build: ...sim_ros_interface\generated\pub.cpp(728): fatal error C1061: compiler limit: blocks nested too deep

Thank you for your response. This nesting limit on Windows, was the focus of why I couldn't get the compile of simExtROSInterface to actually work. I wasn't sure what to change in the template. It was a little beyond my coding skills. So, my fix was to actually alter the "if else" statemen...
by Smitty44
21 Mar 2020, 20:44
Forum: General questions
Topic: During build: ...sim_ros_interface\generated\pub.cpp(728): fatal error C1061: compiler limit: blocks nested too deeply
Replies: 5
Views: 1765

Re: During build: ...sim_ros_interface\generated\pub.cpp(728): fatal error C1061: compiler limit: blocks nested too deep

Ok, it took some poking around but I think sub.cpp , pub.cpp and adv.cpp get called in ...myworkspace\src\sim_ros_interface\src\ sim_ros_interface.cpp . (lines 86, 134, and 184) So, would it be possible for me to break each one of those files into two? Say, sub1.cpp and sub2.cpp . Then, change the i...
by Smitty44
21 Mar 2020, 16:27
Forum: General questions
Topic: During build: ...sim_ros_interface\generated\pub.cpp(728): fatal error C1061: compiler limit: blocks nested too deeply
Replies: 5
Views: 1765

During build: ...sim_ros_interface\generated\pub.cpp(728): fatal error C1061: compiler limit: blocks nested too deeply

Hi there. While compiling the sim_ros_interface for Windows , I received the C1061: compiler limit exceeded error for nested blocks. Since that code is generated for us, does anyone have any idea what I can do to get past this? Those files are composed of just nested ELSE IF statements like the foll...
by Smitty44
20 Mar 2020, 19:57
Forum: General questions
Topic: Has anyone received Lua runtime error in simROS.Publish during ROS1 tutorial
Replies: 9
Views: 3331

Re: Has anyone received Lua runtime error in simROS.Publish during ROS1 tutorial

And I had another error during catkin_make_isolated. ... ==> Processing catkin package: 'sim_ros_interface' ==> Building with env: 'C:\opt\ros\melodic\x64\max_ws\devel_isolated\ros_bubble_rob\env.bat' Makefile exists, skipping explicit cmake invocation... ==> nmake cmake_check_build_system in 'C:\op...
by Smitty44
20 Mar 2020, 16:37
Forum: General questions
Topic: Has anyone received Lua runtime error in simROS.Publish during ROS1 tutorial
Replies: 9
Views: 3331

Re: Has anyone received Lua runtime error in simROS.Publish during ROS1 tutorial

Also, I added system variable QT_QPA_PLATFORM_PLUGIN_PATH to point to CoppeliaSimEdu\platforms directory.
And I was able to open another terminal, source ROS, then move to CoppeliaSimEdu directory and successfully start the sim (coppeliaSim.exe).
by Smitty44
20 Mar 2020, 15:23
Forum: General questions
Topic: Has anyone received Lua runtime error in simROS.Publish during ROS1 tutorial
Replies: 9
Views: 3331

Re: Has anyone received Lua runtime error in simROS.Publish during ROS1 tutorial

Messages like this: ... Scanning dependencies of target sim_ros_interface__setup_util.py_exec_install_python [ 4%] Building CXX object CMakeFiles/sim_ros_interface__setup_util.py_exec_install_python.dir/catkin_generated/add_python_executable/sim_ros_interface__setup_util.py_exec_install_python/_setu...
by Smitty44
20 Mar 2020, 13:18
Forum: General questions
Topic: Has anyone received Lua runtime error in simROS.Publish during ROS1 tutorial
Replies: 9
Views: 3331

Re: Has anyone received Lua runtime error in simROS.Publish during ROS1 tutorial

Hi there. Thank you for responding. I changed the CXX compiler parameter back to W3 from W4. I had posted earlier about compiling the interface on windows here: https://forum.coppeliarobotics.com/viewtopic.php?f=9&t=8370 I actually thought I might have gotten it to work. I was going through the ...
by Smitty44
19 Mar 2020, 16:54
Forum: General questions
Topic: Has anyone run into this: ...src\sim_ros_interface.cpp(510): error C2466: cannot allocate an array of constant size 0
Replies: 4
Views: 1111

Re: Has anyone run into this: ...src\sim_ros_interface.cpp(510): error C2466: cannot allocate an array of constant size

Thanks for the quick reply. I changed char *argv[] = {}; to char *argv = nullptr; tried to compile again... ...src\sim_ros_interface.cpp(518): error C2665: 'ros::init': none of the 3 overloads could convert all the argument types C:\opt\ros\melodic\x64\include\ros/init.h(103): note: could be 'void r...