在我的swig界面文件中,我使用包括如下:
%{
#include "lib-cpp/types/lists/linked-list.hpp"
%}
%include "lib-cpp/types/lists/linked-list.hpp"
但是,当我运行去安装时,我得到:
navdb_go_client_wrap.cxx:258:14: fatal error: 'lib-cpp/types/lists/linked-list.hpp' file not found
如何为go install指定include目录?
将CPLUS_INCLUDE_PATH导出到修复此问题的必需包含路径。