I am trying to include a static lib (.a) file built with mingw in the lazarus project but failed to do so. Because the lib contains a function.
_wfopen() from stdio.h/wchar.h
I had already included
{$LinkLib gcc}
{$LinkLib mylib}
Function soo(...); cdecl; external;
Headers used in the static lib are
stdio.h
wchar.h
stdlib.h
What is wrong here. please help.
我想您会错过主要的C运行时“ c”。
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.