Labview .VI application from Window to Linux application - linux

Due to now I just finish my application .VI and compile .exe (Windows with Labview).
Then if I want to take my application from windows to linux. And running on linux without MONO or Wine. Because I want to interface with NI-6008.
How can I do?(Step by step)
Please help me. Thank You.

AFAIK, LabVIEW does not offer Windows->Linux cross-compilation e.g. see here. So you must have a licensed and installed version of LabVIEW for Linux. Then you move the project files (or just the VI file) and build it anew in Linux.

If you have the NI LabWindows™/CVI™ Run-Time Module for Linux, you use a Windows machine to compile to supported Linux distributions.

Related

How do I set up the delphi development environment in Ubuntu?

I started developing Delphi, but I do not know how to use Delphi in Linux.
You can't use Delphi itself in Linux directly, as the Delphi IDE and compilers are all Windows-only executables. So, to run Delphi on a Linux system, you would have to run it inside of a Windows-based virtual machine running on Linux.
However, Delphi 10.2 Tokyo and later include a compiler that can create executables that run natively on Linux.
Unfortantley you cannot run Delphi in Linux. But there is an amazing alternative. It is called Lazarus! It will run on Linux, Mac or Windows. Get it at https://www.lazarus-ide.org/
I am actually surprised Lazarus isn't one of the most popular desktop development tools. If you find it useful and you are capable you should also contibute to the project. It has come a long ways in the past 10 years and with it I don't think you will need to even consider running Delphi on Linux. Lazarus with FreePascal is sufficient!
Also maXbox runs on Linux with a lot of scripts and also python for delphi.
we need Wine to run the scripting engine on debian linux.
maXbox is a script tool engine, compiler and source lib all in one exe to design and code your scripts in a shellbook! Pure Code for Object Scripting. Principle is simplicity and reduce to the max.
The App is “out of the box” (self containment) and needs no installation nor registration.
Release Notes maXbox 4.7.5.90 October 2021 mX47
Add 14 Units + 2 Tutorials
https://sourceforge.net/projects/maxbox/

Running Qt application built for Linux, on windows

I have a Qt application which I built on Linux. I would like to run the same application on Windows. Is it possible? If yes, how? The Qt application software that I downloaded and used, is version 4.7.4.
Is it possible? If yes, how?
Yes, it is possible if the application is cross-compiled for Windows target on Linux.
You would need to have the mingw compiler installed on the Linux box when building the application for Windows. You would also need to make sure to use the proper `-mkspec- option for qmake.
If this is missed while building the application on Linux, it is probably not cross-compiling, so you would not be able to run the code on Windows off-hand unless you have a virtual machine installed for Linux, in which case you could do it, for sure.
You can install a Windows alongside your Linux and install VS2010 and Qt 4.8.* libraries for windows and compile your project there. You may need to make some changes to your source code in order to be compatible with Qt 4.8.* .

Using the Intel Fortran Composer XE for Linux under Cygwin

I have previously used the GNU FORTRAN compiler gfortran. But since the Intel FORTRAN compiler for Linux is available for personal non-commercial use I decided to give it a try. Is it possible to use it under Cygwin? I wouldn't know where to begin to get it to work, so all help is welcome.
My earlier comment turned into an answer of sorts ...
At first glance an interesting question. But what will you do with the executables that the compiler creates, if you manage to get that far ? I doubt that you will, but if you did you would have a Linux executable on a Windows platform (and cross-compiling for Windows from Linux is not supported by the Intel compiler). Don't forget that Cygwin is not Linux, it's a (DOS/Windows) program that provides Windows users with some of the facilities that Linux provides its users. To run an executable from the Cygwin command line the executable must have been built for DOS/Windows.
You might, and I have no experience either way, get further installing a Linux VM on your Windows PC and installing the compiler on the VM. You're still not going to get Windows executables out of a Linux compiler, but you would get, if success greeted you, executables running under the VM.

Does NDepend run on Mono/Linux?

I'd like to use NDepend at home for an open source project, but I can't find if it run on linux with mono 2.6.8.
Any one have succesfully used it on a mono only machine?
The console version may work. The GUI version definitely won't.
NDepend reads the IL code in the dll's.
If you have a windows machine you could copy the dll's to the windows machine and run the analysis there.
Since version 2021.2 NDepend analysis and reporting can run on Linux and macOS upon the net5.0 runtime (net6.0, net7.0 runtimes supported soon).
See this documentation to get started: Getting Started with NDepend on Linux and macOS

NSIS support for Linux and Solaris

Does NSIS support Linux and Solaris? I read somewhere that we can compile nsis script on Linux but cant execute the .exe generated on any other platforms but Windows. Can somebody put more light in this?
No.
See the NSIS feature list for more information ...
Portable Compiler
The NSIS compiler can be compiled for POSIX platforms like
Linux and *BSD. Generated installer
will still run on Windows only, but
this way they can be generated without
Windows or WINE.
You can compile installers on POSIX and Windows systems, but it always produces a Win32 PE file that only runs on Windows (And maybe under WINE on *nix)
Check the NSIS manual for more info
The installer systems for Windows and Linux are completely different.
Whereas Windows' only contribution to a software management system is one registry entry pointing to the uninstaller, Linux has a full working software management system. There are apt, yum, pacman and many more out there, which are supporting many more features and possibilities including automatic execution of scripts and pulling in/installing dependencies. If you have a cross platform application you wanna share, you're either stuck with creating a tar-ball, or you learn how to build deb/rpm etc. packages.
Linux and Windows are not binary compatible, so you can't do that.
But, most of the windows binary installer could able to install at WINE

Resources