Results 1 to 1 of 1
I use linux and gnu compiler and i want to write a program to call database in mysql with c++ programming
while connecting mysql to server
in my program
I ...
- 11-03-2011 #1Just Joined!
- Join Date
- Nov 2011
- Posts
- 7
mysql c++ programming
I use linux and gnu compiler and i want to write a program to call database in mysql with c++ programming
while connecting mysql to server
in my program
I am getting errors like
ction `main':
data.cpp
.text+0x12): undefined reference to `mysql_init'
data.cpp
.text+0x8e): undefined reference to `mysql_real_connect'
data.cpp
.text+0xa3): undefined reference to `mysql_error'
data.cpp
.text+0xb1): undefined reference to `mysql_errno'
collect2: ld returned 1 exit status
what header files i should include to make mysql server connected with c++
can u please help


Reply With Quote