Cannot Find 64-bit Program File For Library "VXI Library" or "NI-CAN" in LabWindows™/CVI™

Updated Jul 12, 2018

Reported In

Software

  • LabWindows/CVI

Issue Details

I keep getting an error message that says "Cannot find 64-bit program file for library 'VXI Library'" or  "Cannot find 64-bit program file for library 'NI-CAN'"whenever I try to compile my program for 64-bit. I am not using VXI or NI CAN and don't need this dependency so how can I clear this error?

 

Solution

To clear this error do the following:
  1. Go to the toolbar at the top of LabWindows/CVI.
  2. Navigate to Library.
  3. Customize and disable the VXI or CAN checkbox.
  4. Save your project.
  5. Try to compile your code again.