Post
by Freddy » Thu May 04, 2006 2:17 am
OK. I used the installer to install everything, configured paths and got these errors when compiling:
[quote]Compilador: VC++ 2003
Building Makefile: "C:\Documents and Settings\Frederico\Desktop\Makefile.win"
Executando make clean
rm -f Projeto1Frm.obj Projeto1App.obj Projeto1_private.res Projeto1.exe
cl.exe /nologo /c Projeto1Frm.cpp /FoProjeto1Frm.obj /I"C:/Arquivos de programas/Microsoft Platform SDK/Microsoft Platform SDK/INCLUDE" /I"C:/Arquivos de programas/Microsoft Visual C++ Toolkit 2003/include" /I"C:/wxDev-C++" /D_UNICODE /D__WXMSW__ /DWIN32 /D_WIN32_IE=0x0600 /DwxUSE_UNICODE_MSLU=1 /O1 /EHa /QIfdiv /QI0f /QIfist /Ze
Projeto1Frm.cpp
C:/Arquivos de programas\Microsoft Visual C++ Toolkit 2003\include\exception(65) : error C2146: syntax error : missing ';' before identifier '_Prhand'
C:/Arquivos de programas\Microsoft Visual C++ Toolkit 2003\include\exception(67) : error C2144: syntax error : 'void' should be preceded by ';'
C:/Arquivos de programas\Microsoft Visual C++ Toolkit 2003\include\exception(67) : error C2501: '_CRTIMP2' : missing storage-class or type specifiers
C:/Arquivos de programas\Microsoft Visual C++ Toolkit 2003\include\exception(70) : error C2470: 'exception' : looks like a function definition, but there is no formal parameter list; skipping apparent body
C:/Arquivos de programas\Microsoft Visual C++ Toolkit 2003\include\exception(148) : error C2144: syntax error : 'bool' should be preceded by ';'
C:/Arquivos de programas\Microsoft Visual C++ Toolkit 2003\include\exception(148) : error C2501: '_CRTIMP2' : missing storage-class or type specifiers
C:/Arquivos de programas\Microsoft Visual C++ Toolkit 2003\include\exception(148) : error C2086: 'int std::_CRTIMP2' : redefinition
C:/Arquivos de programas\Microsoft Visual C++ Toolkit 2003\include\exception(65) : see declaration of 'std::_CRTIMP2'
C:/Arquivos de programas\Microsoft Visual C++ Toolkit 2003\include\exception(153) : error C2504: 'std::exception' : base class undefined
C:/Arquivos de programas\Microsoft Visual C++ Toolkit 2003\include\exception(155) : error C3861: '_MESG': identifier not found, even with argument-dependent lookup
C:/Arquivos de programas\Microsoft Platform SDK\Microsoft Platform SDK\INCLUDE\NEW(16) : error C2504: 'std::exception' : base class undefined
C:/Arquivos de programas\Microsoft Platform SDK\Microsoft Platform SDK\INCLUDE\UTILITY(81) : warning C4346: '_It::iterator_category' : dependent name is not a type
prefix with 'typename' to indicate a type
C:/Arquivos de programas\Microsoft Platform SDK\Microsoft Platform SDK\INCLUDE\UTILITY(84) : see reference to class template instantiation 'std::iterator_traits<_It>' being compiled
C:/Arquivos de programas\Microsoft Platform SDK\Microsoft Platform SDK\INCLUDE\UTILITY(81) : error C2146: syntax error : missing ';' before identifier 'iterator_category'
C:/Arquivos de programas\Microsoft Platform SDK\Microsoft Platform SDK\INCLUDE\UTILITY(81) : error C2501: 'std::iterator_traits<_It>::iterator_category' : missing storage-class or type specifiers
C:/Arquivos de programas\Microsoft Platform SDK\Microsoft Platform SDK\INCLUDE\UTILITY(82) : warning C4346: '_It::value_type' : dependent name is not a type
prefix with 'typename' to indicate a type
C:/Arquivos de programas\Microsoft Platform SDK\Microsoft Platform SDK\INCLUDE\UTILITY(82) : error C2146: syntax error : missing ';' before identifier 'value_type'
C:/Arquivos de programas\Microsoft Platform SDK\Microsoft Platform SDK\INCLUDE\UTILITY(82) : error C2501: 'std::iterator_traits<_It>::value_type' : missing storage-class or type specifiers
C:/Arquivos de programas\Microsoft Platform SDK\Microsoft Platform SDK\INCLUDE\UTILITY(83) : warning C4346: '_It::distance_type' : dependent name is not a type
prefix with 'typename' to indicate a type
C:/Arquivos de programas\Microsoft Platform SDK\Microsoft Platform SDK\INCLUDE\UTILITY(83) : error C2146: syntax error : missing ';' before identifier 'distance_type'
C:/Arquivos de programas\Microsoft Platform SDK\Microsoft Platform SDK\INCLUDE\UTILITY(83) : error C2501: 'std::iterator_traits<_It>::distance_type' : missing storage-class or type specifiers
C:/Arquivos de programas\Microsoft Platform SDK\Microsoft Platform SDK\INCLUDE\UTILITY(224) : warning C4348: 'std::istreambuf_iterator' : redefinition of default parameter : parameter 2
C:/Arquivos de programas\Microsoft Platform SDK\Microsoft Platform SDK\INCLUDE\UTILITY(279) : see declaration of 'std::istreambuf_iterator'
C:/Arquivos de programas\Microsoft Platform SDK\Microsoft Platform SDK\INCLUDE\UTILITY(226) : warning C4346: '_Tr::off_type' : dependent name is not a type
prefix with 'typename' to indicate a type
C:/Arquivos de programas\Microsoft Platform SDK\Microsoft Platform SDK\INCLUDE\UTILITY(279) : see reference to class template instantiation 'std::istreambuf_iterator<_E,_Tr>' being compiled
C:/Arquivos de programas\Microsoft Platform SDK\Microsoft Platform SDK\INCLUDE\UTILITY(226) : error C2923: 'std::iterator' : '_Tr::off_type' is invalid as template argument '#3', type expected
C:/Arquivos de programas\Microsoft Platform SDK\Microsoft Platform SDK\INCLUDE\UTILITY(231) : warning C4346: '_Tr::int_type' : dependent name is not a type
prefix with 'typename' to indicate a type
C:/Arquivos de programas\Microsoft Platform SDK\Microsoft Platform SDK\INCLUDE\UTILITY(231) : error C2146: syntax error : missing ';' before identifier 'int_type'
C:/Arquivos de programas\Microsoft Platform SDK\Microsoft Platform SDK\INCLUDE\UTILITY(231) : error C2501: 'std::istreambuf_iterator<_E,_Tr>::int_type' : missing storage-class or type specifiers
C:/Arquivos de programas\Microsoft Platform SDK\Microsoft Platform SDK\INCLUDE\UTILITY(289) : warning C4348: 'std::ostreambuf_iterator' : redefinition of default parameter : parameter 2
C:/Arquivos de programas\Microsoft Platform SDK\Microsoft Platform SDK\INCLUDE\UTILITY(318) : see declaration of 'std::ostreambuf_iterator'
C:/Arquivos de programas\Microsoft Platform SDK\Microsoft Platform SDK\INCLUDE\XSTRING(25) : warning C4346: '_A::size_type' : dependent name is not a type
prefix with 'typename' to indicate a type
C:/Arquivos de programas\Microsoft Platform SDK\Microsoft Platform SDK\INCLUDE\XSTRING(597) : see reference to class template instantiation 'std::basic_string<_E,_Tr,_A>' being compiled
C:/Arquivos de programas\Microsoft Platform SDK\Microsoft Platform SDK\INCLUDE\XSTRING(25) : error C2146: syntax error : missing ';' before identifier 'size_type'
C:/Arquivos de programas\Microsoft Platform SDK\Microsoft Platform SDK\INCLUDE\XSTRING(25) : error C2501: 'std::basic_string<_E,_Tr,_A>::size_type' : missing storage-class or type specifiers
C:/Arquivos de programas\Microsoft Platform SDK\Microsoft Platform SDK\INCLUDE\XSTRING(26) : warning C4346: '_A::difference_type' : dependent name is not a type
prefix with 'typename' to indicate a type
C:/Arquivos de programas\Microsoft Platform SDK\Microsoft Platform SDK\INCLUDE\XSTRING(26) : error C2146: syntax error : missing ';' before identifier 'difference_type'
C:/Arquivos de programas\Microsoft Platform SDK\Microsoft Platform SDK\INCLUDE\XSTRING(26) : error C2501: 'std::basic_string<_E,_Tr,_A>::difference_type' : missing storage-class or type specifiers
C:/Arquivos de programas\Microsoft Platform SDK\Microsoft Platform SDK\INCLUDE\XSTRING(27) : warning C4346: '_A::pointer' : dependent name is not a type
prefix with 'typename' to indicate a type
C:/Arquivos de programas\Microsoft Platform SDK\Microsoft Platform SDK\INCLUDE\XSTRING(27) : error C2146: syntax error : missing ';' before identifier 'pointer'
C:/Arquivos de programas\Microsoft Platform SDK\Microsoft Platform SDK\INCLUDE\XSTRING(27) : error C2501: 'std::basic_string<_E,_Tr,_A>::pointer' : missing storage-class or type specifiers
C:/Arquivos de programas\Microsoft Platform SDK\Microsoft Platform SDK\INCLUDE\XSTRING(28) : warning C4346: '_A::const_pointer' : dependent name is not a type
prefix with 'typename' to indicate a type
C:/Arquivos de programas\Microsoft Platform SDK\Microsoft Platform SDK\INCLUDE\XSTRING(28) : error C2146: syntax error : missing ';' before identifier 'const_pointer'
C:/Arquivos de programas\Microsoft Platform SDK\Microsoft Platform SDK\INCLUDE\XSTRING(28) : error C2501: 'std::basic_string<_E,_Tr,_A>::const_pointer' : missing storage-class or type specifiers
C:/Arquivos de programas\Microsoft Platform SDK\Microsoft Platform SDK\INCLUDE\XSTRING(29) : warning C4346: '_A::reference' : dependent name is not a type
prefix with 'typename' to indicate a type
C:/Arquivos de programas\Microsoft Platform SDK\Microsoft Platform SDK\INCLUDE\XSTRING(29) : error C2146: syntax error : missing ';' before identifier 'reference'
C:/Arquivos de programas\Microsoft Platform SDK\Microsoft Platform SDK\INCLUDE\XSTRING(29) : error C2501: 'std::basic_string<_E,_Tr,_A>::reference' : missing storage-class or type specifiers
C:/Arquivos de programas\Microsoft Platform SDK\Microsoft Platform SDK\INCLUDE\XSTRING(30) : warning C4346: '_A::const_reference' : dependent name is not a type
prefix with 'typename' to indicate a type
C:/Arquivos de programas\Microsoft Platform SDK\Microsoft Platform SDK\INCLUDE\XSTRING(30) : error C2146: syntax error : missing ';' before identifier 'const_reference'
C:/Arquivos de programas\Microsoft Platform SDK\Microsoft Platform SDK\INCLUDE\XSTRING(30) : error C2501: 'std::basic_string<_E,_Tr,_A>::const_reference' : missing storage-class or type specifiers
C:/Arquivos de programas\Microsoft Platform SDK\Microsoft Platform SDK\INCLUDE\XSTRING(31) : warning C4346: '_A::value_type' : dependent name is not a type
prefix with 'typename' to indicate a type
C:/Arquivos de programas\Microsoft Platform SDK\Microsoft Platform SDK\INCLUDE\XSTRING(31) : error C2146: syntax error : missing ';' before identifier 'value_type'
C:/Arquivos de programas\Microsoft Platform SDK\Microsoft Platform SDK\INCLUDE\XSTRING(31) : error C2501: 'std::basic_string<_E,_Tr,_A>::value_type' : missing storage-class or type specifiers
C:/Arquivos de programas\Microsoft Platform SDK\Microsoft Platform SDK\INCLUDE\XSTRING(32) : warning C4346: '_A::pointer' : dependent name is not a type
prefix with 'typename' to indicate a type
C:/Arquivos de programas\Microsoft Platform SDK\Microsoft Platform SDK\INCLUDE\XSTRING(32) : error C2144: syntax error : 'std::iterator' should be preceded by ';'
C:/Arquivos de programas\Microsoft Platform SDK\Microsoft Platform SDK\INCLUDE\XSTRING(32) : error C2698: the using-declaration for 'pointer' cannot co-exist with the existing using-declaration for 'pointer'
C:/Arquivos de programas\Microsoft Platform SDK\Microsoft Platform SDK\INCLUDE\XSTRING(32) : fatal error C1903: unable to recover from previous error(s); stopping compilation
make.exe: *** [Projeto1Frm.obj] Error 2
Execu