how to set include PATH# Unix - 噫吁兮,危乎高哉
n*w
1 楼
Another question:
I need to run C/C++ programs using CRSP for my research. CRSP related
stuff is located at /opt/crsp/. Specifically, I need to include a bunch of
header files (.h) located at /opt/crsp/include/ in my C/C++ programs, and
I want them to be able to include that path by default, i.e., without
having to specify the absolute path in each #include.
I tried to change PATH but it didn't work. Is there anything like
INCLUDEPATH? Thanks a lot.
I need to run C/C++ programs using CRSP for my research. CRSP related
stuff is located at /opt/crsp/. Specifically, I need to include a bunch of
header files (.h) located at /opt/crsp/include/ in my C/C++ programs, and
I want them to be able to include that path by default, i.e., without
having to specify the absolute path in each #include.
I tried to change PATH but it didn't work. Is there anything like
INCLUDEPATH? Thanks a lot.