The instructions in
you to leave variables
as they are in order to
link KeyValue with the examples of core and bridge libraries. However, you
must change these variables to point to your own core and bridge
libraries' paths in order to link KeyValue with them. You can use either
absolute or relative paths. Relative paths are taken from
If you are a Microsoft Visual Studio user, then you must use multi-threaded runtime libraries to compile your core and bridge libraries. More precisely you have two options depending on your build system:
Follow the instructions below if you use Microsoft Visual Studio build system to build your core and bridge libraries. (This is the default method choosen when you set up your libraries using Microsoft Visual Studio's IDE.)
Open Microsoft Visual Studio and your solution file.
Open the solution explorer (Ctrl+Alt+L).
Right-click on you core library project.
Select:-> -> -> .
On the right panel on the properties page, select the correct Runtime Library depending on configuration as below:
For Debug configuration choose "Multi-threaded debug (/MTd)";
For Release configuration choose "Multi-threaded (/MT)".
Remark: (a) and (b) above do not say to choose the "DLL" libraries.
Repeat steps (3) - (5) for your bridge library and for any other library you want to link with KeyValue.
Follow the instruction below if you build your core and bridge libraries using another build system (e.g., makefiles, bjam, etc).
Make sure you pass to MSVC compiler (cl.exe) the apropriate option regarding the runtime libraries:
/MTd for debug build.
/MT for release build.
If for some reason you are not happy to compile your libraries using
the options above, then you can change KeyValues' compilation options.
However, the LibreOffice add-in will not build anymore; only the Excel
add-in will. To change KeyValue's compiling options open the file
config/windows-msvc.mak in any text editor and edit
the lines below
OBJ_FLAGS+= -D_DEBUG -Od -Gm -RTC1 -MTd -ZI
OBJ_FLAGS+= -DNDEBUG -O2 -Oi -GL -FD -MT -Gy -Zi
-MT according to
your preferences. You might need to rebuild KeyValue (clean and build