Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fails to compile with mingw... #42

Open
petasis opened this issue Dec 17, 2023 · 3 comments
Open

Fails to compile with mingw... #42

petasis opened this issue Dec 17, 2023 · 3 comments

Comments

@petasis
Copy link

petasis commented Dec 17, 2023

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
@cyanogilvie
Copy link
Member

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.

@petasis
Copy link
Author

petasis commented Dec 26, 2023

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

@cyanogilvie
Copy link
Member

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants