或者 

错误"error: 'off64_t' does not name a type"

 

MinGW的bug,使用-std=c++11, 有可能出现, 修改{MinGW dir}/include/io.h文件,

使用:

  1. __CRT_INLINE _off64_t lseek64 (int, _off64_t, int);  
  2. __CRT_INLINE _off64_t lseek64 (int fd, _off64_t offset, int whence) {  

代替:

  1. __CRT_INLINE off64_t lseek64 (int, off64_t, int);  
  2. __CRT_INLINE off64_t lseek64 (int fd, off64_t offset, int whence) {  

即可.

参考: http://stackoverflow.com/questions/20126219/static-linking-qt-5-1-error-when-running

 

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-06-23
  • 2022-12-23
  • 2022-12-23
  • 2021-10-01
  • 2021-12-10
猜你喜欢
  • 2022-02-09
  • 2022-12-23
  • 2021-08-25
  • 2022-12-23
  • 2021-08-08
  • 2021-09-10
  • 2022-12-23
相关资源
相似解决方案