On Friday 29 December 2006 07:50, Konstantin Nikiforov wrote:

> >g++ -pedantic -Os -c custom1.cpp -o custom1.o
>
> In file included from custom1.cpp:29:
> util.h:31:21: error: mysql++.h: No such file or directory

Перевожу: ошибка в файле util.h в строке 31: mysql++.h - Нет такого файла или 
каталога.

Укажите g++ опцию -I/usr/include/mysql++, или где там лежат заголовочные файлы 
от библиотеки. Точно узнать, где они лежат можно через dpkg -L 
libmysql++-dev. 

PS. Чтобы не привязывать мейкфайл к статическим путям и сделать программу 
переносимой, почитайте, как устроены autoconf и automake.

-- 
Best regards. Alexander Lourier. http://aml.rulezz.ru

Attachment: pgpPOZlArhjW6.pgp
Description: PGP signature

Ответить