MPI-IS / mesh

MPI-IS Mesh Processing Library
Other
643 stars 147 forks source link

Error running on Virtual Machine #63

Open 007rohitSaini opened 2 years ago

007rohitSaini commented 2 years ago

I tries running Mesh on Ubuntu Virtual Machine. meshviewer view teddy.obj give result

INFO:root:started remote viewer on port 61956

What do i do next!!

julian-122 commented 2 years ago

Same here. How do I access with just a port? HELPPPP!

0CTA0 commented 1 year ago

Same issue here, please help!

excalamus commented 1 year ago

There could be several issues. I'm not connected with the project. However, I may be able to provide some insight.

First, try running meshviewer open instead.

It may be that meshviewer is failing and not outputting an error when run with the view option. Doing this, I got a Python traceback containing

OpenGL.error.NullFunctionError: Attempt to call an undefined function glutInit, check for bool(glutInit) before calling

This meant that glut, the OpenGL Utility Toolkit used for rendering things like windows, wasn't available on the system.

Running meshviewer open may produce a different error. If it does, try pasting the error output here.

Second, mesh may not be able to render within a virtual machine. For example, VirtualBox on Windows doesn't grant machines access to the GPU. Therefore, while the application may function, the GPU related parts may not. The same may be true for virtualization on GNU/Linux. (EDIT: It looks like QEMU supports GPU virtualization. So, it may be that you need to enable GPU support for your machine.)