How to add mongo driver dynamic linker in c++

Hello, I’m learning to use MongoDB in the C++ language. Even though I dynamically link the .lib files to my project, when I compile the project, mongocxx.dll, bson.dll, and other DLL files are being generated, and I can’t run my application independently. I’ve tried various approaches, but I couldn’t manage to include them properly in my project. I would really appreciate it if someone knowledgeable could assist me with this issue. Thank you!

Hi @john_spear,

Here’s a tutorial that should guide you with adding MongoDB C++ driver in your project - Getting Started with MongoDB and C++ | MongoDB

Hope this helps.