PDA

View Full Version : Network examples are nto compiling



pakkko
3rd August 2010, 15:16
Hi,


I try to compile the network examples and I receive an error that I dont have any idea about it.

cd blockingfortuneclient\ && "C:\Program Files\Microsoft Visual Studio 9.0\VC\BIN\nmake.exe" -f Makefile
"C:\Program Files\Microsoft Visual Studio 9.0\VC\BIN\nmake.exe" -f Makefile.Debug all
cl -c -nologo -Zm200 -Zc:wchar_t- -Zi -MDd -GR -EHsc -W3 -w34100 -w34189 -DUNICODE -DWIN32 -DQT_LARGEFILE_SUPPORT -DQT_DLL -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_THREAD_SUPPORT -I"..\..\..\include\QtCore" -I"..\..\..\include\QtNetwork" -I"..\..\..\include\QtGui" -I"..\..\..\include" -I"..\..\..\include\ActiveQt" -I"tmp\moc\debug_shared" -I"..\..\..\mkspecs\win32-msvc2008" -Fotmp\obj\debug_shared\ @D:\DOCUME~1\FRANCI~1.MUN\LOCALS~1\Temp\nm24.tmp
blockingclient.cpp
c:\qt\4.6.3\include\qtcore\../../src/corelib/xml/qxmlstream.h(53) : error C2146: syntax error : missing ';' before identifier 'QT_BEGIN_NAMESPACE'
c:\qt\4.6.3\include\qtcore\../../src/corelib/xml/qxmlstream.h(53) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
c:\qt\4.6.3\include\qtcore\../../src/corelib/xml/qxmlstream.h(53) : error C2146: syntax error : missing ';' before identifier 'QT_MODULE'
c:\qt\4.6.3\include\qtcore\../../src/corelib/xml/qxmlstream.h(53) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
c:\qt\4.6.3\include\qtcore\../../src/corelib/xml/qxmlstream.h(53) : error C2065: 'Core' : undeclared identifier
c:\qt\4.6.3\include\qtcore\../../src/corelib/xml/qxmlstream.h(112) : error C2448: 'QT_MODULE' : function-style initializer appears to be a function definition
c:\qt\4.6.3\include\qtcore\../../src/corelib/xml/qxmlstream.h(112) : error C2470: 'QXmlStreamStringRef' : looks like a function definition, but there is no parameter list; skipping apparent body
c:\qt\4.6.3\include\qtcore\../../src/corelib/xml/qxmlstream.h(131) : error C2470: 'QXmlStreamAttribute' : looks like a function definition, but there is no parameter list; skipping apparent body
c:\qt\4.6.3\include\qtcore\../../src/corelib/xml/qxmlstream.h(163) : error C2065: 'QXmlStreamAttribute' : undeclared identifier
c:\qt\4.6.3\include\qtcore\../../src/corelib/xml/qxmlstream.h(163) : error C2065: 'Q_MOVABLE_TYPE' : undeclared identifier
c:\qt\4.6.3\include\qtcore\../../src/corelib/xml/qxmlstream.h(163) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
c:\qt\4.6.3\include\qtcore\../../src/corelib/xml/qxmlstream.h(163) : error C2078: too many initializers
c:\qt\4.6.3\include\qtcore\../../src/corelib/xml/qxmlstream.h(165) : error C2470: 'QXmlStreamAttributes' : looks like a function definition, but there is no parameter list; skipping apparent body
c:\qt\4.6.3\include\qtcore\../../src/corelib/xml/qxmlstream.h(199) : error C2470: 'QXmlStreamNamespaceDeclaration' : looks like a function definition, but there is no parameter list; skipping apparent body
c:\qt\4.6.3\include\qtcore\../../src/corelib/xml/qxmlstream.h(219) : error C2065: 'QXmlStreamNamespaceDeclaration' : undeclared identifier
c:\qt\4.6.3\include\qtcore\../../src/corelib/xml/qxmlstream.h(219) : error C2065: 'Q_MOVABLE_TYPE' : undeclared identifier
c:\qt\4.6.3\include\qtcore\../../src/corelib/xml/qxmlstream.h(219) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
c:\qt\4.6.3\include\qtcore\../../src/corelib/xml/qxmlstream.h(219) : error C2374: 'Q_DECLARE_TYPEINFO' : redefinition; multiple initialization
c:\qt\4.6.3\include\qtcore\../../src/corelib/xml/qxmlstream.h(163) : see declaration of 'Q_DECLARE_TYPEINFO'
c:\qt\4.6.3\include\qtcore\../../src/corelib/xml/qxmlstream.h(219) : error C2078: too many initializers
c:\qt\4.6.3\include\qtcore\../../src/corelib/xml/qxmlstream.h(220) : error C2143: syntax error : missing ';' before '<'
c:\qt\4.6.3\include\qtcore\../../src/corelib/xml/qxmlstream.h(220) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
c:\qt\4.6.3\include\qtcore\../../src/corelib/xml/qxmlstream.h(222) : error C2470: 'QXmlStreamNotationDeclaration' : looks like a function definition, but there is no parameter list; skipping apparent body
c:\qt\4.6.3\include\qtcore\../../src/corelib/xml/qxmlstream.h(243) : error C2065: 'QXmlStreamNotationDeclaration' : undeclared identifier
c:\qt\4.6.3\include\qtcore\../../src/corelib/xml/qxmlstream.h(243) : error C2065: 'Q_MOVABLE_TYPE' : undeclared identifier
c:\qt\4.6.3\include\qtcore\../../src/corelib/xml/qxmlstream.h(243) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
c:\qt\4.6.3\include\qtcore\../../src/corelib/xml/qxmlstream.h(243) : error C2374: 'Q_DECLARE_TYPEINFO' : redefinition; multiple initialization
c:\qt\4.6.3\include\qtcore\../../src/corelib/xml/qxmlstream.h(163) : see declaration of 'Q_DECLARE_TYPEINFO'
c:\qt\4.6.3\include\qtcore\../../src/corelib/xml/qxmlstream.h(243) : error C2078: too many initializers
c:\qt\4.6.3\include\qtcore\../../src/corelib/xml/qxmlstream.h(244) : warning C4091: 'typedef ' : ignored on left of 'int' when no variable is declared
c:\qt\4.6.3\include\qtcore\../../src/corelib/xml/qxmlstream.h(244) : error C2143: syntax error : missing ';' before '<'
c:\qt\4.6.3\include\qtcore\../../src/corelib/xml/qxmlstream.h(244) : error C2059: syntax error : '<'


I also tryed the fortune client which is the one that in interested in and it is not working either.