It would seem that you’re using the VC6 library posted to the Software Downloads section of the forum. This VC6 library has been updated and is now included in the standard FrontPanel distribution. After installation, look in
c:\Program Files\Opal Kelly\FrontPanel\API
There is a library called okFrontPanel-vc6.lib. That one will include the constructor for the okCUsbXEM3001v2 board.
We try to remove dated attachments from the forum, but that one snuck through. I will post a notice on that topic and remove the attachment. Sorry for the inconvenience.
I tried to use okFrontPanel-vc6.lib, but I have to ignore LIBCD.lib, otherwise I get errormessages. It seem to work now. Should LIBCD.lib be ignored? Or is something still wrong?
I have the same problem as Rick. What is LIBCD.lib and why it gave us such errors like this???
SVCRT.lib(MSVCRT.dll) : error LNK2005: __close already defined in LIBCD.lib(close.obj)
MSVCRT.lib(MSVCRT.dll) : error LNK2005: __lseek already defined in LIBCD.lib(lseek.obj)
LINK : warning LNK4098: defaultlib “MSVCRT” conflicts with use of other libs; use /NODEFAULTLIB:library
LINK : warning LNK4098: defaultlib “LIBCMT” conflicts with use of other libs; use /NODEFAULTLIB:library
Debug/Test_10_02_05.exe : fatal error LNK1169: one or more multiply defined symbols found
I’m not entirely sure how to do it with VC6. However, in the project properties of VC7, there is a frame and configuration point that allows you to “ignore specified libraries”. At that option, you simply list the libs you want to ignore such as “libcd”.