Open vikramshenoyhandiru opened 3 years ago
Hi Vikram,
I'm not particularly handy with C#, but I think the issue is caused because you are using V2 of the C# compiler (even though your STDOUT suggests it's v8, the c# compiler versioning system is a bit confusing. I have used V4 in the past:
C:\Windows\Microsoft.NET\Framework\v4.0.30319\csc.exe
Microsoft (R) Visual C# Compiler version 4.8.4084.0
for C# 5
Can you try and track down a V4 csc.exe on your machine? Looks like you could also download a compatible compiler from the Mono project, but personally I have no experience with this.
If the compiler version is the culprit, I will update the README accordingly.
It's worth mentioning also that this tool still relies upon the WSL and an Xclient, so issues you have with Xming will likely still persist. We can cross that bridge after we've sorted the compile :)
Best,
Rich
Hi Richard,
I came across your wonderful repo on GITHUB as I was trying to install FSL on Windows Subsystem for Linux. For some reason, I could not get Fsleyes to work on my laptop. I suspect the issue is with the xming not being able to display the GUI. FSL and Fslmaths are installed without any issues. All I need is Fsleyes to work. Your solution seems to be a good workaround, so I tried to install fsleyes for windows as per your tutorial info.
However, I am getting errors while compiling fsleyes.cs. Could you please help resolve this?
Below is the error message:
PS C:\Users\Vikram\fsl> C:\Windows\Microsoft.NET\Framework64\v2.0.50727\csc.exe /target:winexe fsleyes.cs /win32icon:fsleyes.ico Microsoft (R) Visual C# 2005 Compiler version 8.00.50727.9149 for Microsoft (R) Windows (R) 2005 Framework version 2.0.50727 Copyright (C) Microsoft Corporation 2001-2005. All rights reserved.
fsleyes.cs(40,47): error CS1525: Invalid expression term 'object' fsleyes.cs(40,54): error CS1002: ; expected fsleyes.cs(40,54): error CS1525: Invalid expression term ',' fsleyes.cs(40,56): error CS1002: ; expected fsleyes.cs(40,79): error CS1002: ; expected fsleyes.cs(40,79): error CS1525: Invalid expression term ')' fsleyes.cs(40,82): error CS1525: Invalid expression term '>' fsleyes.cs(40,84): error CS1002: ; expected fsleyes.cs(44,40): error CS1525: Invalid expression term 'object' fsleyes.cs(44,49): error CS1525: Invalid expression term '>' fsleyes.cs(44,51): error CS1002: ; expected