D
D
densaface2016-01-09 11:39:33
MySQL
densaface, 2016-01-09 11:39:33

How to properly include mysql++ header file?

It’s not the first day I’ve been trying to compile a project with a codeproject
www.codeproject.com/Articles/2731/MFC-and-MySQL
As follows from the article, you need to download the MySQL C ++ API (the link is unfortunately broken, but google easily allows you to find identical files here, as far as I understand https://dev.mysql.com/downloads/connector/cpp/1.1.html )
Actually, I'm interested in how to correctly connect the header file so that the demo project compiles successfully.
#include // Part of the MySQL C++ API
I tried to replace this line with a long line with the full path, but then I have to change a bunch of header files and struggle with incomprehensible bugs for a long time. Therefore, I want to ask how to correctly force compilation of just such an inclusion #include ?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question