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

error: ‘gflags’ has not been declared #38

Open
Yuchy-Zhao opened this issue Nov 27, 2023 · 0 comments
Open

error: ‘gflags’ has not been declared #38

Yuchy-Zhao opened this issue Nov 27, 2023 · 0 comments

Comments

@Yuchy-Zhao
Copy link

I have install gflags by:

sudo apt-get install -y libgoogle-glog-dev libgtest-dev libgflags-dev python3-dev libsqlite3-dev
cd /usr/src/googletest && sudo cmake . && sudo cmake --build . --target install

But still found:
/home/yuchy/Dev/nvblox/nvblox/executables/include/nvblox/gflags_param_loading/fuser_params_from_gflags.h: In function ‘void nvblox::get_multi_mapper_params_from_gflags(float*, nvblox::MappingType*, nvblox::EsdfMode*, nvblox::MultiMapper::Params*)’:
/home/yuchy/Dev/nvblox/nvblox/executables/include/nvblox/gflags_param_loading/fuser_params_from_gflags.h:96:8: error: ‘gflags’ has not been declared
96 | if (!gflags::GetCommandLineFlagInfoOrDie("voxel_size").is_default) {
| ^~~~~~
/home/yuchy/Dev/nvblox/nvblox/executables/include/nvblox/gflags_param_loading/fuser_params_from_gflags.h:102:8: error: ‘gflags’ has not been declared
102 | if (!gflags::GetCommandLineFlagInfoOrDie("mapping_type_static_occupancy")
| ^~~~~~
/home/yuchy/Dev/nvblox/nvblox/executables/include/nvblox/gflags_param_loading/fuser_params_from_gflags.h:110:8: error: ‘gflags’ has not been declared
110 | if (!gflags::GetCommandLineFlagInfoOrDie("mapping_type_dynamic").is_default) {
| ^~~~~~
/home/yuchy/Dev/nvblox/nvblox/executables/include/nvblox/gflags_param_loading/fuser_params_from_gflags.h:119:8: error: ‘gflags’ has not been declared
119 | if (!gflags::GetCommandLineFlagInfoOrDie("use_2d_esdf_mode").is_default) {
| ^~~~~~
/home/yuchy/Dev/nvblox/nvblox/executables/include/nvblox/gflags_param_loading/fuser_params_from_gflags.h:124:8: error: ‘gflags’ has not been declared
124 | if (!gflags::GetCommandLineFlagInfoOrDie("esdf_2d_min_height").is_default) {
| ^~~~~~
/home/yuchy/Dev/nvblox/nvblox/executables/include/nvblox/gflags_param_loading/fuser_params_from_gflags.h:129:8: error: ‘gflags’ has not been declared
129 | if (!gflags::GetCommandLineFlagInfoOrDie("esdf_2d_max_height").is_default) {
| ^~~~~~
/home/yuchy/Dev/nvblox/nvblox/executables/include/nvblox/gflags_param_loading/fuser_params_from_gflags.h:134:8: error: ‘gflags’ has not been declared
134 | if (!gflags::GetCommandLineFlagInfoOrDie("esdf_slice_height").is_default) {
| ^~~~~~
/home/yuchy/Dev/nvblox/nvblox/executables/include/nvblox/gflags_param_loading/fuser_params_from_gflags.h:139:8: error: ‘gflags’ has not been declared
139 | if (!gflags::GetCommandLineFlagInfoOrDie(
| ^~~~~~

It seems that nvblox has not found gflags installed.
Could you help me why this error ocurred?
My system is Ubuntu 20.04 with cuda 11.7

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