Hello world :-)
I am slowly getting back to NuttX :-)
On FreeBSD all local packages are installed under /usr/local prefix
that does not seem to be added by tools/configure (or other) and this
results in missing includes build error, for instance:
CC: sim/up_x11framebuffer.c
sim/up_x11framebuffer.c:29:10: fatal error: 'X11/Xlib.h' file not found
#include <X11/Xlib.h>
^~~~~~~~~~~~
1 error generated.
gmake[1]: *** [Makefile:260: up_x11framebuffer.o] Error 1
That file is present on the system:
% ls -al /usr/local/include/X11/Xlib.h
-rw-r--r-- 1 root wheel 99811 1 lip 2021 /usr/local/include/X11/Xlib.h
I did a dirty hack some time ago, but I forgot it, and I would like to
make things work out of the box after pull :-)
What would be the most elegant way to add /usr/local/lib and
/usr/local/include or whole /usr/local prefix to search/configuration
paths?
Any hints welcome :-)
Tomek
--
CeDeROM, SQ7MHZ, http://www.tomek.cedro.info