Package Details: gtsam 4.2.0-2

Git Clone URL: (read-only, click to copy)
Package Base: gtsam
Description: A library of C++ classes that implement smoothing and mapping (SAM) in robotics and vision, using factor graphs and Bayes networks as the underlying computing paradigm rather than sparse matrices.
Upstream URL:
Licenses: BSD
Conflicts: gtsam-git, gtsam-mkl
Provides: gtsam
Submitter: kartikmohta
Maintainer: kartikmohta
Last Packager: kartikmohta
Votes: 2
Popularity: 0.000048
First Submitted: 2013-12-06 18:38 (UTC)
Last Updated: 2023-09-11 03:04 (UTC)

Dependencies (5)

Sources (1)

Latest Comments

1 2 3 Next › Last »

calcmogul commented on 2023-09-10 02:27 (UTC)

It would be nice to have the patch I mentioned before applied, so I don't have to keep modifying the PKGBUILD. The suggested changes are also shown in the Arch Linux CMake package guidelines:

calcmogul commented on 2022-11-20 18:02 (UTC)

I had to apply the following patch to make this package build if the default generator is something other than make (e.g., ninja).

diff --git a/PKGBUILD b/PKGBUILD
index b38654c..d6bdadf 100644
@@ -30,12 +30,12 @@ build() {
-  make
+  cmake --build .

 package() {
   cd "${srcdir}/${pkgname}-${pkgver}/build"
-  make DESTDIR="${pkgdir}" install
+  DESTDIR="${pkgdir}" cmake --install .
   install -Dm644 "${srcdir}/${pkgname}-${pkgver}/LICENSE" "$pkgdir/usr/share/licenses/$pkgname/LICENSE"

acxz commented on 2020-05-08 02:30 (UTC) (edited on 2020-05-08 02:34 (UTC) by acxz)

@kartikmohta thanks for the offer, means a lot! However, my time with gtsam might end soon, besides, having someone else look at the changes is definitely better for quality. If you could set up a github mirror for you PKGBUILDs using aurpublish( that would be even better tho. Then I could submit PRs directly.

Right now I'm just trying to vet out warnings and seeing if some of these 3rdParty codebases can be vendored out.

acxz commented on 2020-05-08 02:25 (UTC) (edited on 2020-05-08 02:26 (UTC) by acxz)

/> It's only used for some tests which we don't build anyway.

Ah yes it seems like you are right. There is the following line:

gtsam/navigation/GPSFactor.h:58:   * Use GeographicLib to convert from geographic (latitude and longitude) coordinates

that mentions GepgraphiLib but nothing from GeographLib is required for the *.cpp version of that file. The rest of the mentions (and includes) are in the navigation/tests.

kartikmohta commented on 2020-05-08 01:29 (UTC)

@acxz I can add you as a co-maintainer of this and the other gtsam-* packages if you are willing to help and are also regularly using it. I don't really use gtsam these days.

kartikmohta commented on 2020-05-08 01:27 (UTC)

As far as I can see, geographiclib is not really a dependency. It's only used for some tests which we don't build anyway.

acxz commented on 2020-05-08 01:20 (UTC)

@kartikmohta Even though geographiclib is vendored in the GTSAM codebase, they check to see if a system level package is installed before installing their own copy. For example this is what I see in my cmake output with the geographiclib package installed: -- Found GeographicLib: /usr/lib Can you add geographiclib as dep?

acxz commented on 2020-05-08 01:11 (UTC)

Sweet thank you!

kartikmohta commented on 2020-05-07 19:16 (UTC)

@acxz Added a separate gtsam-mkl package with MKL enabled. I was not sure of enabling MKL in this package even if it's installed since the official docs say, "best performance is usually achieved with MKL disabled. We therefore advise you to benchmark your problem before using MKL."

acxz commented on 2020-05-07 12:00 (UTC) (edited on 2020-05-07 13:23 (UTC) by acxz)

@kartikmohta I have intel-mkl installed however, when I build this pakcage, I see the following message during the cmake stage:

-- Could NOT find MKL (missing: MKL_LIBRARIES) 

This patch resolved the issue for me: