|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools |
Rating:
|
Display Modes |
|
|
|
#1
|
||||
|
||||
|
Installing LabVIEW on Linux through WINE?
Wondering if anyone had any luck doing so?
I've managed to install it (though certain components of the installation failed), and LabVIEW even loads up and everything. Only problem with that is that either the NI RIO product or the Utilities update failed to install because of a missing component (can't remember which), so I can't even access an entire realtime target project. I can edit individual SubVI's though, and am currently looking for solutions to get everything to install properly. (Using Ubuntu 12.10 Quantal) |
|
#2
|
|||
|
|||
|
Re: Installing LabVIEW on Linux through WINE?
can you install labVIEW on imac????
|
|
#3
|
||||
|
||||
|
Re: Installing LabVIEW on Linux through WINE?
WINE is also supported in Mac, so if we manage to install it through WINE, I don't think the hosting operating system would matter much.
In addition, my teammate installed LabVIEW on some sort of virtual machine that he used back then, where he could "slide" in and out of his VM-installed Windows 7. It was kinda cool and it worked pretty fast, but he had some sort of connection issues keeping him from connecting to our cRIO. He managed to solve it lately so I'll ask him all about it the next time I see him. |
|
#4
|
|||
|
|||
|
Re: Installing LabVIEW on Linux through WINE?
Remember, Wine Is Not an Emulator.
I'm running on a (worse-for-wear) mid 2011 MacBook Pro 13" with 8gb of RAM and a 2.4GHz Intel Core 2 Duo. Within said Mac, I'm running Windows 7 Ultimate via Parallels Desktop Build 7.0.14920 (Revision 689535; August 30, 2011). This allowed our team to run every piece of the FRC LabVIEW Software (sans Kinect), as well as run the robot at the WPI Regional, due to a failed harddrive in our dedicated DS. To get your virtual machine to properly interface with the FMS during competition and robot during the build, you must use the handy "Network" dropdown menu under Devices on the upper Mac menu bar. During an actual match or tethered testing, you'll want to select Ethernet-->Bridged. During the build season, you must select AirPort-->Bridged to interface with the DLink. Once you have properly bridged your network connections, you'll need to go to "Open Network and Sharing Center"-->"Change Adapter Settings"-->Right click your NIC-->"Properties"-->"Internet Protocol Version 4(TCP/IPv4)''-->''Properties''-->"Use the following IP address''-->IP: 10.te.am.9, Subnet: 255.0.0.0''-->Ok x2. You're all set. (Note: Keep your wireless/wired settings on Mac OS X clear, as if you were about to brows the open internet.) Optionally, you can use BetterTouchTool (free) to configure gestures to toggle between Windows 7 and Mac OS X. Both Windows and BetterTouchTool run as smooth as butter, and I would argue that Windows runs much better under Parallels. If you need any help with Parallels, drop me a PM. I can most certainly offer more detailed install instructions. Dom |
|
#5
|
|||
|
|||
|
Re: Installing LabVIEW on Linux through WINE?
I generally have pretty good luck using LV on VMs, and they are used extensively for development. I have no experience with WINE and LV RT. RT relies on quite a few drivers. You may want to replicate this question to the NI forums and see if they have suggestions.
Greg McKaskle |
|
#6
|
||||
|
||||
|
Re: Installing LabVIEW on Linux through WINE?
DominickC - I know Wine is not an emulator (obviously), I mentioned VM's as a side note because it seemed to work well with my teammate's Mac, so if that Mac user in this thread is looking for a solution whether it's a VM or not, Parallels is probably the way to go.
Greg - I might go for a VM eventually but I tend to get things working with Wine most of the time, so I'll give it a few more days before I give up. I'm not a student anymore and I have quite a bit of free time on my hands during this season so you know, worths a shot ![]() Also, regarding the NI forums suggestion - will do tomorrow. Thank you! |
|
#7
|
||||
|
||||
|
Re: Installing LabVIEW on Linux through WINE?
I am trying to run the installation on ubuntu 12.10 with wine, and I get an error installing every component.
This is one error I am getting: Code:
Structured Exception number 0xC0000005 Exception Report: Exception code: C0000005 (ACCESS_VIOLATION) Fault address: 7D7790FF 0001:000480FF C:\windows\system32\msi.dll Registers: EAX:00000038 EBX:7D7E4000 ECX:00EE30D8 EDX:00000000 ESI:00E9FF08 EDI:001564B0 CS:EIP:00237D7790FF SS:ESP:002B00C2E208 EBP:00C2E250 DS:002B ES:002B FS:0063 GS:006B Flags:00010202 Stack Trace Address Frame LogicalAddr Module SymbolName + Offset 7D7790FF 00C2E250 0001:000480FF C:\windows\system32\msi.dll 7D75B88F 00C2E2E0 0001:0002A88F C:\windows\system32\msi.dll 7D7484E3 00C2E330 0001:000174E3 C:\windows\system32\msi.dll 7D777B41 00C2E380 0001:00046B41 C:\windows\system32\msi.dll MsiDoActionW + 97 005DAA04 00C2E63C 0001:001D9A04 D:\Resources\Distributions\LabVIEW 2012\setup.exe 0049125F 00C2E678 0001:0009025F D:\Resources\Distributions\LabVIEW 2012\setup.exe Has anyone else had this error? |
|
#8
|
|||
|
|||
|
Re: Installing LabVIEW on Linux through WINE?
That looks to me like the MSI -- Microsoft Installer dll crashed. It is an OS library that compares registry info and installer package info and decides that needs to be installed, etc. It is pretty crucial.
Greg McKaskle |
|
#9
|
||||
|
||||
|
Re: Installing LabVIEW on Linux through WINE?
Quote:
Would a deletion of the wine prefix fix it do you think? EDIT: I only need the driver station support, if that changes anything. EDIT: I deleted the wine prefix, and retried the installer. But now I get an error whenever I try to open the Driver Station. This is what WINE says: Code:
Unhandled exception: page fault on read access to 0x06000006 in 32-bit code (0x06000006).
Register dump:
CS:0023 SS:002b DS:002b ES:002b FS:0063 GS:006b
EIP:06000006 ESP:0033d610 EBP:0033d878 EFLAGS:00010202( R- -- I - - - )
EAX:03321640 EBX:00000000 ECX:00000000 EDX:0033d5ac
ESI:00000000 EDI:00a3aac0
Stack dump:
0x0033d610: 300237f4 00000000 00a9783c 00000001
0x0033d620: 00000000 02bc7280 30933fdc 00900010
0x0033d630: 30933ff8 00000000 0033d9b0 0033d650
0x0033d640: 3093351e 00000000 308084d0 02bc7280
0x0033d650: 0033d894 307d69d3 02bc7280 00000000
0x0033d660: 00a9783c 00000010 00000000 00000000
000c: sel=0067 base=00000000 limit=00000000 16-bit --x
Backtrace:
=>0 0x06000006 (0x0033d878)
1 0x30023977 in lvrt (+0x23976) (0x0033d8a0)
2 0x3002424f in lvrt (+0x2424e) (0x0033dc6c)
3 0x300250c4 in lvrt (+0x250c3) (0x0033dc8c)
4 0x30027bc4 in lvrt (+0x27bc3) (0x0033dcb0)
5 0x300282b2 in lvrt (+0x282b1) (0x0033e14c)
6 0x30092920 in lvrt (+0x9291f) (0x0033e164)
7 0x3065107b in lvrt (+0x65107a) (0x0033e18c)
8 0x3064fa43 in lvrt (+0x64fa42) (0x0033e214)
9 0x302f543d in lvrt (+0x2f543c) (0x0033e28c)
10 0x302f8c60 in lvrt (+0x2f8c5f) (0x0033e63c)
11 0x3024c0d2 in lvrt (+0x24c0d1) (0x0033e68c)
12 0x3024c356 in lvrt (+0x24c355) (0x0033e7f8)
13 0x302f3cbd in lvrt (+0x2f3cbc) (0x0033eacc)
14 0x302f4373 in lvrt (+0x2f4372) (0x0033ec68)
15 0x300f78af in lvrt (+0xf78ae) (0x0033f574)
16 0x3084f987 in lvrt (+0x84f986) (0x0033f5b8)
17 0x308e9115 in lvrt (+0x8e9114) (0x0033f5c8)
18 0x3084fa9c in lvrt (+0x84fa9b) (0x0033f60c)
19 0x30873148 in lvrt (+0x873147) (0x0033f614)
20 0x308e8709 in lvrt (+0x8e8708) (0x0033f630)
21 0x30872399 in lvrt (+0x872398) (0x0033f684)
22 0x30028f4c in lvrt (+0x28f4b) (0x0033f71c)
23 0x300290f2 in lvrt (+0x290f1) (0x0033fc90)
24 0x30029160 in lvrt (+0x2915f) (0x0033fca0)
25 0x00401142 in driver station (+0x1141) (0x30029150)
0x06000006: addb %al,0x0(%eax)
Modules:
Module Address Debug info Name (154 modules)
PE 3f0000- 3fc000 Deferred qtmanager452_2012
PE 400000- 5c7000 Export driver station
PE 1310000- 1472000 Deferred nilmclient
PE 1480000- 14c4000 Deferred xerces-depdom_2_6
PE 14d0000- 154c000 Deferred msvcp71
PE 1c20000- 1cb9000 Deferred nitaglv
PE 1cc0000- 1cf9000 Deferred lkdynam
PE 1d00000- 1d28000 Deferred lksec
PE 1d30000- 1da6000 Deferred lksock
PE 1db0000- 1de7000 Deferred lkbrow
PE 1df0000- 1e46000 Deferred lkrealt
PE 2f50000- 2f58000 Deferred nicyapi
PE 3060000- 30cb000 Deferred lvsound2
PE 31e0000- 31e6000 Deferred crc
PE 31f0000- 3204000 Deferred lvinput
PE 3320000- 332b000 Deferred dncinterface120
PE 10000000-10021000 Deferred nicpulib
PE 12000000-12241000 Deferred xerces-c_2_6
PE 30000000-30dae000 Export lvrt
PE 31000000-31023000 Deferred nationalinstruments.labview120
PE 65000000-657b3000 Deferred niqtgui_2012
PE 67000000-67221000 Deferred niqtcore_2012
PE 783f0000-78433000 Deferred msvcm90
PE 78480000-7850e000 Deferred msvcp90
PE 78520000-785c3000 Deferred msvcr90
ELF 7b800000-7ba29000 Deferred kernel32<elf>
\-PE 7b810000-7ba29000 \ kernel32
ELF 7bc00000-7bcc3000 Deferred ntdll<elf>
\-PE 7bc10000-7bcc3000 \ ntdll
ELF 7bf00000-7bf04000 Deferred <wine-loader>
PE 7c360000-7c3b6000 Deferred msvcr71
ELF 7e5c1000-7e5f5000 Deferred uxtheme<elf>
\-PE 7e5d0000-7e5f5000 \ uxtheme
ELF 7e5f5000-7e5fc000 Deferred libxfixes.so.3
ELF 7e5fc000-7e607000 Deferred libxcursor.so.1
ELF 7e67c000-7e6a4000 Deferred libexpat.so.1
ELF 7e6a4000-7e6dc000 Deferred libfontconfig.so.1
ELF 7e6dc000-7e6ec000 Deferred libxi.so.6
ELF 7e6ec000-7e6f7000 Deferred libxrandr.so.2
ELF 7e6f7000-7e701000 Deferred libxrender.so.1
ELF 7e701000-7e707000 Deferred libxxf86vm.so.1
ELF 7e707000-7e70b000 Deferred libxinerama.so.1
ELF 7e70b000-7e72d000 Deferred imm32<elf>
\-PE 7e710000-7e72d000 \ imm32
ELF 7e72d000-7e74f000 Deferred libxcb.so.1
ELF 7e74f000-7e769000 Deferred libice.so.6
ELF 7e769000-7e89f000 Deferred libx11.so.6
ELF 7e89f000-7e8b1000 Deferred libxext.so.6
ELF 7e8b1000-7e8ba000 Deferred libsm.so.6
ELF 7e8d3000-7e967000 Deferred winex11<elf>
\-PE 7e8e0000-7e967000 \ winex11
ELF 7e967000-7e980000 Deferred libz.so.1
ELF 7e980000-7ea1a000 Deferred libfreetype.so.6
ELF 7ea28000-7ea2c000 Deferred libxcomposite.so.1
ELF 7ea2c000-7ea33000 Deferred libxdmcp.so.6
ELF 7ea33000-7eb2c000 Deferred comctl32<elf>
\-PE 7ea40000-7eb2c000 \ comctl32
ELF 7eb2c000-7eb8e000 Deferred advapi32<elf>
\-PE 7eb40000-7eb8e000 \ advapi32
ELF 7eb8e000-7ec4b000 Deferred gdi32<elf>
\-PE 7eba0000-7ec4b000 \ gdi32
ELF 7ec4b000-7ed8b000 Deferred user32<elf>
\-PE 7ec60000-7ed8b000 \ user32
ELF 7ed8b000-7ed98000 Deferred libnss_files.so.2
ELF 7ed98000-7edb2000 Deferred libnsl.so.1
ELF 7edb2000-7edbb000 Deferred libnss_compat.so.2
ELF 7efbb000-7efe7000 Deferred libm.so.6
ELF 7efe7000-7f000000 Deferred version<elf>
\-PE 7eff0000-7f000000 \ version
ELF f55ba000-f5618000 Deferred dbghelp<elf>
\-PE f55c0000-f5618000 \ dbghelp
ELF f5618000-f5648000 Deferred mscoree<elf>
\-PE f5620000-f5648000 \ mscoree
ELF f5648000-f5664000 Deferred dinput8<elf>
\-PE f5650000-f5664000 \ dinput8
ELF f5664000-f568f000 Deferred msvcr80<elf>
\-PE f5670000-f568f000 \ msvcr80
ELF f6447000-f64ae000 Deferred setupapi<elf>
\-PE f6450000-f64ae000 \ setupapi
ELF f6511000-f653c000 Deferred netapi32<elf>
\-PE f6520000-f653c000 \ netapi32
ELF f653c000-f65c9000 Deferred msvcrt<elf>
\-PE f6550000-f65c9000 \ msvcrt
ELF f65c9000-f65e7000 Deferred wintab32<elf>
\-PE f65d0000-f65e7000 \ wintab32
ELF f65e7000-f660d000 Deferred mpr<elf>
\-PE f65f0000-f660d000 \ mpr
ELF f660d000-f667c000 Deferred wininet<elf>
\-PE f6620000-f667c000 \ wininet
ELF f667c000-f6700000 Deferred urlmon<elf>
\-PE f6690000-f6700000 \ urlmon
ELF f680b000-f686e000 Deferred ieframe<elf>
\-PE f6810000-f686e000 \ ieframe
ELF f686e000-f688c000 Deferred libgcc_s.so.1
ELF f688c000-f68a7000 Deferred spoolss<elf>
\-PE f6890000-f68a7000 \ spoolss
ELF f68a7000-f68c8000 Deferred localspl<elf>
\-PE f68b0000-f68c8000 \ localspl
ELF f68c8000-f68d1000 Deferred librt.so.1
ELF f68d1000-f68d6000 Deferred libgpg-error.so.0
ELF f68d6000-f68ed000 Deferred libresolv.so.2
ELF f68ed000-f68f1000 Deferred libkeyutils.so.1
ELF f68f1000-f693b000 Deferred libdbus-1.so.3
ELF f693b000-f694f000 Deferred libp11-kit.so.0
ELF f694f000-f69d3000 Deferred libgcrypt.so.11
ELF f69d3000-f69e5000 Deferred libtasn1.so.3
ELF f69e5000-f69ee000 Deferred libkrb5support.so.0
ELF f69ee000-f69f3000 Deferred libcom_err.so.2
ELF f69f3000-f6a1b000 Deferred libk5crypto.so.3
ELF f6a1b000-f6ae9000 Deferred libkrb5.so.3
ELF f6ae9000-f6afb000 Deferred libavahi-client.so.3
ELF f6afb000-f6b09000 Deferred libavahi-common.so.3
ELF f6b09000-f6bcd000 Deferred libgnutls.so.26
ELF f6bcd000-f6c0a000 Deferred libgssapi_krb5.so.2
ELF f6c0a000-f6c69000 Deferred libcups.so.2
ELF f6c6c000-f6c80000 Deferred msimg32<elf>
\-PE f6c70000-f6c80000 \ msimg32
ELF f6cb0000-f6d25000 Deferred gdiplus<elf>
\-PE f6cc0000-f6d25000 \ gdiplus
ELF f6d25000-f6d39000 Deferred psapi<elf>
\-PE f6d30000-f6d39000 \ psapi
ELF f6d39000-f6d5b000 Deferred iphlpapi<elf>
\-PE f6d40000-f6d5b000 \ iphlpapi
ELF f6d5b000-f6d8d000 Deferred ws2_32<elf>
\-PE f6d60000-f6d8d000 \ ws2_32
ELF f6d8d000-f6da8000 Deferred wsock32<elf>
\-PE f6d90000-f6da8000 \ wsock32
ELF f6da8000-f6dd0000 Deferred msacm32<elf>
\-PE f6db0000-f6dd0000 \ msacm32
ELF f6dd0000-f6e7d000 Deferred winmm<elf>
\-PE f6de0000-f6e7d000 \ winmm
ELF f6e7d000-f6f6f000 Deferred oleaut32<elf>
\-PE f6e90000-f6f6f000 \ oleaut32
ELF f6f6f000-f6fe5000 Deferred rpcrt4<elf>
\-PE f6f80000-f6fe5000 \ rpcrt4
ELF f6fe5000-f70ec000 Deferred ole32<elf>
\-PE f7000000-f70ec000 \ ole32
ELF f70ec000-f7126000 Deferred winspool<elf>
\-PE f70f0000-f7126000 \ winspool
ELF f7126000-f7190000 Deferred shlwapi<elf>
\-PE f7130000-f7190000 \ shlwapi
ELF f7190000-f73a3000 Deferred shell32<elf>
\-PE f71a0000-f73a3000 \ shell32
ELF f73a3000-f7482000 Deferred comdlg32<elf>
\-PE f73b0000-f7482000 \ comdlg32
ELF f7482000-f7488000 Deferred libuuid.so.1
ELF f7489000-f748e000 Deferred libdl.so.2
ELF f748e000-f7638000 Deferred libc.so.6
ELF f7639000-f7654000 Deferred libpthread.so.0
ELF f7655000-f7659000 Deferred libxau.so.6
ELF f7660000-f766c000 Deferred libnss_nis.so.2
ELF f766d000-f77af000 Dwarf libwine.so.1
ELF f77b1000-f77d3000 Deferred ld-linux.so.2
ELF f77d3000-f77d4000 Deferred [vdso].so
Threads:
process tid prio (all id:s are in hex)
0000000e services.exe
00000710 0
0000001e 0
00000015 0
00000010 0
0000000f 0
00000012 winedevice.exe
0000001c 0
00000019 0
00000014 0
00000013 0
0000001a plugplay.exe
00000020 0
0000001d 0
0000001b 0
00000021 explorer.exe
00000022 0
00000027 setup.exe
00000028 0
00000721 (D) C:\Program Files (x86)\FRC Driver Station\Driver Station.exe
0000072c 0
0000072b 0
0000072a 0
00000729 0
00000728 0
00000727 15
00000726 0
00000725 0
00000724 15
00000722 0 <==
System information:
Wine build: wine-1.4.1
Platform: i386 (WOW64)
Host system: Linux
Host version: 3.5.0-22-generic
Last edited by DaboRoss : 24-01-2013 at 23:27. |
|
#10
|
|||
|
|||
|
Re: Installing LabVIEW on Linux through WINE?
I use VMs quite a bit, but have never used WINE. Perhaps someone else knows some tricks, or perhaps you should use a VM or dual-boot.
Greg McKaskle |
|
#11
|
|||
|
|||
|
Re: Installing LabVIEW on Linux through WINE?
The only problem I've had while using a vm (it was an older stable version of WINE, though) is that the NI installer for FRC things does a windows version check -- which for some reason I couldn't get to pass.
Other problems people have had are not properly forwarding connections for deploys. This seemed to either be a driver issue or an improperly configured Fedora 15 Core problem, however. |
|
#12
|
||||
|
||||
|
Re: Installing LabVIEW on Linux through WINE?
I would rather not install a VM just to run the driver station if I can get it installed on wine. Has anyone else had that error I posted above?
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|