List:MySQL++« Previous MessageNext Message »
From:Warren Young Date:December 14 2004 1:48am
Subject:Re: Compiling a MySQL++ / ClanLib project [mysql++.h's includes not
found by g++]
View as plain text  
Ibrahim Mubarak wrote:
> 
>  CPPFLAGS = `pkg-config --cflags $(PACKAGES)`
> +MYSQLFLAGS = -lmysqlpp -lmysqlclient -I/usr/include/mysql++ -I/usr/include/mysql

Try:

MYSQLINC = -I/usr/include/mysql++ -I/usr/include/mysql
MYSQLIB = -lmysqlpp -lmysqlclient
CPPFLAGS = `pkg-config --cflags $(PACKAGES)` $(MYSQLINC)
LIBS = `pkg-config --libs $(PACKAGES)` $(MYSQLLIB)

instead.  Also, study examples/Makefile.simple.
Thread
Compiling a MySQL++ / ClanLib project [mysql++.h's includes not found by g++]Ibrahim Mubarak13 Dec
  • Re: Compiling a MySQL++ / ClanLib project [mysql++.h's includes not found by g++]Chris Frey13 Dec
    • Re: Compiling a MySQL++ / ClanLib project [mysql++.h's includes not found by g++] [SOLVED]Ibrahim Mubarak14 Dec
  • Re: Compiling a MySQL++ / ClanLib project [mysql++.h's includes notfound by g++]Warren Young14 Dec