Quantcast
Channel: Qt DevNet forums: Installation and Deployment
Viewing all articles
Browse latest Browse all 2113

Cannot open include file

$
0
0
Hi, I am trying to use mysql commands in my Qt project creator and I keep hitting walls. Initially, i just wrote “#include “mysql_driver” “ and got the “Cannot open include file” error. If I change that to “#include “C:\Program Files\MySQL\MySQL Connector C++ 1.1.3\include\mysql_driver” “ then the first error is replace with “error: C1083: Cannot open include file: ‘boost/scoped_ptr.hpp’: No such file or directory” I think this is because mysql_driver.h calls boost methods, but cannot find them. I can go through and add every single header file I need and every file that they call, but it seems like there should be an easier way. Does anyone have any ideas what is up with this? Thanks for your help

Viewing all articles
Browse latest Browse all 2113

Trending Articles