PocketMatrix forums

A read-only archive of the PocketMatrix forums (2001–2014). Posting and accounts are closed.

problem with evc++ 3 and stl

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
BIGBEN · 27 Dec 2003, 03:23 UTC — O.K.
Ohayden · 27 Dec 2003, 19:26 UTC — I'm also getting this...
...even after following the examples above, I still get this error.

: error C2504: '_STLP_EXCEPTION_BASE' : base class undefined

and also:

: fatal error C1083: Cannot open include file: 'assert.h': No such file or directory

What am I missing?
I just started from scratch to make sure I wasn't missing something ovbious and it still gives me the same errors. If I try to build a sample it says:

LINK : fatal error LNK1181: cannot open input file "\Windows CE Tools\wce300\frog\PocketFrog_0_6_0\lib\PocketFrog_ARM.lib"
Error executing link.exe.

Otherwise if I try to build PocketFrog it gave me the errors in the previous post.

What's the deal? Any help or direction would be greatly appreciated.
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?
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?
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 ...
It's unlikely that the very first time you try to compile and link a program ( ie: build ) that everything will work. There are quite a few eVC settings which could be wrong one of which is the locations to be searched for dependant files.

the above is from my first PocketFrog tutorial. You really do need a few hours just to understand eVC setup so that the build steps work. For PocketFrog you need to have a build of the .lib for each platform you target (eg: PPC2002, Intel x86 PC)

Once you get past the setup phase it's mainly plain sailing :)