> It looks like you simply don't link with the SOCI libraries -- do you?
I got it. This is what I linked:
"C:\dev\soci-3.1.0\core; C:\dev\soci-3.1.0\backends\postgresql;
C:\dev\PostgreSQL9.2.1\include"
And this is a screenshot of the window with the settings:
http://puu.sh/1laIs

> Which version of CMake have you uesd?
> AFAIR, cmake will support VC2012 starting from 2.8.10 which was released
> yesterday.
I used the latest CMake version available about 4 days ago. This one:
http://puu.sh/1laM6

> FYI and AFAIK:
>
> CMake has got usable support for Visual Studio 11 (former name of VS2012)
> in 2.8.6/2.8,7. I've used those versions with Visual Studio 11 and it
> worked well,
> though reported a few bugs
> http://public.kitware.com/Bug/view.php?id=12568
> and the support was not well documented
> http://public.kitware.com/Bug/view.php?id=12567
>
> Lately, VS2012 Express support was fixed:
> http://public.kitware.com/Bug/view.php?id=13348
>
> The problem is CMake uses confusing names of VS :)
> http://public.kitware.com/Bug/view.php?id=10158
> In CMake 2.8.9, it still names generator for Visual Studio 2012 as
> Visual Studio 11.
>
> Best regards,
Mmmh.. probably I solved this problem without knowing :P
This is the CMake command that I used, and as you can see there is Visual
Studio 11:
http://pastebin.com/Prz1cytB
(i splitted it on more lines just to make it readable. Of course, when I
execute the command it was on a single line with each command separated
with a single space.

> CMake 2.8.10 was announced yesterday [1] and the message states:
>
> - support for the latest available versions of Visual Studio (11 / 2012)
>
> So, despite of various updates and patches being applied since 2.8.6,
> let's assume the official VS2012 support is available since 2.8.10.
>
> I presume, for new release of SOCI, we will have to document
> minimum requirement of CMake :)
>
> [1] http://www.cmake.org/pipermail/cmake/2012-October/052593.html
If I solve this problem, and if you want, I could make a tutorial
describing what I've done :)

Thanks for the replies.

Cheers
-- 
Alberto
------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_sfd2d_oct
_______________________________________________
Soci-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/soci-users

Reply via email to