On 27 October 2012 05:03, Pawel Aleksander Fedorynski <[email protected]> wrote:
> Since "engine" used to work as far back as I can tell I just changed "type"
> to "engine" instead of the fancy solution I delineated earlier.

Thanks Pawel, the MySQL tests succeed for me now.

> BTW: Either something's wrong with the cmake scripts or I don't know how to
> use it.  I have mysql installed in a somewhat weird place.  I tried the
> following:
>
> cmake -G "Unix Makefiles" -DWITH_BOOST=OFF
> -DMYSQL_INCLUDE_DIR=/opt/local/include/mysql55/mysql/
> -DMYSQL_LIBRARIES=/opt/local/lib/mysql55/mysql/libmysqlclient_r.dylib
> ../soci/src/
>
> and it didn't work: MYSQL_INCLUDE_DIR was found correctly but
> MYSQL_LIBRARIES was listed as not found:
>
> -- MySQL:
> -- WARNING:
> -- MySQL not found, some libraries or features will be disabled.
> -- See the documentation for MySQL or manually set these variables:
> -- MYSQL_INCLUDE_DIR                        =
> /opt/local/include/mysql55/mysql
> -- MYSQL_LIBRARIES                          = MYSQL_LIBRARY-NOTFOUND
> [...]

Yes, there may be a problem indeed.
This weekend, I'm working on CMake config improvements,
so hoping to  get it fixed.

Can you tell me what version of CMake you are using?

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

------------------------------------------------------------------------------
WINDOWS 8 is here. 
Millions of people.  Your app in 30 days.
Visit The Windows 8 Center at Sourceforge for all your go to resources.
http://windows8center.sourceforge.net/
join-generation-app-and-make-money-coding-fast/
_______________________________________________
Soci-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/soci-users

Reply via email to