2014-07-15 37 views
0

當我編譯使用Intel compiler 13代碼的目錄,我遇到了以下錯誤:如何添加含有`sci_mpi_mp.pc」到PKG_CONFIG_PATH環境變量

pkg-config error: 
Package sci_mpi_mp was not found in the pkg-config search path. 
Perhaps you should add the directory containing `sci_mpi_mp.pc' 
to the PKG_CONFIG_PATH environment variable 
No package 'sci_mpi_mp' found 

which pkg-config給我的DIR /usr/bin/pkg-config。那麼,我如何將它添加到PKG_CONFIG_PATH

在此先感謝!

回答

0

設置環境變量取決於您的shell

慶典export PKG_CONFIG_PATH=/usr/bin/pkg-config

CSHsetenv PKG_CONFIG_PATH /usr/bin/pkg-config

檢查你的shell手冊。

但它更有可能是您的計算機上缺少文件sci_mpi_mp.pc