|
From: leopard x. <leo...@li...> - 2009-11-23 04:39:23
|
Hello. I followed your instructions at the following Web link. It explains how to build Glean on Windows. http://glean.sourceforge.net/buildwin.html However, I encounter a bunch of errors associated with the prebuilt STLPort that I downloaded per the suggestion at the above link. Do you know how I can fix these errors? I must be overlooking some setting, but I do not have any idea about the setting that I am overlooking. I am using Microsoft Visual Studio .NET 2003 running on Windows XP Professional. At the end of this note, I pasted the output of a compilation run. Thanks, Leopard ------------ start of run ------------ C:\opengl\glean\src>nmake /f makefile.win Microsoft (R) Program Maintenance Utility Version 7.10.3077 Copyright (C) Microsoft Corporation. All rights reserved. if not exist "/" mkdir "" if not exist "/" mkdir "" if not exist "/" mkdir "" cd glh nmake /nologo /f makefile.win CFG=release echo Copying Header Files Copying Header Files copy .\glwrap.h C:\opengl\glean\include 1 file(s) copied. cd .. cd libs nmake /nologo /f makefile.win CFG=release cd rand nmake /nologo /f makefile.win CFG=release echo Copying Header Files Copying Header Files copy .\rand.h C:\opengl\glean\include 1 file(s) copied. cd .. cd lex nmake /nologo /f makefile.win CFG=release cl.exe @C:\DOCUME~1\dsunada\LOCALS~1\Temp\nm1BF.tmp lex.cpp c:\opengl\stlport-4.0-glean\stlport\stl\_string.c(163) : warning C4346: '_STL::basic_string<_CharT,_ Traits,_Alloc>::size_type' : dependent name is not a type prefix with 'typename' to indicate a type c:\opengl\stlport-4.0-glean\stlport\stl\_string.c(163) : error C2146: syntax error : missing ')' bef ore identifier '__res_arg' c:\opengl\stlport-4.0-glean\stlport\stl\_string.c(163) : error C2182: 'reserve' : illegal use of typ e 'void' c:\opengl\stlport-4.0-glean\stlport\stl\_string.c(163) : error C2072: '_STL::basic_string<_CharT,_Tr aits,_Alloc>::reserve' : initialization of a function c:\opengl\stlport-4.0-glean\stlport\stl\_string.c(163) : error C2059: syntax error : ')' c:\opengl\stlport-4.0-glean\stlport\stl\_string.c(186) : error C2065: '_CharT' : undeclared identifi er c:\opengl\stlport-4.0-glean\stlport\stl\_string.c(186) : error C2065: '_Traits' : undeclared identif ier c:\opengl\stlport-4.0-glean\stlport\stl\_string.c(186) : error C2065: '_Alloc' : undeclared identifi er c:\opengl\stlport-4.0-glean\stlport\stl\_string.c(187) : error C3861: '_CharT': identifier not found , even with argument-dependent lookup c:\opengl\stlport-4.0-glean\stlport\stl\_string.c(187) : error C3861: '_Traits': identifier not foun d, even with argument-dependent lookup c:\opengl\stlport-4.0-glean\stlport\stl\_string.c(187) : error C3861: '_Alloc': identifier not found , even with argument-dependent lookup c:\opengl\stlport-4.0-glean\stlport\stl\_string.c(187) : error C2955: '_STL::basic_string' : use of class template requires template argument list c:\opengl\stlport-4.0-glean\stlport\stl\_string.h(1241) : see declaration of '_STL::basic_st ring' c:\opengl\stlport-4.0-glean\stlport\stl\_string.c(187) : error C3861: '_CharT': identifier not found , even with argument-dependent lookup c:\opengl\stlport-4.0-glean\stlport\stl\_string.c(187) : error C3861: '_Traits': identifier not foun d, even with argument-dependent lookup c:\opengl\stlport-4.0-glean\stlport\stl\_string.c(187) : error C3861: '_Alloc': identifier not found , even with argument-dependent lookup c:\opengl\stlport-4.0-glean\stlport\stl\_string.c(187) : error C2955: '_STL::basic_string' : use of class template requires template argument list c:\opengl\stlport-4.0-glean\stlport\stl\_string.h(1241) : see declaration of '_STL::basic_st ring' c:\opengl\stlport-4.0-glean\stlport\stl\_string.c(187) : error C2143: syntax error : missing ';' bef ore '{' c:\opengl\stlport-4.0-glean\stlport\stl\_string.c(187) : error C2447: '{' : missing function header (old-style formal list?) c:\opengl\stlport-4.0-glean\stlport\stl\_string.c(252) : warning C4346: '_STL::basic_string<_CharT,_ Traits,_Alloc>::size_type' : dependent name is not a type prefix with 'typename' to indicate a type c:\opengl\stlport-4.0-glean\stlport\stl\_string.c(252) : error C2146: syntax error : missing ')' bef ore identifier '__n' c:\opengl\stlport-4.0-glean\stlport\stl\_string.c(252) : error C2350: '_STL::basic_string<_CharT,_Tr aits,_Alloc>::assign' is not a static member c:\opengl\stlport-4.0-glean\stlport\stl\_string.c(252) : error C2262: '_STL::basic_string<_CharT,_Tr aits,_Alloc>::assign' : cannot be destroyed c:\opengl\stlport-4.0-glean\stlport\stl\_string.c(252) : error C2059: syntax error : ')' c:\opengl\stlport-4.0-glean\stlport\stl\_string.c(291) : error C3861: '_CharT': identifier not found , even with argument-dependent lookup c:\opengl\stlport-4.0-glean\stlport\stl\_string.c(291) : error C3861: '_Traits': identifier not foun d, even with argument-dependent lookup c:\opengl\stlport-4.0-glean\stlport\stl\_string.c(291) : error C3861: '_Alloc': identifier not found , even with argument-dependent lookup c:\opengl\stlport-4.0-glean\stlport\stl\_string.c(292) : error C2955: '_STL::basic_string' : use of class template requires template argument list c:\opengl\stlport-4.0-glean\stlport\stl\_string.h(1241) : see declaration of '_STL::basic_st ring' c:\opengl\stlport-4.0-glean\stlport\stl\_string.c(294) : error C2143: syntax error : missing ';' bef ore '{' c:\opengl\stlport-4.0-glean\stlport\stl\_string.c(294) : error C2447: '{' : missing function header (old-style formal list?) c:\opengl\stlport-4.0-glean\stlport\stl\_string.c(327) : warning C4346: '_STL::basic_string<_CharT,_ Traits,_Alloc>::iterator' : dependent name is not a type prefix with 'typename' to indicate a type c:\opengl\stlport-4.0-glean\stlport\stl\_string.c(327) : error C2146: syntax error : missing ')' bef ore identifier '__position' c:\opengl\stlport-4.0-glean\stlport\stl\_string.c(327) : error C2182: 'insert' : illegal use of type 'void' c:\opengl\stlport-4.0-glean\stlport\stl\_string.c(327) : error C2350: '_STL::basic_string<_CharT,_Tr aits,_Alloc>::insert' is not a static member c:\opengl\stlport-4.0-glean\stlport\stl\_string.c(328) : error C2059: syntax error : ')' c:\opengl\stlport-4.0-glean\stlport\stl\_string.c(439) : error C3861: '_CharT': identifier not found , even with argument-dependent lookup c:\opengl\stlport-4.0-glean\stlport\stl\_string.c(439) : error C3861: '_Traits': identifier not foun d, even with argument-dependent lookup c:\opengl\stlport-4.0-glean\stlport\stl\_string.c(439) : error C3861: '_Alloc': identifier not found , even with argument-dependent lookup c:\opengl\stlport-4.0-glean\stlport\stl\_string.c(440) : error C3861: '_CharT': identifier not found , even with argument-dependent lookup c:\opengl\stlport-4.0-glean\stlport\stl\_string.c(440) : error C3861: '_Traits': identifier not foun d, even with argument-dependent lookup c:\opengl\stlport-4.0-glean\stlport\stl\_string.c(440) : error C3861: '_Alloc': identifier not found , even with argument-dependent lookup c:\opengl\stlport-4.0-glean\stlport\stl\_string.c(441) : error C2955: '_STL::basic_string' : use of class template requires template argument list c:\opengl\stlport-4.0-glean\stlport\stl\_string.h(1241) : see declaration of '_STL::basic_st ring' c:\opengl\stlport-4.0-glean\stlport\stl\_string.c(441) : error C2955: '_STL::iterator' : use of clas s template requires template argument list c:\opengl\stlport-4.0-glean\stlport\stl\_iterator_base.h(77) : see declaration of '_STL::ite rator' c:\opengl\stlport-4.0-glean\stlport\stl\_string.c(441) : error C3861: '_CharT': identifier not found , even with argument-dependent lookup c:\opengl\stlport-4.0-glean\stlport\stl\_string.c(441) : error C3861: '_Traits': identifier not foun d, even with argument-dependent lookup c:\opengl\stlport-4.0-glean\stlport\stl\_string.c(441) : error C3861: '_Alloc': identifier not found , even with argument-dependent lookup c:\opengl\stlport-4.0-glean\stlport\stl\_string.c(441) : error C2955: '_STL::basic_string' : use of class template requires template argument list c:\opengl\stlport-4.0-glean\stlport\stl\_string.h(1241) : see declaration of '_STL::basic_st ring' c:\opengl\stlport-4.0-glean\stlport\stl\_string.c(442) : error C2143: syntax error : missing ';' bef ore '{' c:\opengl\stlport-4.0-glean\stlport\stl\_string.c(442) : error C2447: '{' : missing function header (old-style formal list?) c:\opengl\stlport-4.0-glean\stlport\stl\_string.c(483) : warning C4346: '_STL::basic_string<_CharT,_ Traits,_Alloc>::size_type' : dependent name is not a type prefix with 'typename' to indicate a type c:\opengl\stlport-4.0-glean\stlport\stl\_string.c(483) : error C2143: syntax error : missing ';' bef ore '_STL::basic_string<_CharT,_Traits,_Alloc>::find' c:\opengl\stlport-4.0-glean\stlport\stl\_string.c(483) : error C2501: '_STL::basic_string<_CharT,_Tr aits,_Alloc>::size_type' : missing storage-class or type specifiers c:\opengl\stlport-4.0-glean\stlport\stl\_string.c(483) : warning C4346: '_STL::basic_string<_CharT,_ Traits,_Alloc>::find' : dependent name is not a type prefix with 'typename' to indicate a type c:\opengl\stlport-4.0-glean\stlport\stl\_string.c(483) : error C2143: syntax error : missing ',' bef ore '*' c:\opengl\stlport-4.0-glean\stlport\stl\_string.c(498) : warning C4346: '_STL::basic_string<_CharT,_ Traits,_Alloc>::size_type' : dependent name is not a type prefix with 'typename' to indicate a type c:\opengl\stlport-4.0-glean\stlport\stl\_string.c(498) : error C2143: syntax error : missing ';' bef ore '_STL::basic_string<_CharT,_Traits,_Alloc>::find' c:\opengl\stlport-4.0-glean\stlport\stl\_string.c(498) : error C2501: '_STL::basic_string<_CharT,_Tr aits,_Alloc>::size_type' : missing storage-class or type specifiers c:\opengl\stlport-4.0-glean\stlport\stl\_string.c(498) : error C3861: '_CharT': identifier not found , even with argument-dependent lookup c:\opengl\stlport-4.0-glean\stlport\stl\_string.c(498) : warning C4346: '_STL::basic_string<_CharT,_ Traits,_Alloc>::find' : dependent name is not a type prefix with 'typename' to indicate a type c:\opengl\stlport-4.0-glean\stlport\stl\_string.c(498) : error C2146: syntax error : missing ')' bef ore identifier '__c' c:\opengl\stlport-4.0-glean\stlport\stl\_string.c(498) : error C2501: '_STL::basic_string<_CharT,_Tr aits,_Alloc>::find' : missing storage-class or type specifiers c:\opengl\stlport-4.0-glean\stlport\stl\_string.c(498) : error C2350: '_STL::basic_string<_CharT,_Tr aits,_Alloc>::find' is not a static member c:\opengl\stlport-4.0-glean\stlport\stl\_string.c(498) : error C2059: syntax error : ')' c:\opengl\stlport-4.0-glean\stlport\stl\_string.c(511) : error C3861: '_CharT': identifier not found , even with argument-dependent lookup c:\opengl\stlport-4.0-glean\stlport\stl\_string.c(511) : error C3861: '_Traits': identifier not foun d, even with argument-dependent lookup c:\opengl\stlport-4.0-glean\stlport\stl\_string.c(511) : error C3861: '_Alloc': identifier not found , even with argument-dependent lookup c:\opengl\stlport-4.0-glean\stlport\stl\_string.c(511) : error C2955: '_STL::basic_string' : use of class template requires template argument list c:\opengl\stlport-4.0-glean\stlport\stl\_string.h(1241) : see declaration of '_STL::basic_st ring' c:\opengl\stlport-4.0-glean\stlport\stl\_string.c(512) : error C3861: '_CharT': identifier not found , even with argument-dependent lookup c:\opengl\stlport-4.0-glean\stlport\stl\_string.c(512) : error C3861: '_Traits': identifier not foun d, even with argument-dependent lookup c:\opengl\stlport-4.0-glean\stlport\stl\_string.c(512) : error C3861: '_Alloc': identifier not found , even with argument-dependent lookup c:\opengl\stlport-4.0-glean\stlport\stl\_string.c(513) : error C2955: '_STL::basic_string' : use of class template requires template argument list c:\opengl\stlport-4.0-glean\stlport\stl\_string.h(1241) : see declaration of '_STL::basic_st ring' c:\opengl\stlport-4.0-glean\stlport\stl\_string.c(514) : error C2143: syntax error : missing ';' bef ore '{' c:\opengl\stlport-4.0-glean\stlport\stl\_string.c(514) : error C2447: '{' : missing function header (old-style formal list?) c:\opengl\stlport-4.0-glean\stlport\stl\_string.c(531) : fatal error C1903: unable to recover from p revious error(s); stopping compilation NMAKE : fatal error U1077: 'cl.exe' : return code '0x2' Stop. NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual Studio .NET 2003\VC7\BIN\nmake.exe"' : return code '0x2' Stop. NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual Studio .NET 2003\VC7\BIN\nmake.exe"' : return code '0x2' ---------- end of run ---------- _________________________________________________________________ Windows Live: Make it easier for your friends to see what you’re up to on Facebook. http://www.microsoft.com/middleeast/windows/windowslive/see-it-in-action/social-network-basics.aspx?ocid=PID23461::T:WLMTAGL:ON:WL:en-xm:SI_SB_2:092009 |