I am having a problem with an application I am trying to compile.
I have mysql++ 3.0.7
My SQL Server 5.0 windows exe download
and Eclipse 3.4.1
I have come along way and have got QT examples compiling and mysql++ examples compiling.
So far however I have only compiled simple1 and interfaces example.
Both build and run okay.
My program has an error:
mingw32-make -f Makefile.Debug
mingw32-make: Entering directory `C:/Users/Entecho/Desktop/Programming/Entecho Config
g++ -enable-stdcall-fixup -Wl,-enable-auto-import -Wl,-enable-runtime-pseudo-reloc
-mthreads -Wl -Wl,-subsystem,windows -o debug/SRC_Output_Targ.exe
object_script.SRC_Output_Targ.Debug -L'c:/Qt/4.4.3/lib' -lmingw32 -lqtmaind -lmysqlpp
-lmysql -lQtSqld4 -lQtGuid4 -lQtNetworkd4 -lQtCored4
./debug/interface.o: In function
const]+0x13): undefined reference to `mysql_free_result@4'
mingw32-make: Leaving directory `C:/Users/Entecho/Desktop/Programming/Entecho Config
collect2: ld returned 1 exit status
mingw32-make: *** [debug/SRC_Output_Targ.exe] Error 1
mingw32-make: *** [debug] Error 2
I think the key part is:
undefined reference to `mysql_free_result@4'
I have read the mailing list a bit and a while ago some people mentioned that the
libmysql.dll was incompatible with GNU make such as mingw because it was compiled with
Is this my problem? Will this be a problem even once I get past my current problem? Any
ideas on how to solve the problem above?
Note that PartsImages is an sql_create_3:
sql_create_3(PartsImages, 1, 3,
Any help much appreaciated.