如何在 Visual Studio 中编译 Labview CIN?

发布于 2024-07-08 12:45:20 字数 579 浏览 6 评论 0原文

我正在尝试使用 Visual Studio 2003 编译 LabView CIN。

我已按照位于 这里到这封信,但收到以下错误:

项目:错误 PRJ0019:工具从“执行自定义构建步骤”返回错误代码

有谁知道导致此问题的原因是什么? 我尝试了这个在专家交流中找到的链接 问题但它似乎不相关。

有没有更简单的方法使用 Visual Studio 构建 CIN?

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?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

哭泣的笑容 2024-07-15 12:45:20

好的,解决了。

事实证明,这是与 labview 8.5 捆绑在一起的 lsvbutil.exe 的问题。 解决方法是替换为 8.2 版本,

请参阅 http://digital.ni.com/ public.nsf/allkb/0029165B53320B2886257369005826A1

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

过期以后 2024-07-15 12:45:20

请发布整个错误。 您的链接中定义的自定义构建步骤似乎不起作用。

在“自定义构建步骤 -> 常规”页面上,

"$(CINTOOLS_DIR)\lvsbutil" "$(TargetName)" -d "$(ProjectDir)$(OutDir)"

在命令行字段中键入:,并在输出字段中键入 $(OutDir)$(TargetName).lsb

尝试将其粘贴到命令行中并运行它。 我怀疑您没有设置环境变量,或者它们没有指向正确的位置。

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 commandline field and type $(OutDir)$(TargetName).lsb in the output field.

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

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文