Le 25/09/2012 11:42, jm a écrit :
> Thank you for the fixes in 5197.

I fixed nothing relating to your problem in r5197, so I think the 
problem comes from your system installation.

>
> The compiling has got past previous issues and is now moved to the
> opengl module. Compile error for 5197 in opengl, ARM A10 SoC, Lubuntu
> 12.04:
>
>
>          Making all in opengl
>          make[5]: Entering directory
>          `/home/miniand/Downloads/gambas3/trunk/gb.qt4/src/opengl'
>            CXX    gb_qt4_opengl_la-main.lo
>          In file included from /usr/include/qt4/QtCore/qobject.h:48:0,
>                           from /usr/include/qt4/QtGui/qwidget.h:46,
>                           from /usr/include/qt4/QtGui/QWidget:1,
>                           from ../gb.qt.h:33,
>                           from main.h:28,
>                           from main.cpp:26:
>          /usr/include/qt4/QtCore/qstring.h:174:17: note: the mangling of
>          'va_list' has changed in GCC 4.4
>          /usr/bin/moc-qt4 -o CGLarea_moc.cpp CGLarea.h
>            CXX    gb_qt4_opengl_la-CGLarea_moc.lo
>          In file included from /usr/include/qt4/QtCore/qobject.h:48:0,
>                           from /usr/include/qt4/QtGui/qwidget.h:46,
>                           from /usr/include/qt4/QtGui/QWidget:1,
>                           from ../gb.qt.h:33,
>                           from main.h:28,
>                           from CGLarea.h:27,
>                           from CGLarea_moc.cpp:10:
>          /usr/include/qt4/QtCore/qstring.h:174:17: note: the mangling of
>          'va_list' has changed in GCC 4.4
>            CXX    gb_qt4_opengl_la-CGLarea.lo
>          CGLarea.cpp: In function 'void CGLAREA_text(void*, void*)':
>          CGLarea.cpp:110:36: error: 'GL_LIGHTING' was not declared in
>          this scope
>          make[5]: *** [gb_qt4_opengl_la-CGLarea.lo] Error 1
>          make[5]: Leaving directory
>          `/home/miniand/Downloads/gambas3/trunk/gb.qt4/src/opengl'
>          make[4]: *** [all-recursive] Error 1
>          make[4]: Leaving directory
>          `/home/miniand/Downloads/gambas3/trunk/gb.qt4/src'
>          make[3]: *** [all-recursive] Error 1
>          make[3]: Leaving directory
>          `/home/miniand/Downloads/gambas3/trunk/gb.qt4'
>          make[2]: *** [all] Error 2
>          make[2]: Leaving directory
>          `/home/miniand/Downloads/gambas3/trunk/gb.qt4'
>          make[1]: *** [all-recursive] Error 1
>          make[1]: Leaving directory
>          `/home/miniand/Downloads/gambas3/trunk'
>          make: *** [all] Error 2
>
>
> Output of the following script attached:
> ( ./reconf-all; ./configure -C; make ) > output.txt 2>&1
>
> Regards
>

Mmm... It seems to be a problem in Qt or OpenGL: which version of Qt do 
you use? Please try to add the following line at the beginning of 
CGLArea.cpp, line 25:

#include <GL/gl.h>

Recompile and tell me the result!

-- 
Benoît Minisini

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user

Reply via email to