Closed devowl closed 1 year ago
test-plap is c++ based, so you need a g++ compiler installed.
Any reasons why don't you use native (msvc) build system?
We have the steps for build of OpenVPN and i just running over them for build it out. They are using cygwin and the final output of package is applicatable files for our usage. I didn't dig into the source of build process because cygwin doing all thing we need. And i was stucked when have got that error. I'm newby for cygwin an unix like systems.
Definitely you're right about MSVS but i can't be sure the output is a same. Perhaps gcc is required package for cygwin now you should add that to README file?
Anyway, mingw64-i686-gcc-core is listed in the cygwin installed packages roster.
We have switched to MSVC a while ago - it is a part of our build automation (see, for example, https://github.com/OpenVPN/openvpn/actions/runs/3461533150/jobs/5779262396 and https://github.com/OpenVPN/openvpn-build/actions/runs/3461658552/jobs/5779544040) and release process.
I know that some folks may still use cygwin/mingw, but it is not actively maintained. Maybe @selvanair can help you with it?
I have installed mingw64-x8664-gcc-g++ & mingw64-i686-gcc-g++ but there was missing #include "resource.h" file on build of plap_connection.c so...
I downgraded OPENVPN_GUI_VERSION="${OPENVPN_GUI_VERSION:-10}" to version 10 (because i don't need UI file) and build has finished successfully.
Thanks for help attempts anyway
Hey there.
My build failed with error below:
I'm using my configured cygwin what's built successfully 2.5.3 but failed for 2.5.8. Here is my environment:
pwd
/image-win32 CHOST=i686-w64-mingw32 CBUILD=i686-pc-cygwin ./buildI was monitoring new issues but quiet here... Has anybody issue above?
Thanks for any help.