I'm using c. And I have a include
folder inside my project myProject/include
and inside I have all the header files from the SDK I downloaded from the Internet. So my question is how can I tell the gcc
to look for the header files inside the include folder?
相关问题
- Multiple sockets for clients to connect to
- What is the best way to do a search in a large fil
- glDrawElements only draws half a quad
- Index of single bit in long integer (in C) [duplic
- Equivalent of std::pair in C
You can use the
-I
option withgcc
to tell the path where to look for the header files.From online gcc manual
You can use this option multiple times,