Hello Otacílio,
10.11.2016 13:07, Otacílio wrote:
I'm using this minimalist program to test OpenGL. When running on a true
machine (FreeBSD 11, clang 3.8.0) this program runs fine. But, when
compiling and running in a Virtualbox guest with
virtualbox-ose-additions-5.1.8 installed (FreeBSD 11, clang 3.8.0,
OpenGL enabled) I'm getting a core dump when the program exits. So its
not clear to me if this is a FreeBSD port problem or not. So, please, I
wold like ask you to compile and running in your's guest machine running
Linux or FreeBSD and report to me the results.
I can confirm that this affects Linux guests too. Unfortunately we do
not have time to investigate X11 guest 3D issues for the foreseeable
future, so your best bet is probably to debug it yourself. If you can
clearly locate the problem (as in understanding it) chances are good
that we will fix it.
Regards,
Michael
Program:
#include <stdio.h>
#include <GL/glew.h>
#include <GL/gl.h>
#include <GL/glu.h>
#include <GL/glut.h>
#include <GL/glext.h>
int main(int argc, char **argv) {
glutInit(&argc, argv);
glutCreateWindow("GLUT");
glewInit();
printf("OpenGL version supported by this platform (%s): \n",
glGetString(GL_VERSION));
fprintf(stdout, "Exiting...\n");
fflush(stdout);
return 0;
}
Compiler command:
cc -I/usr/local/include -L/usr/local/lib -o testegl testegl.c -lGL
-lGLEW -lGLU -lglut
My results in a guest machine:
[ota@nostromo /usr/home/ota/Desktop]$ ./testegl
OpenGL version supported by this platform (2.1 Chromium 1.9):
Exiting...
Segmentation fault (imagem do núcleo gravada)
Thanks a lot!
[]'s
-Otacilio
_______________________________________________
vbox-dev mailing list
[email protected]
https://www.virtualbox.org/mailman/listinfo/vbox-dev
--
Michael Thayer | VirtualBox engineer
ORACLE Deutschland B.V. & Co. KG | Werkstr. 24 | D-71384 Weinstadt
ORACLE Deutschland B.V. & Co. KG
Hauptverwaltung: Riesstraße 25, D-80992 München
Registergericht: Amtsgericht München, HRA 95603
Komplementärin: ORACLE Deutschland Verwaltung B.V.
Hertogswetering 163/167, 3543 AS Utrecht, Niederlande Handelsregister
der Handelskammer Midden-Nederland, Nr. 30143697
Geschäftsführer: Alexander van der Ven, Jan Schultheiss, Val Maher
_______________________________________________
vbox-dev mailing list
[email protected]
https://www.virtualbox.org/mailman/listinfo/vbox-dev