Visual studio 2005: Getting the libpqxx wrapper for the PostgreSQL API to compile for windows development
Posted on 2007-08-06
I'm attempting to get the libpqxx C++ wrapper for the PostgreSQL libpq C API to compile for windows development. As is sometimes the case with free software, documentation is a little sparse and windows support is sub-optimal. According to the documentation, compilation with MinGW and MSYS is preferable.
I wondered, would it be possible to compile the libpqxx wrapper using this environment (MinGW and MSYS), and then dynamically link to its compiled dll in visual studio, or would it be necessary to build in the same environment that the dlls will be linked to?