Sunday, February 13, 2011

How can I compile a Labview CIN in Visual Studio? [RESOLVED]

I am trying to compile a labview CIN using visual studio 2003.

I have followed the tutorial located here to the letter, but am getting the following error:

Project : error PRJ0019: A tool returned an error code from "Performing Custom Build Step"

Does anyone know what is causing this? I tried this link found at an expert's exchange question but it does not seem relevant.

Is there an easier way to build a CIN using visual studio?

  • Please post the entire error. It appears that the custom build step defined in your link does not work.

    On the Custom Build Step»General page, type "$(CINTOOLS_DIR)\lvsbutil" "$(TargetName)" -d "$(ProjectDir)$(OutDir)" in the Command Line field and type $(OutDir)$(TargetName).lsb in the Outputs field.

    Try pasting that into a command line and running it. I suspect you have not got the env variables set or they are not pointing to the right places.

    alex77 : Thanks for your help. Turns out it was an issue with the version of lsvbutil.exe I had.
    From Tim
  • Ok, solved it.

    Turns out it's an issue with the lsvbutil.exe bundled with labview 8.5. Workaround is to replace with the version from 8.2

    See http://digital.ni.com/public.nsf/allkb/0029165B53320B2886257369005826A1

    From alex77

0 comments:

Post a Comment