Commit Graph

5273 Commits (cbb84a64360cce71ced04ba0ad5f8224ef746c53)

Author SHA1 Message Date
jlblancoc 6723b481a6 fix missing Eigen in Cython wrapper 2019-02-17 01:02:17 +01:00
José Luis Blanco-Claraco 40d67f49da Merged in jlblancoc/gtsam/more-cmake-modernizations (pull request #379)
A lot of cmake modernizations as well as cleanup some cmake issues/docs.
close issue #425
Approved-by: Chris Beall <chrisbeall@gmail.com>
2019-02-15 21:24:09 +00:00
jlblancoc 7625c21777
Various fixes to cmake exported targets
List of changes:
 * -I boost is no longer required
   (Since the use of Boost::xxx imported targets)
 * fix missing Boost deps in imported gtsam by
   searching for Boost inside GTSAMConfig.cmake
 * Including the dirs for Eigen/MKL/SuiteSparse/Metis
   into exported targets public interface.
 * Fix missing cmake changes in wrap/*
 * Split build flags into private/public, not to
   expose to users flags that may be invasive.
 * Removed now useless include_dirs in "extra cmake"
 * Update cmake/example_project
 * Make cppunitlite to find boost headers via Boost::boost
 * Update README / INSTALL to reflect the updated minimum CMake >= 3.0
2019-02-15 22:04:04 +01:00
Frank Dellaert 37ed46cee1 Added underscore to case conflicts until wrap can handle this. 2019-02-11 10:44:24 -05:00
Frank Dellaert c0686f1f09 Fixed findExampleDataFile issue. Note the wrapped version is not the one that will be available in MATLAB. Still have to test whether we can use that or not. 2019-02-11 10:43:48 -05:00
JOSE LUIS BLANCO CLARACO b81f845f16 Merged in jlblancoc/gtsam (pull request #372)
port to target-based CMake compile options and definitions

Approved-by: Chris Beall <chrisbeall@gmail.com>
2019-01-30 04:05:50 +00:00
Mike Sheffler 5acd89f634 Non-include of <iostream> caused compilation errors related to std::cout usage 2019-01-29 00:28:54 -08:00
dellaert ca9c972028 Wrapping BearingRange 2019-01-25 15:20:54 -05:00
Jose Luis Blanco-Claraco 9ea90b5b45
port to target-based compile options and definitions
This also fixes CMake warnings on Windows
2019-01-24 10:35:26 +01:00
chrisbeall 1aa36b2ea9 Fix testPose2 failure by forcing eval in wedge expression. Always align Pose2. 2019-01-21 23:27:58 -08:00
JOSE LUIS BLANCO CLARACO 5cbb9dfd6c Merged in jlblancoc/gtsam (pull request #368)
slight CMake modernization: BUILD_SHARED_LIBS & TBB

Approved-by: Chris Beall <chrisbeall@gmail.com>
Approved-by: Frank Dellaert <dellaert@cc.gatech.edu>
2019-01-11 00:48:40 +00:00
jlblancoc 2505ef6623
metis: rely on global BUILD_SHARED_LIBS" 2019-01-11 00:31:22 +01:00
Jose Luis Blanco Claraco 0b1791583f
missing GTSAM_BUILD_STATIC_LIBRARY flags 2019-01-11 00:31:21 +01:00
Chris Beall 704f302129 Fix testExpression 2019-01-10 14:06:29 -08:00
Chris Beall d2cedc6c96 attempt to fix alignment error in expression factors 2019-01-10 14:06:29 -08:00
Chris Beall c29090c427 Fix alignment crash in numerical derivative with march=native 2019-01-09 17:03:26 -08:00
Jose Luis Blanco Claraco 87888f7bc3 Imported TBB targets; update gtsam_unstable cmake 2019-01-08 00:44:49 +01:00
Jose Luis Blanco Claraco 8513e4c230 Merge remote-tracking branch 'upstream/develop' into develop 2019-01-07 23:34:45 +01:00
Frank Dellaert eada1ee505 Adding adjoint and adjoint transpose functions 2018-12-31 14:48:22 -05:00
Frank Dellaert 3b3e393817 Add serialization functions that call base classes, to avoid "unregistered void cast" errors (in MATLAB, as flagged by issue #398), as mentioned in http://tb-nguyen.blogspot.com/2009/08/more-on-using-boost-serialization-and.html 2018-12-30 18:37:38 -05:00
Frank Dellaert fe1daec086 Changed include error as in http://boost.2283326.n4.nabble.com/boost-serialization-Serializing-Dynamically-Loaded-Libraries-quot-Unregistered-Void-Cast-quot-td2570981.html 2018-12-30 16:24:19 -05:00
Frank Dellaert 2166dc23fe Added virtual destructors to avoid warnings (on Mac) and fixed some lint warnings. 2018-12-30 13:01:43 -05:00
Frank Dellaert 6d0a76aec9 Got rid of filter because of compile issues on Windows 2018-12-29 15:11:24 -05:00
dellaert 70e2534cc2 Restored assignment 2018-12-22 18:07:22 -05:00
dellaert e2363e90bd Fixed issue with 'count' 2018-12-22 18:07:00 -05:00
Frank Dellaert 94010aee9d Removed redundant (and troublesome on Windows) assignment. 2018-12-22 17:10:25 -05:00
Frank Dellaert 617040f503 count method (better than filter, then size). 2018-12-22 17:09:14 -05:00
Jose Luis Blanco Claraco 88bfbceb21 Use standard BUILD_SHARED_LIBS
Instead of custom GTSAM_BUILD_STATIC_LIBRARY
2018-12-21 13:14:40 +01:00
Chris Beall 63d7d7c54b Attempt to fix GenericValue assignment operator for windows 2018-12-18 10:38:27 -08:00
Frank Dellaert 7b1bd997f4 Fixed comments about order of things in covariance 2018-12-15 14:33:18 -05:00
Nghia Ho ff05eee0ca fix for valgrind invalid read warning 2018-12-13 17:03:31 -08:00
Chris Beall 28a6c39b85 Clean up documentation in Value.h 2018-12-13 14:06:44 -08:00
Chris Beall e550f4f2ae Delete unused DerivedValue.h 2018-12-13 14:06:44 -08:00
chrisbeall 24712f674e Upgrade to Eigen 3.3.7 2018-12-12 09:12:17 -08:00
Chris Beall 0295f1e240 Fix testScenario in quaternion mode 2018-12-11 21:00:43 -08:00
Chris Beall a2f7389518 Upgrade to Eigen 3.3.6 2018-12-11 11:27:31 -08:00
Chris Beall 8c221efda2 Fix build for GTSAM_ALLOW_DEPRECATED_SINCE_V4=OFF 2018-11-27 10:54:14 -08:00
JOSE LUIS BLANCO CLARACO 67d87cb2bd Remove /bigobj flag here (it's already enabled in parent scope)
Already defined here: 0e679b8b97/CMakeLists.txt (lines-334)

This was also causing build errors due to a missing whitespace between cl parameters.
2018-11-27 15:30:29 +00:00
JOSE LUIS BLANCO CLARACO 0e679b8b97 Merged in jlblancoc/gtsam/fix-msvc-pch (pull request #342)
Fix MSVC PCH
2018-11-26 19:01:17 +00:00
Jose Luis Blanco-Claraco b15f50fb8f fix ambiguous function call (MSVC2017) 2018-11-26 10:43:53 +01:00
JOSE LUIS BLANCO CLARACO 5dcd61ba90 Fix PCH in MSVC 2018-11-25 23:51:34 +00:00
Chris Beall 4b2070df2b Fix xml roundtrip serialization crash in boost 1.66-1.68. 2018-11-20 15:02:15 -08:00
Mike Sheffler 6f8bfe0f0a Merged in mikesheffler/gtsam (pull request #338)
Add <boost/serialization/vector.hpp> to fix a whole raft of compilation problems in gtsam_unstable_wrapper.cpp

* Add <boost/serialization/vector.hpp> to fix a whole raft of compilation problems in gtsam_unstable_wrapper.cpp

* Move the addition of the boost vector serialization include

* Moved include again. Frank pointed out that it really belongs in FactorGraph, not VectorValues. My bad.
2018-11-16 20:49:48 +00:00
Frank Dellaert 478c8605c2 Merged in fix/msvc2017 (pull request #332)
Fixed several issues on Windows. Even with this PR merged, I know there are still some problems, especially with doubly linked symbols, but I think this issue is only there for certain targets. I can definitely compile and run some of the examples using this branch, however, whereas before I could not. In addition, it does not affect compilation on Ubuntu or Mac.
2018-11-16 17:15:02 +00:00
cbeall e5cd8c6dae Fix serialization of AttitudeFactor and add roundtrip test 2018-11-15 11:33:52 -08:00
Frank Dellaert 48117d35ff Just making sure Adjoints are correct 2018-11-10 01:18:27 -05:00
Frank Dellaert a014fd2f22 Merge remote-tracking branch 'origin/develop' into fix/msvc2017
# Conflicts:
#	gtsam/geometry/tests/testCameraSet.cpp
#	gtsam/inference/Ordering.h
2018-11-09 12:10:57 -05:00
Frank Dellaert ea953a3d45 Removed old FastVector code. 2018-11-08 22:32:39 -05:00
cbeall 895da61f05 Fix remaining FastVector errors for gcc + tbb + Ubuntu in tests 2018-11-08 16:18:51 -08:00
dellaert 79fe89eaa9 Switched to using c++11 braces-style initialization 2018-11-08 17:26:09 -05:00