Skip to content

Unable to build GTSAM w/ MATLAB toolbox on Windows (stable only) #1691

Description

@smnmsr

Description

I'm unable to build GTSAM with the MATLAB toolbox on Windows 10. I was following the install descriptions provided in the file Install.md.

Steps to reproduce

  1. Download latest release of GTSAM from here.
  2. Download the boost library and add it to the PATH (boost_1_74_0, precompiled [lib64-msvc-14.2])
  3. Configure and run CMake (CMakeSettings.json, cmake_out.txt)
  4. Open GTSAM.sln with Visual Studio (generates warnings: "The solution already contains an item named 'examples'." and "... timing")
  5. Build->Build->1 ALL_BUILD
  6. The Build fails throwing 52 errors (one related to the MATLAB wrapper, the rest related to the unstable lib) see build_out.txt

Expected behavior

I expect the library to compile w/o any errors.

Environment

  • MATLAB r2023b
  • Visual Studio Professional 2019 (16.11.32) w/ MSVC v142
  • Windows 10 Enterprise (10.0.19045)

I'd really appreciate any help! Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    windowsRelated to Windows

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions