【发布时间】:2021-04-26 08:00:35
【问题描述】:
我是 IAR 新手,我只是在配置一个 C++ 项目,但我对这个错误感到惊讶:
Fatal Error[Pe035]: #error directive: "This library configuration does not support file I/O, either use another existing library configuration or define a new and rebuild the library." 在 fstream 文件中(在我的情况下是只读的)。
以下是导致错误的代码行:
#if !_DLIB_FILE_DESCRIPTOR
#error "This library configuration does not support file I/O, either use \
another existing library configuration or define a new and rebuild \
the library."
#endif
我该如何解决这个问题?
【问题讨论】: