Welcome 微信登录

首页 / 操作系统 / Linux / MySQL++ Gcc 4.6.1 Ubuntu编译错误解决

MySQL++ Gcc 4.6.1 Ubuntu编译错误解决记录。
  1. I downloaded and tried compiling mysql++-3.1.0.  I am receiving the  
  2. following error:  
  3.   
  4. src/mysql++-3.1.0/bk-deps g++ -c -o mysqlpp_sql_buffer.o -I. -fPIC -DPIC  
  5. -I/usr/include/mysql -g -O2 ./lib/sql_buffer.cpp  
  6. In file included from ./lib/sql_buffer.h:31:0,  
  7.                  from ./lib/sql_buffer.cpp:26:  
  8. ./lib/refcounted.h:258:2: error: ‘size_t’ does not name a type  
  9. Paul  
  10.   
  11. Looks like this has been fixed in the Trunk - you can add a "include  
  12. <stddef.h> to lib/refcounted.h  
  13.   
  14. Add a #include <cstring> to ssx/genv2.cpp  
  15.   
  16. That should get your compile working  
Linux CPU 监控脚本Ubuntu虚拟机访问宿主Windows系统文件夹的方法相关资讯      gcc 
  • gcc: error trying to exec "  (今 06:25)
  • GCC 6.1带来新的C++17特性、完全支  (05月06日)
  • Linux环境下使用GCC编译,GDB反汇  (03月30日)
  • 用GCC进行程序的编译  (06月14日)
  • GNU编译器套件GCC 6.1发布 默认使  (04月28日)
  • 让GCC支持成员函数模板的trick  (03月10日)
本文评论 查看全部评论 (0)
表情: 姓名: 字数


评论声明
    版权所有©石家庄振强科技有限公司2024 冀ICP备08103738号-5 网站地图