1>..\..\mxflib\helper.cpp(387) : error C2440: 'initializing' : cannot convert from 'const char *' to 'char *'
char *sep = strchr(p, PATH_SEPARATOR);
should be changed to
char *sep = (char *)strchr(p, PATH_SEPARATOR);
Also - lots of compiler warnings such as ...
1>c:\dev\freemxf\sdk\mxflib/helper.h(86) : warning C4996: 'sprintf': This function or variable may be unsafe. Consider using sprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
1> C:\Program Files\Microsoft Visual Studio 8\VC\include\stdio.h(345) : see declaration of 'sprintf'
Otherwise seems ok.
Dig
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Is MXFlib compatible with Visual Studio 2005 (C++)?
It should work fine.
I do a significant amount of MXFLib development from Visual Studio 2003, but I believe that there are others using 2005.
There is a minor compile issue as noted below.
1>..\..\mxflib\helper.cpp(387) : error C2440: 'initializing' : cannot convert from 'const char *' to 'char *'
char *sep = strchr(p, PATH_SEPARATOR);
should be changed to
char *sep = (char *)strchr(p, PATH_SEPARATOR);
Also - lots of compiler warnings such as ...
1>c:\dev\freemxf\sdk\mxflib/helper.h(86) : warning C4996: 'sprintf': This function or variable may be unsafe. Consider using sprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
1> C:\Program Files\Microsoft Visual Studio 8\VC\include\stdio.h(345) : see declaration of 'sprintf'
Otherwise seems ok.
Dig
I am using Visual Studio 2005 and there is no problem except some warnings.