Hm yes, but that's really a shame because it breaks both my Ubuntu 12.04
and Windows builds. Ubuntu 12.04 is the version used by Travis CI and
12.04 only has glib 2.32. For Windows I download the relevant DLLs
myself, however the latest released glib there is 2.34, see http://www.gtk.org/download/win32.php and http://www.gtk.org/download/win64.php. Any ideas?
Am 16.05.2015 um 05:56 schrieb Torsten Bronger:
Maybe too old GLib version? g_assert_nonnull was introduced in Glib 2.40.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Yes, actually based on the README it should be turned off by default but seems I forgot to set the switch in the CMake config. Now, it is off for sure :)
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Maybe too old GLib version? g_assert_nonnull was introduced in Glib 2.40.
Hm yes, but that's really a shame because it breaks both my Ubuntu 12.04
and Windows builds. Ubuntu 12.04 is the version used by Travis CI and
12.04 only has glib 2.32. For Windows I download the relevant DLLs
myself, however the latest released glib there is 2.34, see
http://www.gtk.org/download/win32.php and
http://www.gtk.org/download/win64.php. Any ideas?
Am 16.05.2015 um 05:56 schrieb Torsten Bronger:
In CMakeCache.txt, you may set BUILD_TESTS:BOOL=OFF.
That did it, thanks. Turns out I actually already do that for Windows,
just forgot it in the travis config. For reference, this is how I do it:
cmake . -DBUILD_TESTS=off
Okay, then I don't change the code. The tests are not vital after all. (Maybe they should be off by default.)
Yes, actually based on the README it should be turned off by default but seems I forgot to set the switch in the CMake config. Now, it is off for sure :)