Quantcast
Channel: Active questions tagged gcc - Stack Overflow
Viewing all articles
Browse latest Browse all 22002

Trying to compile with gcc on Mojave. The compiler cannot read the includes at -I /opt/X11/include/X11. How do I fix this?

$
0
0
gcc  -g -ansi -c test_scroll_images_3x.c -I /opt/X11/include/X11test_scroll_images_3x.c:17:11: fatal error: 'X11/Xlib.h' file not found

include

      ^~~~~~~~~~~~

1 error generated.

I have several subroutines like this, and all have the same problem.


Viewing all articles
Browse latest Browse all 22002

Trending Articles