explanation of _CRT_SECURE_NO_WARNINGS, VO_MSE_FUNC_THROUGH_POINTERS option in Visual Studio

I was then able to build your project proceeding as follows:
-in the Preprocessor Definitions, you did not add both compiler options _CRT_SECURE_NO_WARNINGS and VO_MSE_FUNC_THROUGH_POINTERS
_CRT_SECURE_NO_WARNINGS is necessary to use the strcpy function
VO_MSE_FUNC_THROUGH_POINTERS is needed to get the pointers to the exported functions of the libraries
-Also, as your code is c++, you need to add extern "C" to "voEngine engine = NULL;" and "#include "
// global engine (for the sake of readability)
extern "C" voEngine engine = NULL;

// common utility functions
extern "C" {

No comments:

Post a Comment