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

Compile issue - mathutils.c #355

Closed
drofsirreb opened this issue Nov 17, 2023 · 2 comments
Closed

Compile issue - mathutils.c #355

drofsirreb opened this issue Nov 17, 2023 · 2 comments

Comments

@drofsirreb
Copy link

First time I'm trying to install this.
Using an old laptop with Ubuntu 18.04.6

All went well until the point where I run the 'make' command.. I then get the following:

COMPILE mathutils.c
cc: error: unrecognized command line option '-Wstringop-truncation'; did you mean '-Wline-truncation'?
Makefile:967: recipe for target 'object_files/mathutils.o' failed
make: *** [object_files/mathutils.o] Error 1

Any advice would be appreciated

@drofsirreb
Copy link
Author

I found the solution.
My version of gcc was 7.5
Once updated to latest version (10), compile works seemingly fine

@smcameron
Copy link
Owner

Glad you figured it out.

Yeah, stringop-trunction was added in gcc 8, in 2018. Another option would have been to delete -Wstringop-truncation from COMPSPECCFLAGS in the Makefile.

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