Anonymous
Not applicable
Jan 29, 2010
10:02 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Jan 29, 2010
10:02 PM
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.
#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.
1 Reply
Anonymous
Not applicable
Feb 01, 2010
12:39 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Feb 01, 2010
12:39 PM
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.