What is the "__cdecl"?

I want to use the AES algorithm with MPI.

Visual C ++ Code. When I compile the code, I get this error:

unresolved external character "void __cdecl BTM (int, int)" (? BTM @@ YAXHH @Z) referenced by the _main function

+4
source share
1 answer

__cdecl is a calling convention, but the problem you are facing is linker failure. He states that a function definition called BTM() cannot be found.

Make sure you bind all the necessary .lib s.

+12
source

All Articles