rl_json icon indicating copy to clipboard operation
rl_json copied to clipboard

Fails to compile with mingw...

Open petasis opened this issue 1 year ago • 6 comments

Hi all,

I cannot compile rl_json with mingw under Fedora. There is no file named "endian.h".

dnf whatprovides */endian.h |grep mingw
mingw32-boost-1.78.0-4.fc38.noarch : MinGW Windows Boost C++ library for the win32 target
Filename    : /usr/i686-w64-mingw32/sys-root/mingw/include/boost/predef/other/endian.h
mingw64-boost-1.78.0-4.fc38.noarch : MinGW Windows Boost C++ library for the win64 target
Filename    : /usr/x86_64-w64-mingw32/sys-root/mingw/include/boost/predef/other/endian.h

petasis avatar Dec 17 '23 09:12 petasis

I'm a little confused - Fedora is a Linux environment, are you trying to cross-compile for Windows from Fedora?

If you're trying to build for Fedora itself, then just the normal unix build process is what you want.

cyanogilvie avatar Dec 19 '23 06:12 cyanogilvie

Yes, I am trying to compile for windows from fedora.

petasis avatar Dec 26 '23 07:12 petasis

I'm afraid I've never attempted to cross compile parse_args for Windows and I expect it would be a rough road to get that to work.

I last did anything like that over 20 years ago and generally have nothing to do with Windows as a platform these days, so I really don't have the expertise to help fix this issue. I'd be happy to accept patches to support cross compiling it for Windows if you figure it out though.

cyanogilvie avatar Jan 27 '24 18:01 cyanogilvie