5

我想将 AES 算法与 MPI 一起使用。

我用 Visual C++ 编写代码。当我编译代码时,我得到这个错误:

函数 _main 中引用的未解析外部符号“void __cdecl BTM(int,int)”(?BTM@@YAXHH@Z)

4

1 回答 1

12

__cdecl is a calling convention, but the problem you have is a linker failure. It is stating that a definition for the function called BTM() cannot be located.

Ensure you are linking with all the necessary .libs.

于 2012-07-17T12:40:50.780 回答