Not clear.  As an aside, are you building with MinGW or MSVC?  The libraries they produce are not compatible with each other.  I don’t know if that’s a problem with DLLs, but if there are statically linked libraries getting used, that might be part of it.
What C++ debugging tools do you have available?  It would be nice to step through the code or at least capture more than just an abort().