The build log which I receive with the above changes is
Checking for existence: /home/pi/Desktop/test8/bin/Debug/test8
Executing: xterm -T test8 -e /usr/bin/cb_console_runner LD_LIBRARY_PATH=$LD_LIBRARY_PATH:. /home/pi/Desktop/test8/bin/Debug/test8 (in /home/pi/Desktop/test8/.)
Process terminated with status 0 (0 minutes, 5 seconds)
I have this build log but I have always the same result 'Hello World' whatever I change in the text
Ok. Lets explain step by step.
First I created a simple project called test10. I built and ran it and I have the hello world.
Next step
Project->Build Options ->Search directories-> /usr/include/mysql
Project -> Build Options -> Compiler Settings tab -> Other Options and enter `mysql_config --cflags`
Project -> Build Options -> Linker Settings tab -> Other Options and enter `mysql_config --libs`
I added the mysql.h and now my program is
#include <iostream>
#include <mysql.h>
using namespace std;
int main()
{
cout << "Hello world!" << endl;
return 0;
}
Next
build-> clean
build-> build and run
'It seems that this project have not been built yet.Do you want to built it now?' I clicked Yes.
I have the following in the build log
-------------- Build: Debug in test10 ---------------
Compiling: main.cpp
g++: fatal error: no input files
compilation terminated.
Process terminated with status 4 (0 minutes, 4 seconds)
0 errors, 0 warnings