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

Made installation work with gpp10+ (version > 10) #633

Closed
wants to merge 2 commits into from

Conversation

KirtashW17
Copy link

@KirtashW17 KirtashW17 commented Oct 16, 2021

I recently had to install nmatrix gem in a machine with gpp14 running and I noticed that the installation failed because was comparing the version as a string.
I fixed it making the function gplusplus version to return an array of numbers instead of a string, and changing the if conditions.

EDIT: I just noticed that there is already a Pull Requests solving this issue, but i think both PR can be merged since one fixes the find_newer_gplusplus method and another the conditionals checking the version.

fixes #630

@KirtashW17
Copy link
Author

Duplicated of #632

@KirtashW17 KirtashW17 closed this May 21, 2022
@mishelhiti
Copy link

hey,
is there a way to install the gem with this fix?
i'm having problems installing the gem because i have gcc14.1.0

@KirtashW17
Copy link
Author

KirtashW17 commented May 16, 2024

hey, is there a way to install the gem with this fix? i'm having problems installing the gem because i have gcc14.1.0

Hi,
You could install your the from github adding this to your Gemfile:

gem 'nmatrix', git: 'https://github.com/KirtashW17/nmatrix_gpp10' # my version

or #632

gem 'nmatrix', git: 'https://github.com/plprofetes/nmatrix' # plprofetes version

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

Successfully merging this pull request may close these issues.

'10.2.1' < '4.3.0' is true
2 participants