i have a C code and motif GUI.
the code is already compiled on a freebsd 12.1 tower with
cc -L/usr/local/lib -I/usr/local/include -o example1 example1.c -lXm -lXt -lX11
you see that -L/usr/local/lib and -I/usr/local/include , includes the path and libraries of motif to the compiler that he know that.
but on the NOMADBSD Drive OS i have here too the path and library parth are different. i cannot compile with this line of instructions on nomadbsd.
the error message is : fatal error: ‘Xm/Xm.h’ file not found.
i have tried
cc -L/usr/local/lib -I/usr/local/include/X11 -o example1 example1.c -lXm -lXt -lX11
there is the same error : Xm/Xm.h not found.
there must be something different in nomadbsd because the same path works on the
FreeBsd 12.1 Pc Tower where bsd is installed.
-I/usr/local/include there is X11.