Sincerely thank you for your reply. I tried to compile with the solution you mentioned, libopenconnect-5.dll and openconnect.exe have been compiled successfully. I need to develop based on libopenconnect-5.dll in VS2008 environment, but openconnect.h depends on other header files such as stdint.h. I found the corresponding header file from the ""/usr/i686-w64-mingw32/sys-root/mingw/include" directory. But using VS2008 to compile my project has many errors, I don't know if I am looking for the wrong header file, or can I not use the VS environment to develop this project based on libopenconnect-5.dll? Looking forward to your reply Thank you At 2019-01-25 17:51:12, "David Woodhouse" <dwmw2 at infradead.org> wrote: >On Fri, 2019-01-25 at 11:47 +0800, ?? wrote: >> Hello, >> I am currently developing in Windows and need to change the >> implementation of openconnect, so I need to make my own mingw-devel >> package. But I can't make a mingw-devel package about openconnect. I >> only made a release package. I don't know how to find the >> corresponding header file and static dependency library correctly. >> Can you give me a solution? Or compile step 1 on mingw > >The GitLab CI builds for mingw, and you can see the instructions in the >.gitlab-ci.yml file for cross-building from Fedora, including all the >dependencies that you need to install first. > > ?