PDA

View Full Version : connecting to mysql with visual c++ 6


kcd-clan
05-17-2005, 08:04 AM
I dont quit get it i dont have a fire i need.
Heres my error.


Output Window


Compiling...
MySample.cpp
C:\Documents and Settings\root\Desktop\cpp6\vcpp-mysql-tut-us-pdf\MySample\MySample\MySampleDlg.h(11) : fatal error C1083: Cannot open include file: 'mysql.h': No such file or directory
MySampleDlg.cpp
C:\Documents and Settings\root\Desktop\cpp6\vcpp-mysql-tut-us-pdf\MySample\MySample\MySampleDlg.h(11) : fatal error C1083: Cannot open include file: 'mysql.h': No such file or directory
Generating Code...
Error executing cl.exe.




Results


MySample.exe - 2 error(s), 0 warning(s)

(D)Evil
06-02-2005, 07:57 PM
Did you tell Microsoft Visual C++6 where it can find the file? And, you have to link the libmysql.lib wich you can find on the main page of mysql.

CGTalk Moderation
06-02-2005, 07:57 PM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.