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

Compilation Failure on Windows with Cygwin Using Latest GCC, G++, and Libgomp1 Packages #252

Open
foroveralls opened this issue May 27, 2024 · 0 comments

Comments

@foroveralls
Copy link

Disclaimer: I have not really used C++ or dealt with compliling it before. I'm just using it for this package in a specific project. I apologise if there are basic oversights or assumptions I am missing.

I encountered an issue while trying to compile my project on Windows using Cygwin. The project fails to compile when using the latest versions of gcc, g++, and libgomp1 packages available through Cygwin. However, the project compiles successfully when using the older versions of these packages (7.4.0-1).

Environment

OS: Windows 10 Version: 10.0.19045 Build 19045
Cygwin Version: 3.5.3-1 (Latest)
GCC Version: 11.4.0-1 (Latest)
G++ Version: 11.4.0-1 (Latest)
Libgomp1 Version: 11.4.0-1 (Latest)

Workaround

By downgrading the gcc-core, gcc-g++, and libgomp1 packages to version 7.4.0-1, the project compiles successfully.

Here are the versions that worked:

GCC: 7.4.0-1
G++: 7.4.0-1
Libgomp1: 7.4.0-1

It seems there might be compatibility issues with the latest versions of these packages on Cygwin for Windows. It would be nice if these compatibility issues were mentioned somewhere. I spent a long time trying to get this to complile, and yes maybe for someone more experienced they would have known not to use latest packages or to downgrade, but for people like me just clicking on the default cygwin installation it would help.

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

1 participant