On 11 July 2013 07:36, Philipp Kraus <[email protected]> wrote:
>
> Soci Cmake shows with the BOOST_ROOT option:
> -- Boost:
> -- Boost_RELEASE_VERSION                    = 1.54.0
> -- Boost_INCLUDE_DIR                        = 
> /Developer/opt//boost/1.54.0/include
> -- Boost_LIBRARIES                          =

This looks OK.

> -- SOCI_CORE_DEPENDENCIES                   = /usr/lib/libdl.dylib 
> /usr/local/lib/libboost_date_time-mt.a

This does not looks OK.
FindBoost.cmake variable ${Boost_DATE_TIME_LIBRARY}
is set to /usr/local/lib/libboost_date_time-mt.a for some reason.

You are still testing with SOCI CMake configuration.
I'd suggest, as in previous post, to test minimal CMake
and figure out if you are still getting
Boost_DATE_TIME_LIBRARY=/usr/local/lib/libboost_date_time-mt.a

If you look into src/core/CMakeLists.txt then you can see that it just
reads value of Boost_DATE_TIME_LIBRARY, which is provided
by FindBoost.cmake.
First, you need to confirm that FindBoost.cmake works correctly in your env.

> I have disabled alls other boost flags.
> Is there also a POSTGRESQL_ROOT?

No.

> Exists there a documentation for the cmake flags?

1. CMake documentation
2. SOCI documentation (section Installation)
3.  Run CMake GUI in advance mode, you will see all/most of them.

Best regards,
--
Mateusz  Loskot, http://mateusz.loskot.net

------------------------------------------------------------------------------
See everything from the browser to the database with AppDynamics
Get end-to-end visibility with application monitoring from AppDynamics
Isolate bottlenecks and diagnose root cause in seconds.
Start your free trial of AppDynamics Pro today!
http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk
_______________________________________________
soci-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/soci-users

Reply via email to