Anybody Dev-c++?
From: Josep Subirana (slotosREMOVETHIS_at_arcor.de)
Date: 03/07/04
- Next message: Francis Glassborow: "Re: float"
- Previous message: Barry Schwarz: "Re: C char array question"
- Next in thread: B. v Ingen Schenau: "Re: Anybody Dev-c++?"
- Reply: B. v Ingen Schenau: "Re: Anybody Dev-c++?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Sun, 7 Mar 2004 00:10:15 +0100
Hi,
I'm a newbie and I'm trying to find out how to make mysql run EMBEDDED on a
c++ application.
It seems you have to include libmysql.lib in your project. When I try to do
that using Dev-C++ the following Linker error appears on the log:
------------------------------------------------------------
Compiler: Default compiler
Building Makefile: "C:\mysql\Embedded\Makefile.win"
Executing make...
make.exe -f "C:\mysql\Embedded\Makefile.win" all
g++.exe DLL/test_dll.o DLL/StdAfx.o -o
"devc++.exe" -L"C:/Programme/Dev-Cpp/lib" DLL/release/libmysqld.lib
DLL/test_dll.o(.text+0x79):test_dll.cpp: undefined reference to
`mysql_server_init@12'
DLL/test_dll.o(.text+0xd0):test_dll.cpp: undefined reference to
`mysql_close@4'
DLL/test_dll.o(.text+0xde):test_dll.cpp: undefined reference to
`mysql_close@4'
DLL/test_dll.o(.text+0xe6):test_dll.cpp: undefined reference to
`mysql_server_end@0'
DLL/test_dll.o(.text+0x1aa):test_dll.cpp: undefined reference to
`mysql_init@4'
DLL/test_dll.o(.text+0x1db):test_dll.cpp: undefined reference to
`mysql_options@12'
DLL/test_dll.o(.text+0x1f5):test_dll.cpp: undefined reference to
`mysql_real_connect@32'
DLL/test_dll.o(.text+0x207):test_dll.cpp: undefined reference to
`mysql_error@4'
DLL/test_dll.o(.text+0x231):test_dll.cpp: undefined reference to
`mysql_close@4'
DLL/test_dll.o(.text+0x288):test_dll.cpp: undefined reference to
`mysql_query@8'
DLL/test_dll.o(.text+0x29f):test_dll.cpp: undefined reference to
`mysql_field_count@4'
DLL/test_dll.o(.text+0x2b5):test_dll.cpp: undefined reference to
`mysql_store_result@4'
DLL/test_dll.o(.text+0x2d1):test_dll.cpp: undefined reference to
`mysql_num_fields@4'
DLL/test_dll.o(.text+0x2e2):test_dll.cpp: undefined reference to
`mysql_fetch_row@4'
DLL/test_dll.o(.text+0x392):test_dll.cpp: undefined reference to
`mysql_affected_rows@4'
DLL/test_dll.o(.text+0x3b4):test_dll.cpp: undefined reference to
`mysql_error@4'
make.exe: *** [devc++.exe] Error 1
Execution terminated
------------------------------------------------------------
On my settings, in the Parameter sections I have added the library to the
Linker.
What am I doing wrong???
Has anybody already done that: embedded mysql under Dev-C++ (Windows)?
Thanks a lot
Josep
- Next message: Francis Glassborow: "Re: float"
- Previous message: Barry Schwarz: "Re: C char array question"
- Next in thread: B. v Ingen Schenau: "Re: Anybody Dev-c++?"
- Reply: B. v Ingen Schenau: "Re: Anybody Dev-c++?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|