Rumah > pangkalan data > tutorial mysql > 编译-Dev连接mysql出错,好像是库链接有问题。

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

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
Lepaskan: 2016-06-06 09:36:36
asal
1155 orang telah melayarinya

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

Label berkaitan:
sumber:php.cn
Kenyataan Laman Web ini
Kandungan artikel ini disumbangkan secara sukarela oleh netizen, dan hak cipta adalah milik pengarang asal. Laman web ini tidak memikul tanggungjawab undang-undang yang sepadan. Jika anda menemui sebarang kandungan yang disyaki plagiarisme atau pelanggaran, sila hubungi admin@php.cn
Tutorial Popular
Lagi>
Muat turun terkini
Lagi>
kesan web
Kod sumber laman web
Bahan laman web
Templat hujung hadapan