头文件已包含,却有error C3861: “Face_offset”: 找不到标识符
取映 2018-01-16 04:28:45 Face_offset_imp.h中声明Face_offset
extern int Face_offset( void * client_data = NULL );
Face_offset.cpp中部分代码
#include "Face_offset.h"
#include "Face_offset_imp.h"
......
extern "C" DllExport void ufusr( char *parm, int *returnCode, int rlen )
{
/* Initialize the API environment */
int errorCode = UF_initialize();
if ( 0 == errorCode )
{
/* TODO: Add your application code here */
Face_offset(NULL);
/* Terminate the API environment */
errorCode = UF_terminate();
}
/* Print out any error messages */
PrintErrorMessage( errorCode );
}
将Face_offset(NULL)注释掉就能编译成功