Estava instalando esse programa no Ubuntu 18.10 e deu esse erro:
oot@junior-Aspire-F5-573G:/home/junior/Downloads/2ManDVD# make
g++ -c -m64 -pipe -O2 -Wall -W -D_REENTRANT -D__STDC_CONSTANT_MACROS -DDEF_BIBLIOTHEQUE=""/usr/share/2ManDVD/"" -DDEF_TRANSLATIONS=""/usr/share/2ManDVD/"" -DDEF_FAKE=""/usr/bin/"" -DQT_NO_DEBUG -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++-64 -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4 -I/usr/include/ffmpeg/ -I/usr/X11R6/include -Imoc -I. -o obj/main.o main.cpp
In file included from mainfrm.h:27,
from main.cpp:2:
tetrahedron.h:86:28: error: flexible array member ‘Tetrahedron::light_position’ not at end of ‘class Tetrahedron’
GLfloat light_position[];
^
make: *** [Makefile:1103: obj/main.o] Error 1
O que devo fazer?
oot@junior-Aspire-F5-573G:/home/junior/Downloads/2ManDVD# make
g++ -c -m64 -pipe -O2 -Wall -W -D_REENTRANT -D__STDC_CONSTANT_MACROS -DDEF_BIBLIOTHEQUE=""/usr/share/2ManDVD/"" -DDEF_TRANSLATIONS=""/usr/share/2ManDVD/"" -DDEF_FAKE=""/usr/bin/"" -DQT_NO_DEBUG -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++-64 -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4 -I/usr/include/ffmpeg/ -I/usr/X11R6/include -Imoc -I. -o obj/main.o main.cpp
In file included from mainfrm.h:27,
from main.cpp:2:
tetrahedron.h:86:28: error: flexible array member ‘Tetrahedron::light_position’ not at end of ‘class Tetrahedron’
GLfloat light_position[];
^
make: *** [Makefile:1103: obj/main.o] Error 1
O que devo fazer?