Groups
Groups
Sign in
Groups
Groups
lzuossteam
Conversations
About
Send feedback
Help
请教问题win下gcc连接
3 views
Skip to first unread message
BlackRose
unread,
May 30, 2010, 5:09:55 AM
5/30/10
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to lzuossteam
我在win下写了mysql连接文件,用gcc编译时,提示有错误,根据错误我在网上找到解答。mysql的c connector中的
库是给vc提供的,gcc无法使用,但有解决方法,就是自己生成个libmysql.a的库文件,我按照网上的步骤,生成后,还是无法编译,同时,发
现
gcc提示的错误和网上的有出入,请高手给予指导,不胜感激!
下面是相关信息:
编译器:cygwin的gcc
Windows下用GCC连接MySQL数据库
http://blog.csdn.net/mzlogin/archive/2010/05/18/5605320.aspx
解决Windows下C连接MySQl的问题
http://www.okpython.com/views-tid-4122.html
gcc 提示错误:underfined reference to '_mysql_init'
我的C文件中并没有“_mysql_init”,我试了很多次都是提示这个,郁闷了。
Reply all
Reply to author
Forward
0 new messages