Giter Site home page Giter Site logo

Comments (9)

3Dickulus avatar 3Dickulus commented on July 28, 2024

dmat4 is defined in ...

/usr/include/glm/fwd.hpp: typedef mat<4, 4, f64, defaultp> dmat4;

the file is in glm-devel package version 0.9.9.8

you need to have glm-devel package installed

try uncommenting line 48 in CMakeLists.txt

find_package ( glm REQUIRED )

What OS ? linux windows mac ?

from fragm.

gschian0 avatar gschian0 commented on July 28, 2024

I have been running graphical fractal programs on google collab... so Linux! I will try this!

from fragm.

gschian0 avatar gschian0 commented on July 28, 2024

I have been having good results running windows vcxsrv and using google gpu with other fractal apps and can GUI sent to my computer over port 6000... I want to include FragM in some colab notebooks I give to some of my artist friends to inspire them to learn about fractals and linux and get high end rendering on the cloud for cheap without banging their heads watching the computer compile. Any help would be appreciated.

from fragm.

gschian0 avatar gschian0 commented on July 28, 2024

I am getting the same error... I think it has to do with GLM version ... I think my version is higher than 9.9.8 can you help me figure out how to install version 9.9.8?

from fragm.

gschian0 avatar gschian0 commented on July 28, 2024

I had success with the INSTALL... I get the 2 first windows open... but as soon as I press ok I loose connection... is there a way to disable the intro window and go straight to the application? here is a link to the colab notebook gist.
https://colab.research.google.com/gist/gschian0/141d39522834f9f828f33132af9c6e5f/fragm.ipynb#scrollTo=rgWxouBUAw_N

this is EXCITING!!!
thanks for any help and this app!

from fragm.

gschian0 avatar gschian0 commented on July 28, 2024

ok... a new error...
QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-root' failed to get the current screen resources QXcbConnection: XCB error: 170 (Unknown), sequence: 170, resource id: 90, major code: 146 (Unknown), minor code: 20 WARNING: Application calling GLX 1.3 function "glXCreatePbuffer" when GLX 1.3 is not supported! This is an application bug! Segmentation fault. Fragmentarium crashed!

I just confirmed it's not a windowing issue for sure... going back to using multiple windows in vcxsrv

from fragm.

3Dickulus avatar 3Dickulus commented on July 28, 2024

The intro (splash screen) closes immediately when the main window opens, according to the logs at the above colab link everything builds and installs properly however...

Application calling GLX 1.3 function "glXCreatePbuffer" when GLX 1.3 is not supported! This is an application bug!

...seems odd because nowhere in the source code does FragM call glXCreatePbuffer ? ? ? so how is it an application bug ? ? ? sounds more like the container setup that defines what OS and hardware you are assigned in the system emulation (just a guess)

You may have to change the CMakeLists.txt @ line 50 from
OpenGL_GL_PREFERENCE "LEGACY"
to
OpenGL_GL_PREFERENCE "GLVND"
and recompile everything, rm -rf * .* in the build folder first.

If you are not using an IDE or cmake-gui then...

  cd FragM/Fragmentarium-Source
  mkdir build
  cd build
  cmake -DOpenGL_GL_PREFERENCE=GLVND -DUSE_OPEN_EXR=ON -DCMAKE_INSTALL_PREFIX=/usr/local ..
  make install

It also looks like you are running it from the source folder, that's wrong, cd to the install location where Fragmentarium-2.5.6 executable is and run it there, it installs everything FragM needs in that folder so that you can easily move it to anywhere you like by copying or moving that folder. Run like...

cd /usr/local/Fragmentarium-2.5.6

./Fragmentarium-2.5.6

It is not designed specifically to use a remote display so !export DISPLAY=73.56.196.33:0.0 && ./Fragmentarium-2.5.6 may not be possible.

I have no experience with google colab or running FragM in the cloud, it's not designed with that in mind, there are prebuilt binary packages for linux and windows under "releases" and that is all I "officially" support.

from fragm.

gschian0 avatar gschian0 commented on July 28, 2024

Thanks for taking your time to explain this to me! Iā€™m going to see if I can make it work with the information you provided.

from fragm.

3Dickulus avatar 3Dickulus commented on July 28, 2024

I am interested to hear about your results :)

oh, and when running from /usr/local/Fragmentarium/ make sure you have write access on that folder

from fragm.

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.