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

Cmake, travis, and others #109

Open
wants to merge 28 commits into
base: master
Choose a base branch
from

Conversation

NikolausDemmel
Copy link
Collaborator

@NikolausDemmel NikolausDemmel commented Nov 20, 2017

This is a mix of changes, mostly concerning the build system.

Travis: Added automatic compile checks on Linux and OSX using Travis.

CMake changes:

  • Includes the commits from Cmake - pkgconfig and installation files #42, which adds generation of pkg-config file, install rules, and option to build shared library instead of static.
  • Building shared library is default, but you can use cmake -DDSO_BUILD_STATIC_LIBRARY=On.
  • Fix the way the default build type Release is set.
  • Update default compile flags, now defaulting to c++14, since there is widespread support (it should still build w/ c++11, if someone wants to use an older compiler).
  • It can now be built with catkin_tools as a cmake package. The according package.xml is included. (Future work: Detect presence of ROS and optionally build as catkin-package).

Readme was updated with respect to install instructions.

Warnings are fixed, both in DSO code and in Sophus code (we should really update to the latest upstream version of Sophus, to get all bug fixes).

The only functional code change is the fix proposed in #89, which also shows up as a build warning (with clang).

Closes #101.

NikolausDemmel and others added 26 commits December 1, 2017 21:21
It seems like you might need a `const` for the first argument of
`std::pair` in `aligned_allocator`, see JakobEngel#111.

Added some `override` statements to Output3DWrapper's derived classes.
- the sse related flags and defines seem to be unused
- dynamic library is now default
- libzip-dev should be fine from apt on 16.04
- hint on camera calibration and 0.5 offset for OpenCV and Kalibr
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

Successfully merging this pull request may close these issues.

Dependency on SuiteSparse
1 participant