Can't compile examples in Visual Studio 2012 ( Windows10 32 bit)

Issue #462 closed
Hesper Z created an issue

Hi, I am using CMAKE 3.14.0, boost 1.69 and visual studio 2012 express, but it seems I cannot to build the examples and some .libs files in gtsam4.0.0. During compiling the .lib file, I got a bunch of errors which are mainly grammatical errors.In the process of compiling the examples (like GTSAM TUTORIAL show), there were other errors like can’t link to .lb files alongside with some grammatical errors. I can’t figure out what should I do to solve these problems. Thus, here I attach steps I took:

1.Installed Boost, CMAKE

2.Opened CMAKE GUI, set source code directory to E:/gtsam-develop, set build directory to E:/gtsam-develop/build

3.Set BOOST_ROOT&BOOST_INCLUDEDIR to E:/ boost_1_69, Boost_DEBUG is true, BOOST_LIBRARYDIR to E:/boost_1_69/stage/lib.

4.Changed CMAKE_INSTALL_PREFIX to E:/GTSAM

5.Clicked'Configure' followed by ‘Generate’.

6.Got a warning about TBB(TBB 4.4 or newer was not found)

7.Opened project. I build the CppUnitLite.lib and metis.lib successfully, but gtsam.lib and other .lib was failed.

8.Build Pose2SLAMExample.exe unsuccessfully. And I got 173 errors which contain grammatical errors and can’t link library.

Could someone please tell me what can I do? Do I need to use GTSAM4.0?

Any help you can provide is greatly appreciated.

Comments (5)

  1. Log in to comment