I want to design a Data acquisition card. to use c++ builder to design upper computer's code.I had load the cyapi.lib in my project.In code,declare #include "cyioctl.h" #include "CyAPI.h" first,and in window initialize function I only write one line of code CCyUSBDevice *USBDevice = new CCyUSBDevice(); then run,compiler report wrong : [Linker Error] Unresolved external 'CCyUSBDevice::CCyUSBDevice(void *, _GUID)' referenced from D:\WORK\USB开发板\BCB\UNIT1.OBJ who can help me?many thanks.
It looks like the Linker is having problems finding the library file. There's probably a dialog box with a whole bunch of Linker options, one of deals with external libraries. Make sure cyapi.lib is listed and make sure it's in a directory that the linker can find.