-
Notifications
You must be signed in to change notification settings - Fork 34
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
[FTBS] opensuse 15.4 linking of tests ok in v0.2.6 but fails both in v0.3 and latest r.46f826c #208
Comments
Hi, GCC 8.2 is too old and is missing some C++17 features. GCC 10 should work once Lua includes are fixed. |
Should be fixed in a8bc29c |
Thank you for looking at this problem. opensuse 15.4 latest gpick r.a8bc29c I anticipated reporting back that all was now working, but I am still getting the same errors
etc So in the "build" sub-directory, I did a make VERBOSE=1
which obviously gave the same error. I then repeated the command and put a "-llua" at the very end, ie just after "-lm -pthread" and then there was no error and linking was successful. So it would appear the error is somewhere in the CMakefile process and that the "lua" library dependency is not being added to the needed shared library link list for some reason (unlike back in v0.2.6). |
On openSUSE 15.4, I can successfully build v0.2.6, and there are no errors.
If I try the same procedure with v0.3, cmake makes no complaints about lua depenencies
but linking of the tests fails with lots of error message about undefined references to lua functions
What has changed with version 0.3 to cause this problem and why did cmake not complain?
If I try to build the very latest revision r.46f826c, then cmake again makes no complaints, but building fails even sooner with
Since cmake checks the version of the C++ compiler should it not be spitting out an error if the wrong version is being used?
Setting the environmental variable CXX="g++-10" is of course the solution to this, and then compilation continues but the same linking problem of the tests and the build fails.
The version of lua on the system is 5.4.3 and as I stated at the top, v0.2.6 had no problem finding it and linking the tests with the lua library.
The text was updated successfully, but these errors were encountered: