Intel® Integrated Performance Primitives
Community support and discussions relating to developing high-performance vision, signal, security, and storage applications.
Announcements
Welcome to the Intel Community. If you get an answer you like, please mark it as an Accepted Solution to help others. Thank you!
6593 Discussions

IPP samples and Visual Studio 2010 compatibility

martishka
Beginner
116 Views
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 Replies
pvonkaenel
New Contributor III
116 Views
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
Employee
116 Views
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-...). I hope they fixed that issue.
Regards,
Sergey
martishka
Beginner
116 Views
Thank you Sergey.

The_CRT_NON_CONFORMING_SWPRINTFS preprocessor define did the trick.

Regards,
Martin.
Reply