11-30-2021 09:49 AM
I feel like I'm missing something easy. Having trouble building a vi for running in a LINUX RT target. MAYBE I MUST install LabVIEW x64 to build vi's for x64 Linux target?
11-30-2021 10:39 AM
You should be fine with LabVIEW 32-bit. Do you have LabVIEW Real-time installed also?
11-30-2021 11:27 AM
Indeed, I can successfully build for PHarLap targets as well. RT Chassis is currently still PharLap, hoping to move to Linux shortly.
11-30-2021 11:47 AM
There are a few other software packages I would recommend checking that you have installed that are outlined in this KB: https://knowledge.ni.com/KnowledgeArticleDetails?id=kA00Z000001Dd2LSAS&l=en-US. Since you can compile for Phar Lap, my first guesses would be the C/C++ dev tools for Linux. Outside of those installations, I would also recommend ensuring you have LabVIEW RT and Application Builder licensed.
11-30-2021 12:59 PM
This was one of my confusion points... no 2020 version listed, roll with 2017?
11-30-2021 01:34 PM
Correct. We include that as an optional dependency with the VeriStand suite. Once you have that installed, you should not need to interact with the Eclipse environment directly, as the LabVIEW Model Generation will handle the compilation behind the scenes.
11-30-2021 03:05 PM
I installed and followed along far enough to successfully build the Hello world C project. Went back into LabVIEW and have the same failure message. I note when I open one of the created VI's, its broken. Perhaps that is a normal condition?
I would guess that VeriStand is looking at some of the eclipse registry keys to figure out where GCC is located in the file system?
C:\Program Files (x86)\Common Files\Oracle\Java\javapath
C:\Program Files\National Instruments\Shared\OpenVINO\
C:\Program Files (x86)\imc\Shared
C:\Program Files (x86)\imc\shared
C:\Program Files (x86)\IVI Foundation\VISA\WinNT\Bin\
C:\Program Files\IVI Foundation\VISA\Win64\Bin\
C:\Program Files (x86)\IVI Foundation\VISA\WinNT\Bin
C:\Program Files\IronPython 2.7\
C:\Program Files\Microsoft SQL Server\130\Tools\Binn\
C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\DAL
C:\Program Files\Intel\Intel(R) Management Engine Components\DAL
C:\Program Files (x86)\National Instruments\Shared\LabVIEW CLI
C:\Program Files (x86)\IVI Foundation\IVI\bin
C:\Program Files\IVI Foundation\IVI\bin
12-01-2021 01:21 PM
I've not been able to build on three different machines. Maybe someone could create a VI to check the file system for expected components? or also check the registry for expected keys/paths?
12-01-2021 02:47 PM
Does clicking on the Linux x64 target (warning icon) provide any additional information? If you have LabVIEW Real-Time module installed and activated, perhaps the CompactRIO driver is what is causing the issue.
12-01-2021 02:47 PM
Ack... Success! I installed ni-labview-2020-rt-module-x86_20.0_online_repack3 (even though it was already reported as installed) and off it went. Will try same fix on build system #2