compile problems.

Ole Jacob Hagen waterthrill at yahoo.no
Wed Nov 3 12:17:31 CET 2004


Hi, again.

I'm also experiences this compile error.
Need some points on how to solve this.

Cheers, Ole J.


    cd qmake && NMAKE
    cd src\moc && NMAKE
    cd src && NMAKE
    cl -c -nologo -Zm200 -EHsc -W0 -MD -O1 -DQT_SHARED 
-DQT_THREAD_SUPPORT -DQT_ACCESSIBILITY_SUPPORT -DQT_TABLET_SUPPORT 
-DQT_NO_DEBUG -DUNICODE -DQT_MAKEDLL -DQT_THREAD_SUPPORT -DQT_NO_CUPS 
-DQT_NO_NIS -DQT_NO_IMAGEIO_MNG -DQT_NO_IMAGEIO_PNG -DQT_NO_BIG_CODECS 
-DQT_NO_STYLE_MAC -DQT_NO_STYLE_AQUA -DQT_NO_STYLE_WINDOWSXP 
-DQT_NO_STYLE_POCKETPC -DQT_DLL -DQT_MAKEDLL -I"tmp" 
-I"3rdparty\libjpeg" -I"3rdparty\zlib" -I"C:\src\qt-3\include" 
-I"C:\src\qt-3\src" -I"tmp\moc\release-shared-mt" 
-I"C:\src\qt-3\mkspecs\win32-msvc" -Fotmp\obj\release-shared-mt\ 
@C:\DOCUME~1\OLEJAC~1\LOCALS~1\Temp\nma00452.
qgl.cpp
opengl\qgl.cpp(45) : error C2143: syntax error : missing ';' before '*'
opengl\qgl.cpp(45) : error C2501: 'qgl_default_format' : missing 
storage-class or type specifiers
opengl\qgl.cpp(46) : error C2143: syntax error : missing ';' before '*'
opengl\qgl.cpp(46) : error C2086: 'QGLFormat' : redefinition
opengl\qgl.cpp(46) : error C2501: 'qgl_default_overlay_format' : missing 
storage-class or type specifiers
opengl\qgl.cpp(59) : error C2974: 'QCleanupHandler' : invalid template 
argument for 'Type', type expected
        C:\src\qt-3\include\qcleanuphandler.h(84) : see declaration of 
'QCleanupHandler'
opengl\qgl.cpp(59) : error C2079: 'qgl_cleanup_format' uses undefined 
class 'QCleanupHandler<int>'
opengl\qgl.cpp(188) : error C2653: 'QGLFormat' : is not a class or 
namespace name
opengl\qgl.cpp(189) : error C2373: 'QGLFormat' : redefinition; different 
type modifiers
        opengl\qgl.cpp(45) : see declaration of 'QGLFormat'
opengl\qgl.cpp(190) : error C2065: 'opts' : undeclared identifier
opengl\qgl.cpp(190) : error C2065: 'DoubleBuffer' : undeclared identifier
opengl\qgl.cpp(190) : error C2065: 'DepthBuffer' : undeclared identifier
opengl\qgl.cpp(190) : error C2065: 'Rgba' : undeclared identifier
opengl\qgl.cpp(190) : error C2065: 'DirectRendering' : undeclared identifier
opengl\qgl.cpp(191) : error C2065: 'pln' : undeclared identifier
opengl\qgl.cpp(230) : error C2653: 'QGLFormat' : is not a class or 
namespace name
opengl\qgl.cpp(231) : error C2373: 'QGLFormat' : redefinition; different 
type modifiers
        opengl\qgl.cpp(45) : see declaration of 'QGLFormat'
