Intel® Integrated Performance Primitives
Deliberate problems developing high-performance vision, signal, security, and storage applications.

IPP samples and Visual Studio 2010 compatibility

martishka
Principiante
749 Vistas
Hi,

I'm having the following issue. I recently switched from Visual Studio 2005 to 2010 and tried to rebuild my custom MPEG4 decoder built from the IPP samples.

I'm getting the following error:

vm_file_win.c(1173): error C2198: 'vswprintf' : too few arguments for call

As it turns out nowvswprintf receives 4 arguments now not 3. This is easily fixed because the buffer has a fixed size.The more important question is: Are the samples tested on Visual Studio 2010 (can there be parts that are compiling but do not work correctly).

Regards,
Martin.
0 kudos
3 Respuestas
pvonkaenel
Nuevo Colaborador III
749 Vistas
Hi Martin,

This probably doesn't help you much since I cannot speak for Intel, but I have been using the samples with VS2010without problem for a long time.

Peter
Sergey_K_Intel
Empleados
749 Vistas
Hi Martin,
Sure, IPP samples are built and tested with VS2010.
Sometimes issues, like you decribed, happen when dealing with many branch projects and their character sets in Property/General are mixed up. Please check you use the same settings of character sets.
BTW, there also was a problem with VS2010 (https://connect.microsoft.com/VisualStudio/feedback/details/465591/vswprintf-yields-either-error-or-warning). I hope they fixed that issue.
Regards,
Sergey
martishka
Principiante
749 Vistas
Thank you Sergey.

The_CRT_NON_CONFORMING_SWPRINTFS preprocessor define did the trick.

Regards,
Martin.
Responder