Gazebo | Ignition | Community
Ask Your Question

Revision history [back]

What minor version of Gazebo are you running? It looks like World::LightCount was added on Gazebo 7.1.0 and is not on 7.0.0.

On Gazebo 7.0.0, you should be able to use w->Lights().size() instead.