Comments (5)
Comment #1 originally posted by sandwichmaker on 2012-05-02T15:24:55.000Z:
This looks like a gflags/glog related issue. Could you describe your cmake command line please?
from ceres-solver.
Comment #2 originally posted by sandwichmaker on 2012-05-02T17:02:36.000Z:
I ran into the same error (among a couple of other problems). It looks like DECLARE_string is supposed to be defined in glog/logging.h
However, in glog/logging.h the macros are only temporarily defined and they seem to be gflag related (the undef in logging.h is guarded by a MUST_UNDEF_GFLAGS_DECLARE_MACROS macro).
In conclusion, I found that including gflags/gflags.h in the affected files solves the problem.
from ceres-solver.
Comment #3 originally posted by sandwichmaker on 2012-05-02T17:15:05.000Z:
Additionally, it seems that this only happens when glog is compiled without gflags support, as otherwise it includes gflags itself. And this only happens when you do not read the build instructions, as they say that glog needs to be compiled with gflags support... so if Arnaud's problem is a different one, I'm sorry for the noise.
from ceres-solver.
Comment #4 originally posted by sandwichmaker on 2012-05-03T05:12:44.000Z:
Please compile with glog linked with gflags. That should fix this issue.
I am closing this bug for now. If it is still an issue, we will revisit it.
from ceres-solver.
Comment #5 originally posted by sandwichmaker on 2012-05-03T06:17:19.000Z:
Compiling glog linked with gflags fixed the error. Thanks!!
Sorry for the noise...
from ceres-solver.
Related Issues (20)
- cant find_package(Ceres REQUIRED) on macos !!! HOT 8
- The program crashes when executing solve() HOT 3
- Compare ceres with scipy curve_fit HOT 8
- Bazel build fails HOT 1
- Merely including Ceres header file causes LNK2019 error (unresolved external symbol) from MSVC. HOT 4
- How to correctly call the official CUDA module of ceres? HOT 6
- Aborted error in ceres::Solve() HOT 5
- Setting Parameter Weights or Covariance Values HOT 1
- When I execute the cmake, it says add_library cannot create imported target "glog::glog" because another target with the same name already exists. HOT 3
- CHOLMOD print even on silent mode HOT 2
- 2.2.0 online doc typo HOT 2
- Couldn't find CUDA library root HOT 2
- Failed to find Ceres - Missing required Ceres dependency: glog. Searched using GLOG_INCLUDE_DIR_HINTS: /usr/include and glog_DIR: . HOT 2
- Build error, marked "override", but does not override HOT 2
- Boundary interpolation bug HOT 2
- how to optimize the BA with direct method? HOT 2
- 2.2.0: test suite fails in `polynomial_test` unit
- Upgrading CERES v1.14.0 to v2.0.0 - Error when linking CERES v2.0.0 in a C++ project HOT 5
- nvcc fatal : Unknown option '-extended-lambda' HOT 1
- Compilation errors on jetson orin 32GB board HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ceres-solver.