On 19 November 2012 10:18, Marc Thielbeer <[email protected]> wrote: > Hey there, > > so I have another problem, Visual Studio ist missing the > "libsoci_postgresql_3_1.obj" file if I want to use Soci in the simple way. > > #include <iostream> > #include "soci-postgresql.h" > #include "soci.h" > > using namespace soci; > using namespace std; > > int main() > { > session sql(postgresql, "service=postgresql-9.2 user=postgres > password=postgres"); > return 0; > } > > I used the source files for the include directory, the lib builds that I > made with the Soci.sln in the library directory and linker knows the lib > files that I need. > But building with the SOCI.sln there was no libsoci_postgresql_3_1.obj > created which he needs now. I'm sure I made another mistake, maybe someone > can clearify it to me
Marc, Please, see my answers to this thread: http://sourceforge.net/mailarchive/message.php?msg_id=30129492 I accidentally sent the last message in HTML format, ups, so it's not displayed properly by SF.net, but you can see it here: http://soci.6940.n7.nabble.com/soci-users-MSBuild-exe-SOCI-sln-gt-32-Warnings-and-4-Errors-why-td3135.html#a3138 Best regards, -- Mateusz Loskot, http://mateusz.loskot.net ------------------------------------------------------------------------------ Monitor your physical, virtual and cloud infrastructure from a single web console. Get in-depth insight into apps, servers, databases, vmware, SAP, cloud infrastructure, etc. Download 30-day Free Trial. Pricing starts from $795 for 25 servers or applications! http://p.sf.net/sfu/zoho_dev2dev_nov _______________________________________________ soci-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/soci-users
