Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

compilation error with dynamic reconfigure #7

Open
fevb opened this issue Jan 31, 2015 · 1 comment
Open

compilation error with dynamic reconfigure #7

fevb opened this issue Jan 31, 2015 · 1 comment

Comments

@fevb
Copy link

fevb commented Jan 31, 2015

Hi,

When trying to compile a node which includes BFL and a generated dynamic reconfigure header file, the compilation gives the following error in the generated dynamic reconfig header file:

... error: expected identifier before numeric constant
... error: expected unqualified-id before numeric constant
... error: expected } at end of input
...

This can be verified by compiling an empty executable with the following includes:

#include <ros/ros.h> 
#include <bfl/filter/extendedkalmanfilter.h> 
#include <dynamic_reconfigure/server.h>
// Dynamic reconfig header:
#include <package/ParamConfig.h>

I am running hydro. I can put up a small example with a node if necessary.

@fevb
Copy link
Author

fevb commented Feb 1, 2015

Quick update, if one switches the order of the include declarations (dynamic reconfigure headers first, then BFL) then the compiler does not give any errors:

#include <ros/ros.h> 
#include <dynamic_reconfigure/server.h>
// Dynamic reconfig header:
#include <package/ParamConfig.h>
#include <bfl/filter/extendedkalmanfilter.h> 

@fevb fevb closed this as completed Nov 8, 2017
@fevb fevb reopened this Nov 8, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant