Skip to content
⌘ NSIS Forum Archive

Boost library in nsis plugin

3 posts

zenpoy#

Boost library in nsis plugin

Hi, Are there any pitfalls I should be aware of when using boost with nsis plugin (cpp)? I have to create a plugin for manipulating the sections order in ini files.
Afrow UK#
Boost uses the C standard library (MSVCRT) and IIRC it does not like static linking. Therefore depending on your Visual Studio version you will have dynamic linking with MSVCRT80, 90 or 100. You can check that this is the case using Dependency Walker. Depending on the dependencies, just bundle them in your installer.

Edit: If it only links to MSVCRT.dll then that is included with Windows so no need to bundle.

Stu