CMake can not find some libraries
Added by John Robson almost 12 years ago
Hi everybody.
When I run cmake, it does not find some libraries.
I think this is normal because I use Linux.
--- Looking for Q_WS_WIN - not found.
--- Looking for Q_WS_QWS - not found.
--- Looking for Q_WS_MAC - not found.
What library is this? Where do I find it for Debian?
--- Looking for sin - not found
I have installed MySQL (mysql-client mysql-server libmysqlclient-dev) but cmake does not find it.
Wt::Dbo: not building MySQL backend.
Indicate the location of your mariadb or mysqlclient installation using
-DMYSQL_PREFIX=... and the library to search for (e.g. mariadb or
mysqlclient) using -DMYSQL_LIBRARY=...
What do I have to do here?
-DMYSQL_PREFIX=... ?
-DMYSQL_LIBRARY=... ?
Thank you,
John
Replies (3)
RE: CMake can not find some libraries - Added by Plug Gulp almost 12 years ago
If I understand correctly Q_WS_* is for Qt related build support. Does the cmake message say Q_WS_X11 found?
MySQL is not supported by Wt, instead install MariaDB (https://mariadb.org)
For "sin" function support I don't have much clue, but I think there could be some compatibility flag missing from the CMake build script with does not pick up correct math library.
HTH,
~Plug
RE: CMake can not find some libraries - Added by John Robson almost 12 years ago
CMake found "Q_WS_X11"
Q_WS_QWS (Qt Window System) is Qt for Embedded Linux. (http://www.trinitydesktop.org/docs/qt4/winsystem.html)
Now I'll try figure out what is "sin".
Thank you...
RE: CMake can not find some libraries - Added by Wim Dumon almost 12 years ago
You can use mysql libraries with our mariadb backend. Just make sure to set the MYSQL_LIBRARY to 'mysqlclient' if you want to link to use mysql iso mariadb.
Wim.