Add extra include/lib paths to MinGW

后端 未结 2 2032
醉话见心
醉话见心 2020-12-24 09:31

I would like to add some extra include/lib directories besides the default ones for MinGW to search upon compilation. The reason for this is because the hard drive I current

2条回答
  •  囚心锁ツ
    2020-12-24 10:08

    You can set environment variables CPLUS_INCLUDE_PATH for include directories and LIBRARY_PATH for library directories. More information can be found in Environment Variables Affecting GCC

提交回复
热议问题