List:MySQL++« Previous MessageNext Message »
From:Deepak Shrestha Date:August 12 2008 7:00am
Subject:mysql++.h: No such file or directory...Help!
View as plain text  
Hi,

I had made a small program using Java and MySQL using Connector/J. Now I 
want to translate this program in C++ using MySQL++. So far, I have read 
the "README-MinGW.txt" and followed the instructions to build MySQL++ in 
my windows machine. Examples are running well and also installed it via 
"install.hta" in C:\MySQL++. Just to test if its working, tried this 
small program:

main.cpp
================
#include <iostream>
#include <mysql++.h>

using namespace std;


int main()
{
    cout << "Hello world!" << endl;
    return 0;
}
=================

and trying to compile this program with this options:
===========
g++ -Wall -I "c:\MySQL++\include";"c:\Program Files\MySQL\MySQL Server 
5.0\include" -L "c:\MySQL++\mingw\lib";"c:\Program Files\MySQL\MySQL 
Server 5.0\lib" main.cpp -o main.exe

gives me the following error:
================
main.cpp:2:21: mysql++.h: No such file or directory
================

can somebody help me with this? This is my first experience with 
MySQL++. AFAIK, I have build the MySQL++ correctly

Thanks

Thread
mysql++.h: No such file or directory...Help!Deepak Shrestha12 Aug
Re: mysql++.h: No such file or directory...Help!Deepak Shrestha12 Aug
  • Re: mysql++.h: No such file or directory...Help!Jim12 Aug
    • Re: mysql++.h: No such file or directory...Help!Deepak Shrestha12 Aug
      • Re: mysql++.h: No such file or directory...Help!Warren Young12 Aug