gpt4 book ai didi

c - 无法在项目中包含 _wfopen

转载 作者:行者123 更新时间:2023-11-30 17:52:30 25 4
gpt4 key购买 nike

我试图在 lazarus 项目中包含使用 mingw 构建的静态 lib (.a) 文件,但未能成功。因为lib包含一个函数。

_wfopen() from stdio.h/wchar.h

我已经包含了

{$LinkLib gcc}
{$LinkLib mylib}

Function soo(...); cdecl; external;

静态库中使用的 header 是

stdio.h
wchar.h
stdlib.h

这里出了什么问题。请帮忙。

最佳答案

我认为您错过了主要的 C 运行时“c”。

关于c - 无法在项目中包含 _wfopen,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/16131942/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com