MySQL Forums
Forum List  »  Connector/C++

make or g++ issues
Posted by: Dominic Froud
Date: October 21, 2009 03:25PM

Finally figured this one out:

the build was referencing the old cppconn/* include files installed into /usr/local/include instead of the new ones in the unpacked trunk

the workaround was to simply delete /usr/local/include/cppconn then run make

however if you look at line 24 of driver/mysql_art_resultset.h:

#include <cppconn/resultset.h>

I'm no expert but won't the <>s make g++ search system includes and hence match against /usr/local/include/cppconn and not the build's cppconn?

Surely this should be

#include "cppconn/resultset.h"

?

Options: ReplyQuote


Subject
Views
Written By
Posted
make or g++ issues
2359
October 21, 2009 03:25PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.