Thank you for answer.

I think I found the source of problems: when I used CMake GUI to build
SOCI, it couldn't find postgreSQL dir (I installed it on D:/, not
standard C:/Program Files/...). Even when I tried to manually add
paths to lib and include directories, CMake wasn't accepting it (the
POSTGRESQL_INCLUDE_DIR and POSTGRESQL_LIBRARIES strings keep
"disappearing" - why this happened?). Reinstalling postgres to C:/...
helped.

I have one more question, what's the difference between libraries:
a) soci_postgresql_3_1.lib (2.48 KB) and
b) libsoci_postgresql_3_1.lib (2.60 MB)
and why b) is much bigger?

Best regards!
Mat


On Fri, Jul 27, 2012 at 7:38 PM, Mateusz Loskot <[email protected]> wrote:
> On 27 July 2012 18:04, mateusz dziedzic <[email protected]> wrote:
>> Hello,
>>
>> I'm new to SOCI and looking for some help on getting it working with
>> Visual Studio 2005. I've downloaded "soci-3.1.0.zip", built it with
>> CMake and got some dll's (not even sure why, I need only header and
>
[...]
>
> It looks like linker is not finding libraries or you haven't
> configured VS as I explained above.
>
> Best regards,
> --
> Mateusz Loskot, http://mateusz.loskot.net
>
> ------------------------------------------------------------------------------
> Live Security Virtual Conference
> Exclusive live event will cover all the ways today's security and
> threat landscape has changed and how IT managers can respond. Discussions
> will include endpoint security, mobile security and the latest in malware
> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
> _______________________________________________
> Soci-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/soci-users

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Soci-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/soci-users

Reply via email to