-
Notifications
You must be signed in to change notification settings - Fork 185
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
Tests fail under Fedora Rawhide with USE_SHARED_LIBS=ON #122
Comments
Thanks a lot !!! |
Hi mikhirev, Thanks a lot, |
When configured with
-DUSE_SHARED_LIBS=ON
, most tests fail under Fedora Rawhide (gcc 7.0.1). I was unable to capture/redirect extra output with exact error messages (invalid pointer, double free etc.) and memory maps.I suppose, the problem is in gmock. From documentation:
But there are separate
libgtest.so
,libgtest_main.so
,libmock.so
andlibmock_main.so
. Probably it is better to always link gmock and gtest statically to avoid this issue.P. S. I removed
igtl::Array<T>::GetValue()
andigtl::Array<T>::SetValue()
fromigtlNDArrayMessage.h
to get it built with gcc 7 (see #120).The text was updated successfully, but these errors were encountered: