nel-all
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Nel] Trouble getting started


From: Kristopher Wood
Subject: Re: [Nel] Trouble getting started
Date: Sat, 27 Nov 2004 01:05:36 -0800 (PST)

What version of STLPort are you using? When compiling
with VC6 make sure you've got 4.5.3 as 5.0 is only
compatable with VC7.

Kris

--- Brett Malone <address@hidden> wrote:

> I'm just starting down the road to using NeL, and am
> having dificulties 
> getting the library to compile.
> 
> I'm using:
> VC6 + SP5 + VCPP
> Win2K Professional
> 
> I believe I've followed the directions in the
> WikiNeL page very closely, 
> but am having a heck of a time getting STLPort to
> cooporate... Below is 
> the output from my compile: Any help is most
> appreciated.
> 
> Thanks,
> Brett
> 
> Compiling...
> stdmisc.cpp
> C:\SOURCE\NEL REQ LIB\STLPORT\STLPORT\cstddef(40) :
> error C2039: 
> 'ptrdiff_t' : is not a member of '`global
> namespace''
> C:\SOURCE\NEL REQ LIB\STLPORT\STLPORT\cstddef(40) :
> error C2873: 
> 'ptrdiff_t' : symbol cannot be used in a
> using-declaration
> C:\SOURCE\NEL REQ LIB\STLPORT\STLPORT\cstdlib(42) :
> error C2039: 'div_t' 
> : is not a member of '`global namespace''
> C:\SOURCE\NEL REQ LIB\STLPORT\STLPORT\cstdlib(42) :
> error C2873: 'div_t' 
> : symbol cannot be used in a using-declaration
> C:\SOURCE\NEL REQ LIB\STLPORT\STLPORT\cstdlib(43) :
> error C2039: 
> 'ldiv_t' : is not a member of '`global namespace''
> C:\SOURCE\NEL REQ LIB\STLPORT\STLPORT\cstdlib(43) :
> error C2873: 
> 'ldiv_t' : symbol cannot be used in a
> using-declaration
> C:\SOURCE\NEL REQ LIB\STLPORT\STLPORT\new(44) :
> error C2039: 'bad_alloc' 
> : is not a member of 'std'
> C:\SOURCE\NEL REQ LIB\STLPORT\STLPORT\new(44) :
> error C2873: 'bad_alloc' 
> : symbol cannot be used in a using-declaration
> C:\SOURCE\NEL REQ LIB\STLPORT\STLPORT\new(45) :
> error C2039: 'nothrow_t' 
> : is not a member of 'std'
> C:\SOURCE\NEL REQ LIB\STLPORT\STLPORT\new(45) :
> error C2873: 'nothrow_t' 
> : symbol cannot be used in a using-declaration
> C:\SOURCE\NEL REQ LIB\STLPORT\STLPORT\new(46) :
> error C2039: 'nothrow' : 
> is not a member of 'std'
> C:\SOURCE\NEL REQ LIB\STLPORT\STLPORT\new(46) :
> error C2873: 'nothrow' : 
> symbol cannot be used in a using-declaration
> C:\SOURCE\NEL REQ LIB\STLPORT\STLPORT\new(49) :
> error C2039: 
> 'new_handler' : is not a member of '`global
> namespace''
> C:\SOURCE\NEL REQ LIB\STLPORT\STLPORT\new(49) :
> error C2873: 
> 'new_handler' : symbol cannot be used in a
> using-declaration
> C:\SOURCE\NEL REQ LIB\STLPORT\STLPORT\new(50) :
> error C2039: 
> 'set_new_handler' : is not a member of '`global
> namespace''
> C:\SOURCE\NEL REQ LIB\STLPORT\STLPORT\new(50) :
> error C2873: 
> 'set_new_handler' : symbol cannot be used in a
> using-declaration
> C:\SOURCE\NEL REQ
> LIB\STLPORT\STLPORT\stl/_iterator_base.h(222) :
> error 
> C2143: syntax error : missing ';' before '*'
> C:\SOURCE\NEL REQ
> LIB\STLPORT\STLPORT\stl/_iterator_base.h(222) :
> error 
> C2433: 'ptrdiff_t' : 'inline' not permitted on data
> declarations
> C:\SOURCE\NEL REQ
> LIB\STLPORT\STLPORT\stl/_iterator_base.h(222) :
> error 
> C2501: 'ptrdiff_t' : missing storage-class or type
> specifiers
> C:\SOURCE\NEL REQ
> LIB\STLPORT\STLPORT\stl/_iterator_base.h(222) :
> error 
> C2059: syntax error : ';'
> C:\SOURCE\NEL REQ
> LIB\STLPORT\STLPORT\stl/_iterator_base.h(222) :
> error 
> C2143: syntax error : missing ',' before '*'
> C:\SOURCE\NEL REQ
> LIB\STLPORT\STLPORT\stl/_iterator_base.h(222) :
> error 
> C2059: syntax error : '*'
> C:\SOURCE\NEL REQ
> LIB\STLPORT\STLPORT\stl/_iterator_base.h(230) :
> error 
> C2954: template definitions cannot nest
> C:\SOURCE\NEL REQ
> LIB\STLPORT\STLPORT\stl/_iterator_base.h(315) :
> error 
> C2143: syntax error : missing ';' before '__cdecl'
> C:\SOURCE\NEL REQ
> LIB\STLPORT\STLPORT\stl/_iterator_base.h(315) :
> error 
> C2433: 'ptrdiff_t' : 'inline' not permitted on data
> declarations
> C:\SOURCE\NEL REQ
> LIB\STLPORT\STLPORT\stl/_iterator_base.h(315) :
> error 
> C2501: 'ptrdiff_t' : missing storage-class or type
> specifiers
> C:\SOURCE\NEL REQ
> LIB\STLPORT\STLPORT\stl/_iterator_base.h(315) :
> error 
> C2086: 'ptrdiff_t' : redefinition
> C:\SOURCE\NEL REQ
> LIB\STLPORT\STLPORT\stl/_iterator_base.h(315) :
> error 
> C2059: syntax error : ';'
> C:\SOURCE\NEL REQ
> LIB\STLPORT\STLPORT\stl/_iterator_base.h(316) :
> error 
> C2143: syntax error : missing ',' before '&'
> C:\SOURCE\NEL REQ
> LIB\STLPORT\STLPORT\stl/_iterator_base.h(316) :
> error 
> C2059: syntax error : '&'
> C:\SOURCE\NEL REQ
> LIB\STLPORT\STLPORT\stl/_iterator_base.h(353) :
> error 
> C2954: template definitions cannot nest
> C:\SOURCE\NEL REQ
> LIB\STLPORT\STLPORT\stl/_iterator_base.h(354) :
> error 
> C2143: syntax error : missing ';' before '__cdecl'
> C:\SOURCE\NEL REQ
> LIB\STLPORT\STLPORT\stl/_iterator_base.h(354) :
> error 
> C2433: 'ptrdiff_t' : 'inline' not permitted on data
> declarations
> C:\SOURCE\NEL REQ
> LIB\STLPORT\STLPORT\stl/_iterator_base.h(354) :
> error 
> C2501: 'ptrdiff_t' : missing storage-class or type
> specifiers
> C:\SOURCE\NEL REQ
> LIB\STLPORT\STLPORT\stl/_iterator_base.h(354) :
> error 
> C2086: 'ptrdiff_t' : redefinition
> C:\SOURCE\NEL REQ
> LIB\STLPORT\STLPORT\stl/_iterator_base.h(354) :
> error 
> C2059: syntax error : ';'
> C:\SOURCE\NEL REQ
> LIB\STLPORT\STLPORT\stl/_iterator_base.h(355) :
> error 
> C2143: syntax error : missing ',' before '&'
> C:\SOURCE\NEL REQ
> LIB\STLPORT\STLPORT\stl/_iterator_base.h(355) :
> error 
> C2059: syntax error : '&'
> C:\SOURCE\NEL REQ
> LIB\STLPORT\STLPORT\stl/_iterator_base.h(360) :
> error 
> C2954: template definitions cannot nest
> C:\SOURCE\NEL REQ
> LIB\STLPORT\STLPORT\stl/_iterator_base.h(361) :
> error 
> C2143: syntax error : missing ';' before '__cdecl'
> C:\SOURCE\NEL REQ
> LIB\STLPORT\STLPORT\stl/_iterator_base.h(361) :
> error 
> C2433: 'ptrdiff_t' : 'inline' not permitted on data
> declarations
> C:\SOURCE\NEL REQ
> LIB\STLPORT\STLPORT\stl/_iterator_base.h(361) :
> error 
> C2501: 'ptrdiff_t' : missing storage-class or type
> specifiers
> C:\SOURCE\NEL REQ
> LIB\STLPORT\STLPORT\stl/_iterator_base.h(361) :
> error 
> C2086: 'ptrdiff_t' : redefinition
> C:\SOURCE\NEL REQ
> LIB\STLPORT\STLPORT\stl/_iterator_base.h(361) :
> error 
> C2059: syntax error : ';'
> C:\SOURCE\NEL REQ
> LIB\STLPORT\STLPORT\stl/_iterator_base.h(362) :
> error 
> C2143: syntax error : missing ',' before '&'
> C:\SOURCE\NEL REQ
> LIB\STLPORT\STLPORT\stl/_iterator_base.h(362) :
> error 
> C2059: syntax error : '&'
> C:\SOURCE\NEL REQ
> LIB\STLPORT\STLPORT\stl/_iterator_base.h(368) :
> error 
> C2954: template definitions cannot nest
> C:\SOURCE\NEL REQ
> LIB\STLPORT\STLPORT\stl/_construct.h(127) : error 
> C2065: 'wchar_t' : undeclared identifier
> C:\SOURCE\NEL REQ
> LIB\STLPORT\STLPORT\stl/_construct.h(127) : error 
> C2059: syntax error : ','
> C:\SOURCE\NEL REQ
> LIB\STLPORT\STLPORT\stl/_construct.h(127) : error 
> C2143: syntax error : missing ';' before '{'
> C:\SOURCE\NEL REQ
> LIB\STLPORT\STLPORT\stl/_construct.h(127) : error 
> C2447: missing function header (old-style formal
> list?)
> C:\SOURCE\NEL REQ
> LIB\STLPORT\STLPORT\stl/_construct.h(128) : error 
> C2143: syntax error : missing ',' before '*'
> C:\SOURCE\NEL REQ
> LIB\STLPORT\STLPORT\stl/_construct.h(128) : error 
> C2059: syntax error : '*'
> C:\SOURCE\NEL REQ
> LIB\STLPORT\STLPORT\stl/_alloc.h(339) : error C2146:
> 
> syntax error : missing ';' before identifier
> 'difference_type'
>         C:\SOURCE\NEL REQ
> LIB\STLPORT\STLPORT\stl/_alloc.h(371) : see 
> reference to class template instantiation
> '_STL::allocator<_Tp>' being 
> compiled
> C:\SOURCE\NEL REQ
> LIB\STLPORT\STLPORT\stl/_alloc.h(339) : error C2501:
> 
> 'difference_type' : missing storage-class or type
> specifiers
>         C:\SOURCE\NEL REQ
> LIB\STLPORT\STLPORT\stl/_alloc.h(371) : see 
> reference to class template instantiation
> '_STL::allocator<_Tp>' being 
> compiled
> C:\SOURCE\NEL REQ
> LIB\STLPORT\STLPORT\stl/_alloc.h(377) : error C2146:
> 
> syntax error : missing ';' before identifier
> 'difference_type'
> C:\SOURCE\NEL REQ
> LIB\STLPORT\STLPORT\stl/_alloc.h(377) : error C2501:
> 
> 'difference_type' : missing storage-class or type
> specifiers
> C:\SOURCE\NEL REQ
> LIB\STLPORT\STLPORT\stl/_alloc.h(339) : error C2146:
> 
> syntax error : missing ';' before identifier
> 'difference_type'
>         C:\SOURCE\NEL REQ
> LIB\STLPORT\STLPORT\stl/_alloc.h(400) : see 
> reference to class template instantiation
> '_STL::allocator<char>' being 
> compiled
> C:\SOURCE\NEL REQ
> LIB\STLPORT\STLPORT\stl/_alloc.h(339) : error C2501:
> 
> 'difference_type' : missing storage-class or type
> specifiers
>         C:\SOURCE\NEL REQ
> LIB\STLPORT\STLPORT\stl/_alloc.h(400) : see 
> reference to class template instantiation
> '_STL::allocator<char>' being 
> compiled
> C:\SOURCE\NEL REQ
> LIB\STLPORT\STLPORT\stl/_alloc.h(402) : error C2946:
> 
> explicit instantiation; 'class _STL::allocator' is
> not a template-class 
> specialization
> C:\SOURCE\NEL REQ
> LIB\STLPORT\STLPORT\stl/_alloc.h(514) : error C2059:
> 
> syntax error : ','
> C:\SOURCE\NEL REQ
> LIB\STLPORT\STLPORT\stl/_alloc.h(514) : error C2976:
> 
> '_STLP_alloc_proxy' : too few template arguments
>         C:\SOURCE\NEL REQ
> LIB\STLPORT\STLPORT\stl/_alloc.h(509) : see 
> declaration of '_STLP_alloc_proxy'
> C:\SOURCE\NEL REQ
> LIB\STLPORT\STLPORT\stl/_algobase.h(149) : error 
> C2065: 'memmove' : undeclared identifier
> C:\SOURCE\NEL REQ
> LIB\STLPORT\STLPORT\stl/_algobase.h(183) : error 
> C2146: syntax error : missing ';' before identifier
> '_Num'
> C:\SOURCE\NEL REQ
> LIB\STLPORT\STLPORT\stl/_algobase.h(183) : error 
> C2734: 'ptrdiff_t' : const object must be
> initialized if not extern
> C:\SOURCE\NEL REQ
> LIB\STLPORT\STLPORT\stl/_algobase.h(183) : error 
> C2065: '_Num' : undeclared identifier
> C:\SOURCE\NEL REQ
> LIB\STLPORT\STLPORT\stl/_algobase.h(184) : error 
> C2446: ':' : no conversion from 'void *' to 'int'
>         This conversion requires a reinterpret_cast,
> a C-style cast or 
> function-style cast
> C:\SOURCE\NEL REQ
> LIB\STLPORT\STLPORT\stl/_algobase.h(345) : error 
> C2065: 'memset' : undeclared identifier
> C:\SOURCE\NEL REQ
> LIB\STLPORT\STLPORT\stl/_algobase.h(464) : error 
> C2065: 'memcmp' : undeclared identifier
> C:\SOURCE\NEL REQ
> LIB\STLPORT\STLPORT\stl/_algobase.h(493) : error 
> C2146: syntax error : missing ';' before identifier
> '__len1'
> C:\SOURCE\NEL REQ
> LIB\STLPORT\STLPORT\stl/_algobase.h(493) : error 
> C2734: 'ptrdiff_t' : const object must be
> initialized if not extern
> C:\SOURCE\NEL REQ
> LIB\STLPORT\STLPORT\stl/_algobase.h(493) : error 
> C2065: '__len1' : undeclared identifier
> C:\SOURCE\NEL REQ
> LIB\STLPORT\STLPORT\stl/_algobase.h(494) : error 
> C2146: syntax error : missing ';' before identifier
> '__len2'
> C:\SOURCE\NEL REQ
> LIB\STLPORT\STLPORT\stl/_algobase.h(494) : error 
> C2734: 'ptrdiff_t' : const object must be
> initialized if not extern
> C:\SOURCE\NEL REQ
> LIB\STLPORT\STLPORT\stl/_algobase.h(494) : error 
> C2086: 'ptrdiff_t' : redefinition
> C:\SOURCE\NEL REQ
> LIB\STLPORT\STLPORT\stl/_algobase.h(494) : error 
> C2065: '__len2' : undeclared identifier
> C:\SOURCE\NEL REQ
> LIB\STLPORT\STLPORT\stl/_algobase.h(524) : error 
> C2146: syntax error : missing ';' before identifier
> 'count'
> C:\SOURCE\NEL REQ
> LIB\STLPORT\STLPORT\stl/_algobase.h(524) : error 
> C2433: 'ptrdiff_t' : 'inline' not permitted on data
> declarations
> C:\SOURCE\NEL REQ
> LIB\STLPORT\STLPORT\stl/_algobase.h(524) : error 
> C2501: 'ptrdiff_t' : missing storage-class or type
> specifiers
> C:\SOURCE\NEL REQ
> LIB\STLPORT\STLPORT\stl/_algobase.h(524) : error 
> C2086: 'ptrdiff_t' : redefinition
> C:\SOURCE\NEL REQ
> LIB\STLPORT\STLPORT\stl/_algobase.h(524) : error 
> C2059: syntax error : ';'
> C:\SOURCE\NEL REQ
> LIB\STLPORT\STLPORT\stl/_algobase.h(524) : error 
> C2065: '_InputIter' : undeclared identifier
> C:\SOURCE\NEL REQ
> LIB\STLPORT\STLPORT\stl/_algobase.h(524) : error 
> C2146: syntax error : missing ')' before identifier
> '__first'
> C:\SOURCE\NEL REQ
> LIB\STLPORT\STLPORT\stl/_algobase.h(524) : error 
> C2501: 'count' : missing storage-class or type
> specifiers
> C:\SOURCE\NEL REQ
> LIB\STLPORT\STLPORT\stl/_algobase.h(524) : error 
> C2059: syntax error : ')'
> C:\SOURCE\NEL REQ
> LIB\STLPORT\STLPORT\stl/_algobase.h(536) : error 
> C2954: template definitions cannot nest
> C:\SOURCE\NEL REQ
> LIB\STLPORT\STLPORT\stl/_uninitialized.h(88) : error
> 
> C2143: syntax error : missing ';' before '*'
> C:\SOURCE\NEL REQ
> LIB\STLPORT\STLPORT\stl/_uninitialized.h(88) : error
> 
> C2433: 'wchar_t' : 'inline' not permitted on data
> declarations
> C:\SOURCE\NEL REQ
> LIB\STLPORT\STLPORT\stl/_uninitialized.h(88) : error
> 
> C2501: 'wchar_t' : missing storage-class or type
> specifiers
> C:\SOURCE\NEL REQ
> LIB\STLPORT\STLPORT\stl/_uninitialized.h(89) : error
> 
> C2143: syntax error : missing ',' before '*'
> C:\SOURCE\NEL REQ
> LIB\STLPORT\STLPORT\stl/_uninitialized.h(89) : error
> 
> C2059: syntax error : '*'
> C:\SOURCE\NEL REQ
> LIB\STLPORT\STLPORT\stl/_uninitialized.h(89) : error
> 
> C2501: 'uninitialized_copy' : missing storage-class
> or type specifiers
> C:\SOURCE\NEL REQ
> LIB\STLPORT\STLPORT\stl/_uninitialized.h(90) : error
> 
> C2059: syntax error : ')'
> C:\SOURCE\NEL REQ
> LIB\STLPORT\STLPORT\stl/_uninitialized.h(91) :
> warning 
> C4508: 'uninitialized_copy' : function should return
> a value; 'void' 
> return type assumed
> C:\SOURCE\NEL REQ
> LIB\STLPORT\STLPORT\stl/_tempbuf.h(46) : error
> C2974: 
> 'pair' : invalid template argument for '_T2', type
> expected
>         C:\SOURCE\NEL REQ
> LIB\STLPORT\STLPORT\stl/_pair.h(57) : see 
> declaration of 'pair'
> C:\SOURCE\NEL REQ
> LIB\STLPORT\STLPORT\stl/_tempbuf.h(47) : error
> C2061: 
> syntax error : identifier 'ptrdiff_t'
> C:\SOURCE\NEL REQ
> LIB\STLPORT\STLPORT\stl/_tempbuf.h(52) : error
> C2974: 
> 'pair' : invalid template argument for '_T2', type
> expected
>         C:\SOURCE\NEL REQ
> LIB\STLPORT\STLPORT\stl/_pair.h(57) : see 
> declaration of 'pair'
> C:\SOURCE\NEL REQ
> LIB\STLPORT\STLPORT\stl/_tempbuf.h(52) : error
> C2061: 
> syntax error : identifier 'ptrdiff_t'
> C:\SOURCE\NEL REQ
> LIB\STLPORT\STLPORT\stl/_tempbuf.h(63) : error
> C2974: 
> 'pair' : invalid template argument for '_T2', type
> expected
>         C:\SOURCE\NEL REQ
> LIB\STLPORT\STLPORT\stl/_pair.h(57) : see 
> declaration of 'pair'
> C:\SOURCE\NEL REQ
> LIB\STLPORT\STLPORT\stl/_tempbuf.h(64) : error
> C2061: 
> syntax error : identifier 'ptrdiff_t'
> C:\SOURCE\NEL REQ
> LIB\STLPORT\STLPORT\stl/_tempbuf.h(66) : error
> C2995: 
> 'get_temporary_buffer' : template function has
> already been defined
>         C:\SOURCE\NEL REQ
> LIB\STLPORT\STLPORT\stl/_tempbuf.h(52) : see 
> declaration of 'get_temporary_buffer'
> C:\SOURCE\NEL REQ
> LIB\STLPORT\STLPORT\stl/_tempbuf.h(79) : error
> C2146: 
> syntax error : missing ';' before identifier
> '_M_original_len'
>         C:\SOURCE\NEL REQ
> LIB\STLPORT\STLPORT\stl/_tempbuf.h(134) : see 
> reference to class template instantiation 
> '_STL::_Temporary_buffer<_ForwardIterator,_Tp>'
> being compiled
> C:\SOURCE\NEL REQ
> LIB\STLPORT\STLPORT\stl/_tempbuf.h(79) : fatal error
> 
> C1003: error count exceeds 100; stopping compilation
>         C:\SOURCE\NEL REQ
> LIB\STLPORT\STLPORT\stl/_tempbuf.h(134) : see 
> reference to class template instantiation 
> '_STL::_Temporary_buffer<_ForwardIterator,_Tp>'
> being compiled
> Error executing cl.exe.
> 
> nl3d_df.lib - 102 error(s), 1 warning(s)
> 
> 
> 
> _______________________________________________
> Nel mailing list
> address@hidden
> http://lists.nongnu.org/mailman/listinfo/nel-all
> 



                
__________________________________ 
Do you Yahoo!? 
Yahoo! Mail - Helps protect you from nasty viruses. 
http://promotions.yahoo.com/new_mail




reply via email to

[Prev in Thread] Current Thread [Next in Thread]