Comments (4)
It looks like you are using Ceres Solver 2.1.0. Does the problem actually occur in 2.2.0?
from ceres-solver.
Hi, I was able to replicate the error on 2.2.0 and the latest master as well.
[3/4] C:\msys64\ucrt64\bin\c++.exe -DEIGEN_MPL2_ONLY -DGFLAGS_IS_A_DLL=1 -DGLOG_CUSTOM_PREFIX_SUPPORT -DGLOG_NO_ABBREVIATED_SEVERITIES -DNOMINMAX -Dceres_EXPORTS -IC:/Users/Chris/ceres-solver/include -IC:/Users/Chris/ceres-solver/internal -IC:/Users/Chris/ceres-solver/bin/include -IC:/msys64/ucrt64/include/eigen3 -g -fvisibility=hidden -fno-keep-inline-dllexport -MD -MT internal/ceres/CMakeFiles/ceres_internal.dir/covariance_impl.cc.obj -MF internal\ceres\CMakeFiles\ceres_internal.dir\covariance_impl.cc.obj.d -o internal/ceres/CMakeFiles/ceres_internal.dir/covariance_impl.cc.obj -c C:/Users/Chris/ceres-solver/internal/ceres/covariance_impl.cc
FAILED: internal/ceres/CMakeFiles/ceres_internal.dir/covariance_impl.cc.obj
C:\msys64\ucrt64\bin\c++.exe -DEIGEN_MPL2_ONLY -DGFLAGS_IS_A_DLL=1 -DGLOG_CUSTOM_PREFIX_SUPPORT -DGLOG_NO_ABBREVIATED_SEVERITIES -DNOMINMAX -Dceres_EXPORTS -IC:/Users/Chris/ceres-solver/include -IC:/Users/Chris/ceres-solver/internal -IC:/Users/Chris/ceres-solver/bin/include -IC:/msys64/ucrt64/include/eigen3 -g -fvisibility=hidden -fno-keep-inline-dllexport -MD -MT internal/ceres/CMakeFiles/ceres_internal.dir/covariance_impl.cc.obj -MF internal\ceres\CMakeFiles\ceres_internal.dir\covariance_impl.cc.obj.d -o internal/ceres/CMakeFiles/ceres_internal.dir/covariance_impl.cc.obj -c C:/Users/Chris/ceres-solver/internal/ceres/covariance_impl.cc
C:/msys64/ucrt64/bin/../lib/gcc/x86_64-w64-mingw32/13.1.0/../../../../x86_64-w64-mingw32/bin/as.exe: internal/ceres/CMakeFiles/ceres_internal.dir/covariance_impl.cc.obj: too many sections (73340)
C:\msys64\tmp\ccvkUfJv.s: Assembler messages:
C:\msys64\tmp\ccvkUfJv.s: Fatal error: can't write 37 bytes to section .text of internal/ceres/CMakeFiles/ceres_internal.dir/covariance_impl.cc.obj: 'file too big'
C:/msys64/ucrt64/bin/../lib/gcc/x86_64-w64-mingw32/13.1.0/../../../../x86_64-w64-mingw32/bin/as.exe: internal/ceres/CMakeFiles/ceres_internal.dir/covariance_impl.cc.obj: too many sections (73340)
C:\msys64\tmp\ccvkUfJv.s: Fatal error: internal/ceres/CMakeFiles/ceres_internal.dir/covariance_impl.cc.obj: file too big
ninja: build stopped: subcommand failed.
from ceres-solver.
We have this patch in conan recipe of ceres-solver 2.1.0 but it would be pretty similar for 2.2.0: https://github.com/conan-io/conan-center-index/blob/d513925b315f7dfed4a189ba2ff8dd923e306bc8/recipes/ceres-solver/all/patches/2.1.0-0002-fix-mingw-build.patch
from ceres-solver.
@sergiud I think you fixed this right?
from ceres-solver.
Related Issues (20)
- Github actions fails due to googletest submodule is not checked out. HOT 4
- Do not reset cuDSS context in case of numeric factorization failure
- Error:make: *** No targets specified and no makefile found. Stop. HOT 1
- Building ceres with BUILD_TESTING=OFF and BUILD_BENCHMARKS=ON HOT 2
- The ceres solver can't be installed on my Ubuntu 24.04 LTS system HOT 3
- BUILD_SHARED_LIBS=ON is broken HOT 12
- How to use CUDA_SPARSE in 2.2.0 just a simple demo code ? HOT 16
- Add CI for the Bazel Build HOT 7
- Update documentation for the bazel build HOT 1
- Update build & installation documentation
- Example code doesn't work HOT 15
- cmake error when building packages with ceres due to absl HOT 25
- VLOG(3) in ceres does not work HOT 12
- Add absl/log/vlog_is_on.h as an explicit included header HOT 1
- Change GradientProblem related APIs to use std::unique_ptr HOT 1
- Will the pointer be automatically deleted by Ceres HOT 2
- undefined reference to `ceres::Problem::AddResidualBlock(ceres::CostFunction*, ceres::LossFunction*, double*)' HOT 3
- Session hang compiling ceres file HOT 7
- "libceres.a(problem.cc.o) is referenced by DSO" HOT 8
- tests FAILED when I make test HOT 3
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.