opengl\qgl.cpp(233) : error C2065: 'defaultFormat' : undeclared identifier
opengl\qgl.cpp(233) : error C2228: left of '.opts' must have 
class/struct/union type
opengl\qgl.cpp(265) : error C2653: 'QGLFormat' : is not a class or 
namespace name
opengl\qgl.cpp(267) : error C2065: 'setOption' : undeclared identifier
opengl\qgl.cpp(267) : error C2065: 'SingleBuffer' : undeclared identifier
opengl\qgl.cpp(295) : error C2653: 'QGLFormat' : is not a class or 
namespace name
opengl\qgl.cpp(297) : error C2065: 'NoDepthBuffer' : undeclared identifier
opengl\qgl.cpp(326) : error C2653: 'QGLFormat' : is not a class or 
namespace name
opengl\qgl.cpp(328) : error C2065: 'ColorIndex' : undeclared identifier
opengl\qgl.cpp(354) : error C2653: 'QGLFormat' : is not a class or 
namespace name
opengl\qgl.cpp(356) : error C2065: 'AlphaChannel' : undeclared identifier
opengl\qgl.cpp(356) : error C2065: 'NoAlphaChannel' : undeclared identifier
opengl\qgl.cpp(381) : error C2653: 'QGLFormat' : is not a class or 
namespace name
opengl\qgl.cpp(383) : error C2065: 'AccumBuffer' : undeclared identifier
opengl\qgl.cpp(383) : error C2065: 'NoAccumBuffer' : undeclared identifier
opengl\qgl.cpp(408) : error C2653: 'QGLFormat' : is not a class or 
namespace name
opengl\qgl.cpp(410) : error C2065: 'StencilBuffer' : undeclared identifier
opengl\qgl.cpp(410) : error C2065: 'NoStencilBuffer' : undeclared identifier
opengl\qgl.cpp(435) : error C2653: 'QGLFormat' : is not a class or 
namespace name
opengl\qgl.cpp(437) : error C2065: 'StereoBuffers' : undeclared identifier
opengl\qgl.cpp(437) : error C2065: 'NoStereoBuffers' : undeclared identifier
opengl\qgl.cpp(465) : error C2653: 'QGLFormat' : is not a class or 
namespace name
opengl\qgl.cpp(467) : error C2065: 'IndirectRendering' : undeclared 
identifier
opengl\qgl.cpp(492) : error C2653: 'QGLFormat' : is not a class or 
namespace name
opengl\qgl.cpp(494) : error C2065: 'HasOverlay' : undeclared identifier
opengl\qgl.cpp(494) : error C2065: 'NoOverlay' : undeclared identifier
opengl\qgl.cpp(504) : error C2653: 'QGLFormat' : is not a class or 
namespace name
opengl\qgl.cpp(505) : error C2270: 'plane' : modifiers not allowed on 
nonmember functions
opengl\qgl.cpp(522) : error C2653: 'QGLFormat' : is not a class or 
namespace name
opengl\qgl.cpp(533) : error C2653: 'QGLFormat' : is not a class or 
namespace name
opengl\qgl.cpp(533) : error C2065: 'FormatOption' : undeclared identifier
opengl\qgl.cpp(533) : error C2146: syntax error : missing ')' before 
identifier 'opt'
opengl\qgl.cpp(533) : error C2182: 'setOption' : illegal use of type 'void'
opengl\qgl.cpp(533) : error C2059: syntax error : ')'
opengl\qgl.cpp(534) : error C2143: syntax error : missing ';' before '{'
opengl\qgl.cpp(534) : error C2447: missing function header (old-style 
formal list?)
opengl\qgl.cpp(549) : error C2653: 'QGLFormat' : is not a class or 
namespace name
opengl\qgl.cpp(549) : error C2146: syntax error : missing ')' before 
identifier 'opt'
opengl\qgl.cpp(549) : error C2059: syntax error : ')'
opengl\qgl.cpp(550) : error C2143: syntax error : missing ';' before '{'
opengl\qgl.cpp(550) : error C2447: missing function header (old-style 
formal list?)
opengl\qgl.cpp(593) : error C2653: 'QGLFormat' : is not a class or 
namespace name
opengl\qgl.cpp(593) : error C2146: syntax error : missing ';' before 
identifier 'defaultFormat'
opengl\qgl.cpp(593) : error C2501: 'QGLFormat' : missing storage-class 
or type specifiers
opengl\qgl.cpp(593) : error C2086: 'QGLFormat' : redefinition
opengl\qgl.cpp(593) : fatal error C1004: unexpected end of file found




More information about the kde-cygwin mailing list