-
Notifications
You must be signed in to change notification settings - Fork 47
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Problem with glut on Fedora 35 #28
Comments
I recently swapped in GLFW for Glut on the windowing side due to hyper-resolution issues with newer mac screens. |
Understood. |
The crashes happen immediately after opening the graphical window. |
you could try a different branch -- bug28-linux-graphics-glut -- which just avoids using GLFW altogher |
I'll take a look. I'm not yet familiar with these graphics libraries, but perhaps I'll try to figure it out for myself over time. |
There is no difference to run the examples of bug28-linux-graphics-glut or bug28-linux-graphics-glfw. The same binaries crash. |
Attached you can find some output of cmake to get an overview of the configuration |
Are you able to run in gdb and share the backtrace from the crash?
…On Fri, Jan 28, 2022 at 5:10 AM StumpfMichael ***@***.***> wrote:
Attached you can find some output of cmake to get an overview of the
configuration
cmake.log <https://github.com/wolftype/versor/files/7957713/cmake.log>
.
—
Reply to this email directly, view it on GitHub
<#28 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAIRQX7QNDGWU4N4D4QYLKLUYJTQTANCNFSM5M33LK2A>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
You are receiving this because you commented.Message ID:
***@***.***>
|
I built the bug28-linux-graphics-glfw branch on Ubuntu 20.04 (Hyper-V VM on Windows 10) and I am seeing a circle, plane, and sphere when I use Maybe its a version issue for a library dependency? Here's a list my package dependencies as listed in
|
Ok, let us concentrate on xBasic. |
These are the corresponding packages on Fedora 35: |
There is a difference of the freeglut version: ubuntu 20.04: 2.8.1 from 04/05/2013 |
There you can find the reason for not updating freeglut on Debian/Ubuntu: |
I downloaded the sources from freeglut 3.2.1 and applied the following patch: |
I downloaded the sources from freeglut 2.8.1. and installed the library on Fedora 35. |
I installed both branches on Ubuntu 20. There the examples do not crash at all. |
Thanks for the thoroughness here. One quick question if you have the time:
how does devel branch behave on Ubuntu 20?
…On Sun, Jan 30, 2022 at 5:53 AM StumpfMichael ***@***.***> wrote:
I installed both branches on Ubuntu 20. There the examples do not crash at
all.
The installation was smoother (-lglut is already included, etc.).
As far as I can tell the examples of bug28-linux-graphics-glfw work
without major problems. Only when you click inside the window of xRoot the
graphics disappear.
The examples of bug28-linux-graphics-glut have more graphical problems.
Sometimes you see nothing or only fragments.
The linker complained four symbols (is_positive, has_inner, has_outer,
Flip). I had to comment out line 14-16 of InstructionTest.cpp and line 42
of Product Test.cpp.
I feel comfortable with Ubuntu and have no intention to fix problems of
Fedora.
Thank you for the support here. From my point of view the issue can be
closed.
—
Reply to this email directly, view it on GitHub
<#28 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAIRQXYIXQ5D7AFHD3Z3MKLUYUKBZANCNFSM5M33LK2A>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
You are receiving this because you commented.Message ID:
***@***.***>
|
In the devel branch some binaries stop with the comment "freeglut ERROR: Function called without first calling 'GlutXXX'", with XXX being either SolidCone, SolidSphere or WireSphere. |
Sorry, the error message is slightly different: |
thanks -- re-opening issue as others are experiencing trouble on windows. i have a new branch |
On Ubuntu 20 all the examples run very well. |
Hi,
beside other things I have a problem with glut to build the examples.
Firstly, i had to include -lglut to versor/build/CMakeFiles/xBasic.dir/link.txt to resolve symbols with glutXXX.
When I run the application it says:
freeglut ERROR: Function called without first calling 'glutInit' and stops running.
I have similar problems with other examples.
The functions of glut are referenced in versor/ext/gfx/gfx/gfx:glyphs.h, which is included in versor/include/vsr/draw/vsr_XXX_draw.h etc.
What is going wrong?
The text was updated successfully, but these errors were encountered: