lazarus  工程选项  路径     另外选上默认选项

 

lazarus  project options     ----  compiler options  -paths     中可设置 搜索目录