AnsweredAssumed Answered

ADRF6510 CyAPI.h link with CyAPI.lib

Question asked by AndyCap101 on Aug 12, 2014
Latest reply on Aug 14, 2014 by AndyCap101

Hello,

 

I am trying to write my own program to change the filter fc of the ADRF6510 evaluation board.

I can not seem to create an instance of CCyUSBDevice. I am using Visual Studio 2013 (64-bit) on windows 8. The driver files is, from what I can gather, the latest versions available -

EZ - USB FX3 Software Development Kit - Cypress

 

See the VERY simplified program below.

 

***********************************************************

#include "CyAPI.h"

int main()

{

      CCyUSBDevice* pUSBDevice = new CCyUSBDevice(NULL);

  return 0;

}

***********************************************************

The header file is correctly included and the library file is correctly linked to the project.

 

The error I get is:

: error LNK2019: unresolved external symbol "public: __thiscall CCyUSBDevice::CCyUSBDevice(void *,struct _GUID,int)" (??0CCyUSBDevice@@QAE@PAXU_GUID@@H@Z) referenced in function _main

USBTest.exe : fatal error LNK1120: 1 unresolved externals

 

Is there anything obvious I am doing wrong? Or has someone else also come across this problem (and HOPEFULLY found a solution)?

 

Any information would be greatly appreciated!

Many thanks,

Andy

Outcomes