-
Notifications
You must be signed in to change notification settings - Fork 394
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
add linking to gthread-2.0.lib in lcm.vcproj and lcm-logger.vcproj #81
Conversation
What version of GLib are you using? We recently bumped the minimum version to 2.32.0. This makes linking I know a couple other users are using 2.45.4 successfully. I think they might be using MSYS or compiling the library themselves. |
Aha, unfortunately, I can only use the prebuilt binary here which is 2.28: I tried MSYS but there is not .lib but all .a files installed... |
Can you use CMake instead? |
This is still broken with the Ubuntu 16.04 repos. I'm beginning to think this is Ubuntu's problem though. EDIT: My bad, ldd is in glibc not glib. Regardless, build still fails and it appears I have libglib-2.0 version 2.48. Any ideas? apt list shows I've got 2.48
But ldd says it's only 2.23
Anyone else seeing this problem? |
Huh? You are comparing the version of glib (2.48) to the version of ldd (2.23). Why would you expect them to be the same? Maybe you are being confused because ldd mentions glib**c**? glibc != glib; glibc is the system C runtime (specifically, the GNU C Runtime Library), GLib is "the low-level core library that forms the basis for projects such as GTK+ and GNOME". Also, what does this have to do with the PR? |
I was in confusing glib and glibc. See EDIT above. I believe this is still pertinent though. I'm running glib 2.48 and the build is failing with: git bisect is pointing this commit as introducing the build failure: |
Okay, but I'll repeat my earlier question: is it broken with CMake? 😄 Personally, I wouldn't mind the other build systems just going away. After all, that's one of the claimed benefits of using CMake: we don't need to maintain separate build systems for {Windows, Python, everyone else}. (Otherwise, I'd expect a PR to fix autotools also.) |
@shanemd Thanks for noticing the build failure. We are in a transitional period with the build system, as you've already noticed. (This might have been better filed as a separate issue, but no matter.) Thanks for helping out. The problem you encountered has to do with the Autotools build missing deprecated symbols. Apparently |
#94 is merged in. Sorry for all the dependency churn, it's been a bit unstable since we've been messing with both the build system and GLib required version |
Since the original issue was about re-adding the link to |
Without this change, the compile will fail. Tested with VS2010 under x86 settings.