Skip to content

glib.h not found #1484

@anbj

Description

@anbj

Tested on git head and 5.8.1.

I'm getting an error which is new to me:

[ 73%] Building C object src/mbaux/CMakeFiles/mbaux.dir/mb_readwritegrd.c.o
[ 73%] Built target mb_read_init_test
[ 77%] Built target mbview
In file included from /usr/local/include/gmt/gmt_dev.h:157,
                 from /home/anbj/MB-System/src/mbaux/mb_readwritegrd.c:39:
/usr/local/include/gmt/gmt_glib.h:36:10: fatal error: glib.h: No such file or directory
   36 | #include <glib.h>
      |          ^~~~~~~~
compilation terminated.

It seems to come from a gmt header file. I've installed the dependencies.

This 'error' may not belong to MB-System, but creating this report in hope for some tips. @joa-quim, do you know of any changes lately that may lead to this?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions