-
Notifications
You must be signed in to change notification settings - Fork 4
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
Does not build with googletest 1.13 #29
Comments
Adding CMR to Sage would be great! If any API changes are needed, just let me know! Regarding the compilation/linking bug: I tried with googletest 1.13 under KUbuntu 22.04 with default gcc 11.3 and did not see any problems. Can you maybe try to build with
|
Log with VERBOSE=1 |
Same on ubuntu-jammy. |
The relevant call is
which links the compiled unit tests to |
I tried both. By default, I use the Ubuntu googletest sources, but commenting out lines 1 and 3 cmr/test/CMakeLists.txt forces it to clone and build the googletest git version, which also worked for me. |
OK, thanks. I must be doing something wrong in my install script for googletest then. I have now allowed cmr to clone the googletest sources, and it built successfully. Sorry for the noise! |
I looked at the symbol tables of my googletest: For me, the final linker call links to |
Thanks! I'll investigate. |
OK. It turns out that my installation of gtest has built static libraries only. |
Even after switching to shared libraries in my build (and getting rid of the homebrew package), I'm getting the same error; but I've found a simple solution |
Both on macOS with latest Xcode
and also on
ubuntu-focal
with default GCCAny hints?
(I'm trying to add it to Sage - sagemath/sage#35801)
The text was updated successfully, but these errors were encountered: