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

2.3.0 is broken: error: <glog/logging.h> was not included correctly. See the documention for how to consume the library. #1139

Open
yurivict opened this issue May 27, 2024 · 0 comments

Comments

@yurivict
Copy link

Describe the bug
Build breaks:

In file included from /usr/ports/graphics/openmvs/work/openMVS-2.3.0/libs/MVS/SceneRefine.cpp:1219:
In file included from /usr/local/include/ceres/ceres.h:38:
In file included from /usr/local/include/ceres/autodiff_cost_function.h:130:
In file included from /usr/local/include/ceres/internal/autodiff.h:147:
In file included from /usr/local/include/ceres/internal/array_selector.h:38:
In file included from /usr/local/include/ceres/internal/fixed_array.h:42:
/usr/local/include/glog/logging.h:60:4: error: <glog/logging.h> was not included correctly. See the documention for how to consume the library.
   60 | #  error <glog/logging.h> was not included correctly. See the documention for how to consume the library.
      |    ^
In file included from /usr/ports/graphics/openmvs/work/openMVS-2.3.0/libs/MVS/SceneRefine.cpp:1219:
In file included from /usr/local/include/ceres/ceres.h:38:
In file included from /usr/local/include/ceres/autodiff_cost_function.h:130:
In file included from /usr/local/include/ceres/internal/autodiff.h:147:
In file included from /usr/local/include/ceres/internal/array_selector.h:38:
In file included from /usr/local/include/ceres/internal/fixed_array.h:42:
In file included from /usr/local/include/glog/logging.h:63:
/usr/local/include/glog/flags.h:45:4: error: <glog/flags.h> was not included correctly. See the documention for how to consume the library.
   45 | #  error <glog/flags.h> was not included correctly. See the documention for how to consume the library.
      |    ^
/usr/local/include/glog/flags.h:105:1: error: unknown type name 'GLOG_EXPORT'
  105 | DECLARE_int32(logemaillevel);
      | ^

Desktop (please complete the following information):

  • OS: FreeBSD 14.0
  • Version 2.3.0

glog-0.7.0

@yurivict yurivict changed the title 2.3.0 is broken: https://github.com/cdcseacave/openMVS/issues/1138 2.3.0 is broken: error: <glog/logging.h> was not included correctly. See the documention for how to consume the library. May 27, 2024
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