[odb-users] visual studio static library

Matthew Buonomano matthew.buonomano at familylawsoftware.com
Tue Jun 5 13:16:23 EDT 2018

I would like to be able to use the odb code as entirely statically compiled

I am not able to get the Visual Studio 2013 project to compile using
LIBODB_STATIC_LIB. If I define this preprocessor directive and remove the
LIBODB_DYNAMIC_LIB, #defines in the header files revert to dynamic. All of
the intermediate .obj files for the .cxx files in the project get compiled
with __declspec(dllexport) on their methods so that I am later not able to

Do you have a VS 2013 project that accomplishes creating just .lib output,
no .dlls?

I am looking at purchasing a license for your tool. It works great when
building dlls, but I need to statically link into an .exe that I sell.


Matt Buonomano
Family Law Software

More information about the odb-users mailing list