2011-06-07 117 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文件链接一个脚本,但他们都失败。任何人都可以请建议一个解决方案。 谢谢。

回答

相关问题