I have some C code that includes this header file:
I'm getting fatal error: 'json-c/json.h' file not found because my path variable doesn't include /usr/local/include/json-c where the json.h header exists. Of course it compiles using a
header but that's unacceptable.
How can I add to $PATH without throwing a Bad : modifier in $ '/' error? My user shell is bash and the PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/home/aaronvan/bin. I'm seeing a lot of solutions on the internet (i.e. add to login.conf) but no joy.
Code:
#include <json-c/json.h>
I'm getting fatal error: 'json-c/json.h' file not found because my path variable doesn't include /usr/local/include/json-c where the json.h header exists. Of course it compiles using a
Code:
#include </usr/local/include/json-c/json.h>
How can I add to $PATH without throwing a Bad : modifier in $ '/' error? My user shell is bash and the PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/home/aaronvan/bin. I'm seeing a lot of solutions on the internet (i.e. add to login.conf) but no joy.