orocos / orocos-bayesian-filtering

The orocos Bayesian Filtering Library
148 stars 59 forks source link

‘SampleMthd’ is not a class or namespace #54

Closed UyaSong closed 3 years ago

UyaSong commented 3 years ago

Hi, I want to use orocos-bfl instead of ros-kinetic-bfl in my ROS1 project. But when compiling, it comes out with the error: ‘SampleMthd’ is not a class or namespace. However, I didn't meet this problem when using ros-kinetic-bfl. It's quite conflicting to me. Any solution or idea would be grateful.

toeklk commented 3 years ago

Not relevant anymore?

UyaSong commented 3 years ago

Well, it's my mistake, the scoped enumeration needs to add compiler option -std=c++11. In ros-kinetic-bfl the ‘SampleMthd’ is unscoped enumeration.