help-gplusplus
[Top][All Lists]
Advanced

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

[G++ n00b] Include and lib files


From: Stefan Kristensen
Subject: [G++ n00b] Include and lib files
Date: Fri, 16 Nov 2007 17:15:57 +0100
User-agent: Thunderbird 2.0.0.9 (Windows/20071031)

Hello my experienced friends.

As previously stated, I'm refreshing my C++ on a FreeBSD box and the basics are pretty much in place now. So time to move on: Accessing MySQL databases from C++. As I see it, there is a wrapper class that makes it somewhat easier than using the C API. But already at the #include "mysql.h" line, I get an error: No such file or directory. I have installed MySQL and MySQL++1 (MySQL++ reported something as broken) and can see mysql.h in /usr/local/include/mysql

So: How do I tell g++ where to look for include files?

Best regards
Stefan


reply via email to

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