Updated build of Boost for C++Builder 10.2 addressing a RTL linking issue

Posted by on in Blogs

C++Builder supports Boost, a common and useful C++ library.  Through the GetIt package manager, you can install a build of v1.55 for our Clang compilers, or if you are using the classic compiler, an older version of Boost, v1.39.

The version available on GetIt for 10.2 had an issue for non-header-only Boost libraries.  Most of Boost is available through headers, but some libraries, like system and filesystem, require .cpp files and so build and are linked against our RTL.  The download linked these against the 10.1 version of our RTL.  It is always a bad idea to try to link files built with two different versions against each other (never do this!) and we've made significant improvements in our RTL since 10.1 in some low-level areas and this meant the files would not link at all.

We have an updated build of Boost available now.

  • Make sure you are running 10.2.2 build 2004 (check this in the About box, including that it is build 2004.)
  • Go to GetIt, and find Boost
  • If you mouse over it to show the info text, you will see it is updated this month, Feb 2018.
  • Install it



About
Gold User, No rank,
C++ Product Manager, looking after C++Builder as well as the IDE.

Comments

  • Bob K55348
    Bob K55348 Monday, 5 March 2018

    This does fix the RTL linking issue however be warned that it also blows away the system include path for any 3rd party libraries for the Win32 and Win64 configurations, but it leaves the library path alone. This happened on multiple computers, I suggest you save your system include paths prior to uninstalling the old boost and reinstalling the fixed version.

  • David Millington
    David Millington Wednesday, 14 March 2018

    That is not intentional - I've filed an internal bug report.

  • Pete Gates
    Pete Gates Tuesday, 27 February 2018

    Hi David,
    Is there any plan/roadmap to converge with the more recent versions of Boost? With the Clang compiler that is.

    Thanks,
    Pete

  • David Millington
    David Millington Wednesday, 14 March 2018

    We certainly want to, yes. No specific dates yet, sorry.

  • Please login first in order for you to submit comments
  • Page :
  • 1

Check out more tips and tricks in this development video: