Page 1 of 1

problem with evc++ 3 and stl

PostPosted: Dec 26, 2003 @ 9:33am
by Zamuka
I download and install evc3..
unpack newest stl port
add stl path in tools/options/dir
open PocketFrog.vcw
and trying to build

errors i recieved

C:\_CPP\STLPORT-4.6\STLPORT\stl/_new.h(23) : error C2504: '_STLP_EXCEPTION_BASE' : base class undefined

image.cpp

C:\_CPP\STLPORT-4.6\STLPORT\cassert(24) : fatal error C1083: Cannot open include file: 'assert.h': No such file or directory

input.cpp

What am i doing wrong??

Thanks

O.K.

PostPosted: Dec 27, 2003 @ 4:23am
by BIGBEN

I'm also getting this...

PostPosted: Dec 27, 2003 @ 8:26pm
by Ohayden

PostPosted: Dec 27, 2003 @ 8:53pm
by Ohayden

PostPosted: Dec 27, 2003 @ 9:32pm
by Ohayden
Well... I downloaded an older verstion of stlport (version 4.0) and I get past the _STLP_EXCEPTION_BASE error. Now all I'm getting is the second error about the missing "assert.h".

Any hints?

PostPosted: Dec 27, 2003 @ 9:38pm
by Ohayden
Okay... I got it to work. I included the following directory in my includes:

D:\Windows CE Tools\wce400\STANDARDSDK\Include\Armv4

and it work. The above directory is where I found assert.h. The only thing that bothers me is that I'm using eVC3.0 and I'm including the 4.0 header. It works find though... just gives me a ton of warnings.

Any better way of doing this or did I figure out the only possible solution?

PostPosted: Jan 8, 2004 @ 11:41am
by Zamuka
stlport 4.0 is the key !!!!
Add stlport directory to include..
uncomment string
# define __STL_NO_IOSTREAMS 1
in stl_user_config.h
and ...
create blank assert.h

All Works!! ;)

Im happy ...

PostPosted: Jan 8, 2004 @ 1:39pm
by Conan