Closed ihilt closed 1 year ago
I think this is a false alarm. Recompiling GLib seems to have fixed the problem.
I had this same issue, which I fixed by changing the CMakeLists.txt as suggested. I tried simply recompiling GLib to no avail. I also ran into the same glib issue with the test-c-server. I avoided this with -DLCM_ENABLE_TESTS=OFF. In retrospect, I could have avoided this issue completely by using -DLCM_ENABLE_EXAMPLES=OFF as well.
The lcm
target should be now be propagating the GLib2::glib
dependency. But not too long ago, it didn't do this. My best guess is that there's some outdated stuff cached in your build directory. Did you do a clean build?
Observed using the Linaro SDK. GLib was also cross-compiled.
The error:
Toolchain file: