ENGYS / HELYX-OS

The market leading open-source GUI for OpenFOAM®
Other
114 stars 38 forks source link

Not getting 3D graphics Window #17

Closed Selva1991 closed 5 years ago

Selva1991 commented 6 years ago

Hi, I have installed Helyx-OS 2.3.1 and am not getting the 3D graphics preview. Can you please help me out?? helyx os

HELYX-OS commented 6 years ago

Hi, can you please try to run the HELYX-OS.sh script by adding a "-V" argument? This will print out some debugging information on the terminal which will help us understanding the problem. Can you please put all the output in a "log.txt" file and attach it here?

rajubhai1627 commented 6 years ago

Is it Java to be installed before HELYX OS Installation?

We have error with the VTK setting

Waiting to hear from you

On 19 February 2018 at 13:17, HELYX-OS Development Team < notifications@github.com> wrote:

Hi, can you please try to run the HELYX-OS.sh script by adding a "-V" argument? This will print out some debugging information on the terminal which will help us understanding the problem.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/ENGYS/HELYX-OS/issues/17#issuecomment-366611246, or mute the thread https://github.com/notifications/unsubscribe-auth/AaYj7ZiACdcUkw2KqfkDNRigpaYTARl4ks5tWSccgaJpZM4QUHa4 .

-- With Regards Rajkumar B.E Mobile Number: +919976572195 Linked In http://www.linkedin.com/in/rajkumar-annamalai-707240142/ I Facebook http://www.facebook.com/profile.php?id=100007718867037

HELYX-OS commented 6 years ago

Java is bundled with the HELYX-OS installation, so there is no need for you to install it. I think that the problem is some missing dependency library required by vtk. Can you please do the following? 1) Open a command line and move inside the "ext" folder located inside "/Engys/HELYX-OS/v2.3.1" 2) Run the command "ldd libvtkCommonCoreJava.so" 3) Paste here the output of the command

JimVoul commented 6 years ago

Hello HELYX-OS,

I would like to say that I ran your command and the output was that the file/folder doesn't exist of course. There are many other vtk files and even when I log HELYX-OS, it runs many lines where in about the end, quite a few of them are red colored, meaning that these specific files are missing. There is no any jni folder in /usb/lib/x86_64-linux-gnu/ , so there is a java.lang.unsatisfiedLinkError.

image

I should mention here though, some differences that i have followed compared to the owner of this post. First of all, i am using bash for windows. Secondly, I installed 2.4.0 HELYX-OS and openfoam6.

Note : I just read that : HELYX-OS v2.4.0 is designed to work only with OpenFOAM v4.1 or OpenFOAM v1606+. So I am going to fix this later.

So far so good. However, for some reason, when I installed vtk through "sudo apt-get install vtk6 libvtk6", I had a warning saying that libvtk6 had been updated to libvtk6.2. I said, alright no problem, I got it installed. I would say that openfoam6 was the mistake, but I am wondering why I have several vtk missing files. Could it be due to the updated libvtk6? Or the bash for windows? Any help would be appreciated.

Also, while HELYX-OS opens normally, when I click terminal from the gui, it doesn't open and this is the output. I guess since the specific vtk files are missing that s the issue. In case I am doing something else wrong, I would be grateful once again to be advised accordingly.

image

Thank you in advance,

Jim

stuart-walker commented 6 years ago

Hello. I have the same problem as the OP.

I have installed OpenFOAM 1806, installed HELYX-OS, updated java (as per this tutorial), installed Xming as per this one. I now get the HELYX-OS GUI for the first time, but I see the "cannot display 3D graphics" message and lots of errors in the bash window that appear to be java related. As suggested previously I re-ran the HELYX-OS command with the -V command and attach the resulting log.txt file. log.txt

I would be very grateful for any suggestions anyone can offer! Thanks very much in advance Stuart

HELYX-OS commented 6 years ago

Hi,

1) HELYX-OS does not require any Java installed on your system, the java ruintime environment is already bundled with the installer. Same goes for VTK. There is no need to install this library is already provided by the HELYX-OS package. 2) What linux OS are you using? (Ubuntu, CentOS, ...) 3) Are you using the manufacturer drivers or the nouveau ones? 4) We’ve never tried running HELYX-OS/OpenFOAM using the Ubuntu shell in Windows 10. Instead, we offer a native Windows version to our paid support customers

Cheers

stuart-walker commented 6 years ago

Hi, Thanks for your reply. I'm using ubuntu, through the windows shell as you say. I'm using the standard drivers. It's interesting that you say I don't need to separately install java and VTK. Before I did this the GUI wouldn't open at all, but afterwards it did. I'm not sure why that would be. It appears to work now, apart from the graphics. I realise you offer a windows version for paying customers but in any case I would want to spend some time using it before I could make a case to buy the windows version. If you have any suggestions for setting up the graphics I would be very grateful! If not I'll keep trying. Thanks

HELYX-OS commented 6 years ago

Hi,

by using the windows shell you are probably missing some basic libraries that are available on proper linux systems. By installing vtk you have probably also installed some (but not all) of these libraries. Most likely you are missing some OpenGL libraries that are required by vtk to work inside HELYX-OS. I would suggest using the "ldd" command on the ".so" files located inside the "ext" folder of the HELYX-OS installation folder. This may help you find what's missing. Hope this helps.

Cheers

anl333 commented 5 years ago

Hi,

I solved the issue by installing additional libraries:

sudo apt-get install vtk6 sudo apt-get install libvtk6-java sudo apt-get install openjdk-8-jre sudo apt-get install openjdk-8-jdk sudo apt install libglu1-mesa

It would be nice to have HELYX-OS in the official OPENFOAM distribution.

Cheers

Atulsingh92 commented 4 years ago

If Helyx-os is already gnu open license, then why not have it in Openfoam itself! Would save the trouble of all missing java stuff!!

anusha1113 commented 3 years ago

I am still having problem in installing even after using these: sudo apt-get install vtk6 sudo apt-get install libvtk6-java sudo apt-get install openjdk-8-jre sudo apt-get install openjdk-8-jdk sudo apt install libglu1-mesa

Please let me know how to get through this :(

incimuhammet commented 1 year ago

Hi, Even though I downloaded these files, I still get the same error. Can you help me with this?

sudo apt-get install vtk6 sudo apt-get install libvtk6-java sudo apt-get install openjdk-8-jre sudo apt-get install openjdk-8-jdk sudo apt install libglu1-mesa