<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transational//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=UTF-8">
</HEAD>
<BODY>Hello<br><br>I am trying to link mysql++ in a lib, with the following cmakelist.txt file:<br>I get a fatal error: mysql_version.h no such a file or directory<br>this file is located in usr/include/mysql so I don't understand<br>thanks in advance if someone can help<br><br><br>project(plibb)<br><br>include_directories(usr/include)<br>include_directories(usr/include/mysql)<br>include_directories(usr/include/mysql++)<br><br>add_library(plibb STATIC exec_msg2.cpp cTest2.cpp cDB.cpp)<br><br>target_link_libraries(plibb&nbsp; usr/lib/libmysqlpp.a)<br>target_link_libraries(plibb&nbsp; usr/lib/libmysqlclient.a)<br><br><br><br></BODY></HTML>