Giter VIP home page Giter VIP logo

Comments (6)

neurolabusc avatar neurolabusc commented on June 16, 2024

I would strongly suggest running the native Windows version of MRIcroGL instead of using the emulated WSL.

Note that there are different MRIcroGL downloads for different Linux distributions (with 1804 for Ubuntu 18.04 and earlier), you should be able to find your distribution with

lsb_release -a

The download includes two versions of MRIcroGL: MRIcroGL if you use the GTK2 widget set and MRIcroGL_QT if you use the QT widgetset. GTK3 is not supported, as it can not support multi-sampling. Read MRIcroGL_Linux_Installation.txt for more details.

Again, I would strongly urge you to use the native Windows compilation. For this reason, I do not have much experience with WSL. You may want to ensure that glxgears and FSLeyes work in your WSL instance, as these do not have native Windows implementations so the developers may have more experience with WSL.

from mricrogl.

michaelmcl1960 avatar michaelmcl1960 commented on June 16, 2024

I would like to run it in Linux also because I use Freesurfer with my linux installation (Ubuntu 22.04)

Is the file ./MRIcroGL_QT the executable the installation help talks about?

Am I correct in typing ./MRIcroGL_QT to run mricrogl?

How do I try FSLeyes and glxgears?

lsb_release -a

give me this:

No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 22.04.1 LTS
Release: 22.04
Codename: jammy

How do I try FSLeyes and glxgears?

from mricrogl.

neurolabusc avatar neurolabusc commented on June 16, 2024
  • For FreeSurfer I would use NiiVue that supports both voxels and mesh formats.
  • Use MRIcroGL_QT if your widgetset is QT5, use MRIcroGL for GTK2. Please see the attached readme.
  • The first hit I found for WSL and FSLeyes is here which also suggests trying glxgears. I am not very familiar with Ubuntu, but google suggests sudo apt install mesa-utils. The FSL jiscmail may also help.

from mricrogl.

michaelmcl1960 avatar michaelmcl1960 commented on June 16, 2024

Thanks you, have helped a lot. I was able to get fsleyes and glxgears working eventually by following your links.
MRIcroGL_QT is still not working though. I still get the error:
Unable to find AFNI_ATLAS_PATH which goes away if I use :
export AFNI_ATLAS_PATH=/home/michael/MRIcroGL/Resources/atlas
but then I still get the other error:

MRIcroGL/MRIcroGL_QT: symbol lookup error: MRIcroGL/MRIcroGL_QT: undefined symbol: QLCLOpenGLWidget_Create

I think there is some installtion file that I need to run that is not referred to in the documentation

from mricrogl.

michaelmcl1960 avatar michaelmcl1960 commented on June 16, 2024

I got much further!
This got me past that error:
https://github.com/davidbannon/libqt5pas/releases/tag/v1.2.9

Apparently there is an issue with libqt5pas

Now I have this error:

Could not find FB config: will try without multi-sampling
[FORMS.PP] ExceptionOccurred
Sender=EAccessViolation
Exception=Access violation
Stack trace:
$000000000086CCEA

This sounds like an environmental variable is missing

from mricrogl.

neurolabusc avatar neurolabusc commented on June 16, 2024

Any luck using the GTK2 version instead of QT5? I have no more insights for supporting this emulated environment.

from mricrogl.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.