help-gplusplus
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [G++ n00b] Include and lib files


From: Stefan Kristensen
Subject: Re: [G++ n00b] Include and lib files
Date: Mon, 19 Nov 2007 12:45:35 +0100
User-agent: Thunderbird 2.0.0.9 (Windows/20071031)

    #include "mysql/mysql.h"

Ah, I think perhaps that should be:

    #include <mysql/mysql.h>

That doesn't work either. Is there a way to check where g++ looks for include files when not using the -I option?


You also have to link to the appropriate library(s). Hopefully the docs will tell you how to do that.

Yup. When using -I, -L and -l, everything works. I'm just a little curious why I have to use the -I option when the files are in a standard path?

Stefan


reply via email to

[Prev in Thread] Current Thread [Next in Thread]