CPPFLAGS and Compiler options

J. 'FIK' Brand jbrand at wbm
Mon Dec 13 08:52:44 GMT 1999


Hello,

I have a problem compiling a program. It uses MySql library's, so I
comfigured the project as following :

Compiler options
    additional options  = -I /usr/local/mysql/include

Linker Options
    additional flags = -L /usr/local/mysql/lib
    additional libraries = -lmysqlclient

When I do 'Configure' it looks like it works, but 'Make' gives a error
'mysql.h: no such file or directory'. In the Makefile de line CPPFLAGS
is empty (the documention say's CXXFLAGS) so manual I add
'/usr/local/mysql/include' to CPPFLAGS.

Now make work, no error's

Jurgen Brand








More information about the KDevelop mailing list