2011-06-07 76 views
1

我無法正確鏈接我的程序。我使用以下命令行,但出現錯誤。無法鏈接英特爾MKL

g++ -I/home/blah/intel/composerxe/mkl/include dotProduct.cpp /home/blah/intel/composerxe/mkl/lib/intel64/libmkl_core.a 

輸出是這樣的:

/tmp/ccvw6w13.o: In function `main': 
dotProduct.cpp:(.text+0x108): undefined reference to `cblas_sdot' 
collect2: ld returned 1 exit status 

我也試着運行試圖通過一個針對所有.a文件鏈接一個腳本,但他們都失敗。任何人都可以請建議一個解決方案。 謝謝。

回答

相關問題