首頁 > 資料庫 > mysql教程 > 编译-Dev连接mysql出错,好像是库链接有问题。

编译-Dev连接mysql出错,好像是库链接有问题。

WBOY
發布: 2016-06-06 09:36:36
原創
1144 人瀏覽過

mysql编译

C:\Users\ADMINI~1\AppData\Local\Temp\ccf96B9s.o In function v_to_m(std::vector<stu std::allocator> >&)':<br>31 C:\Users\Administrator\Desktop\DEV-编译数据\connect_mysql\connect_mysql.cpp undefined reference to</stu>mysql_init'
34 C:\Users\Administrator\Desktop\DEV-编译数据\connect_mysql\connect_mysql.cpp undefined reference to mysql_real_connect'<br>40 C:\Users\Administrator\Desktop\DEV-编译数据\connect_mysql\connect_mysql.cpp undefined reference tomysql_set_character_set'
42 C:\Users\Administrator\Desktop\DEV-编译数据\connect_mysql\connect_mysql.cpp undefined reference to mysql_query'<br>48 C:\Users\Administrator\Desktop\DEV-编译数据\connect_mysql\connect_mysql.cpp undefined reference tomysql_use_result'
50 C:\Users\Administrator\Desktop\DEV-编译数据\connect_mysql\connect_mysql.cpp undefined reference to mysql_fetch_row'<br>53 C:\Users\Administrator\Desktop\DEV-编译数据\connect_mysql\connect_mysql.cpp undefined reference tomysql_free_result'
55 C:\Users\Administrator\Desktop\DEV-编译数据\connect_mysql\connect_mysql.cpp undefined reference to `mysql_close'
C:\Users\Administrator\Desktop\DEV-编译数据\connect_mysql\collect2.exe [Error] ld returned 1 exit status

相關標籤:
來源:php.cn
本網站聲明
本文內容由網友自願投稿,版權歸原作者所有。本站不承擔相應的法律責任。如發現涉嫌抄襲或侵權的內容,請聯絡admin@php.cn
熱門教學
更多>
最新下載
更多>
網站特效
網站源碼
網站素材
前端模板