05-04-2009 07:09 AM
Hello folks,
I hope I'm posting this in the correct forum.
I'm developing a CAN (NICAN) program in C++ using MS Visual Studio 2008. I have found the nican.h, but I haven't been able to find nicanmsc.lib.
Any assistance is greatly appreciated.
Thanks,
Chris Hassan
Solved! Go to Solution.
05-05-2009 11:39 AM
Chris,
Check out C:\Program Files\National Instruments\NI-CAN\MS Visual C
Regards,
12-11-2013 01:07 PM
I think I had to check "NI-CAN" when installing/changing labview to get the "NI-CAN" directory. I tried using the file in an x64 .c program in MSVS and get a bunch of link errors. Win32 platform mode work ok, but I have java x64 bin and I think I will need x64 bit nicanmsc.lib to be able to do JNI on a 64 bit java with c and JNI and java.
12-11-2013 01:13 PM
here are the error I got when trying to build a x64 bit "c" program with nicanmsc.lib error LNK2019: unresolved external symbol ncCloseObject referenced in function main C:\Users\...\can.obj CAN error LNK2019: unresolved external symbol ncConfig referenced in function main C:\Users\...\can.obj CAN error LNK2019: unresolved external symbol ncOpenObject referenced in function main C:\Users\...\can.obj CAN error LNK2019: unresolved external symbol ncReadMult referenced in function main C:\...\can.obj CAN error LNK2019: unresolved external symbol ncStatusToString referenced in function PrintStat C:\Users\...\can.obj CAN error LNK1120: 5 unresolved externals C:\Users\...\x64\Debug\CAN.dll 1 1 CAN
12-11-2013 02:28 PM
Attached is a picture of the NI-CAN that has the nicanmsc.lib The NI-CAN is in: National Instruments Device Drivers Disk Then in the tree: Communication Buses and Protocols NI-CAN 2.7.5 etc... I think you need to check this in order to get the nicanmsc.lib Maybe you also need to check the LabVIEW 2013 (32-bit) Support Examples Microsoft Visual C Support Examples