WINE installation of self-developed scientific software

Open forum for end-user questions about Wine. Before asking questions, check out the Wiki as a first step.
Forum Rules
Locked
ldv1452
Newbie
Newbie
Posts: 4
Joined: Sat Oct 03, 2015 4:06 pm

WINE installation of self-developed scientific software

Post by ldv1452 »

Hi everyone!

I have created a free scientific software using Windows Visual Studio (http://sourceforge.net/projects/fruits/). However, I am not a professional programmer. I would like to make the program accessible to Linux and Mac users and WINE seems to be the right tool. I have installed the program using WINE and during the installation process I included the .NET 4.0 dependencies. The program for the most part works well! However, some graphs are not plotted. I suspect that the problem lies in some functionalities provided by .NET.

I have tried different options in NET 4.0 to force the embedding of some .NET dlls that I suspect create the graphical options that are not working properly. However, this did not work. I am also not sure if the options I tested were the best. I have been working on this for several days, checking the Internet, and trying different possibilities without success.

I would be grateful for any suggestions on trying to sort this out either from the programming side or from the WINE side.

All the best,

Ricardo
User avatar
dimesio
Moderator
Moderator
Posts: 13367
Joined: Tue Mar 25, 2008 10:30 pm

Re: WINE installation of self-developed scientific software

Post by dimesio »

I downloaded the app; native gdiplus will get the box plots to render, which I assume is the problem you are talking about. That's just a workaround, though; you should file a bug for the deficiency in Wine's gdiplus.
ldv1452
Newbie
Newbie
Posts: 4
Joined: Sat Oct 03, 2015 4:06 pm

Re: WINE installation of self-developed scientific software

Post by ldv1452 »

Thank you dimesio! Indeed the box plots not rendering was one of the problems. The other issues are also related with graphs and I suspect the same reason will apply.

Before reporting the bug I would like to first replicate your workaround and check if all is working. I've tried to include the gdiplus dll in the exe and/or system32 folders and registering but this did not work. Could you please let me know a bit more how you managed?
User avatar
dimesio
Moderator
Moderator
Posts: 13367
Joined: Tue Mar 25, 2008 10:30 pm

Re: WINE installation of self-developed scientific software

Post by dimesio »

I installed dotnet40 and gdiplus with winetricks, then installed your program. This was in a clean, 32 bit wineprefix using Wine 1.7.52. (.NET does not work in 64 bit wineprefixes.)
ldv1452
Newbie
Newbie
Posts: 4
Joined: Sat Oct 03, 2015 4:06 pm

Re: WINE installation of self-developed scientific software

Post by ldv1452 »

Thank you again dimesio! This worked perfectly! One thing: when using winetricks and selecting gdiplus a very large file was downloaded (service pack?). The software worked fine but it also worked with gdiplus_winxp which as a much smaller download.

I am interested in reporting this gdiplus bug but some advice would be appreciated. Where should I do this? Do you advise anything on the formulation of the bug?
User avatar
dimesio
Moderator
Moderator
Posts: 13367
Joined: Tue Mar 25, 2008 10:30 pm

Re: WINE installation of self-developed scientific software

Post by dimesio »

Follow these guidelines: http://wiki.winehq.org/Bugs.
ldv1452
Newbie
Newbie
Posts: 4
Joined: Sat Oct 03, 2015 4:06 pm

Re: WINE installation of self-developed scientific software

Post by ldv1452 »

Will do! Thank you!
Locked