- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I have been using CyAPI.lib (from Suite USB 3.4.7) successfully as part of a C++ program in Visual Studio 2010 and 2013, however I have recently upgraded to VS2015 and it is now producing linker errors regarding a _sprintf() function call within the lib file.
Has anyone found a solution or workaround for this or must I return to VS2013?
Many thanks,
Chris
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I am having the same Issue with Dev Studio 2015 Please let me know the resolutions..
CySuiteUSB_3_4_7_B204
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I am having the same Issue with Dev Studio 2015 Please let me know the resolutions..
CySuiteUSB_3_4_7_B204
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Same linking problem here :
LNK2001 : unresolved external symbol _sprintf
We have EZ-USB FX3 SDK 1.3.3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I am also seeing this issue. ANy plans to fix it? Or is there a workaround?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I found the answer myself. This is a general problem in VS2015 using C++ libraries compiled with an older Visual Studio version. Microsoft have made some breaking changes explained in the link below (scroll down to the section "<Stdio.h> and <Conio.h>")
https://msdn.microsoft.com/en-us/library/bb531344.aspx#BK_CRT
Looks like you will have to link in legacy_stdio_definitions.lib until Cypress issue a VS2015 version of CyAPI.lib