PocketMatrix forums

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

Using eVc 4.0 with PF ?

I have been using eVc 4.0 for a while and would like to give PF a try. I know that eVc 4 has STL support. I normally have no problem bringing source written for eVc3 over to eVc4 but I put in a day trying to get it all set up but I guess I never had to goof with evc settings before. (I have read the install tuts). Just want to get one sample working and I will be of to the races.
I am in the same boat...

Thierry, thanks for doing PocketFrog and PocketHal. I am trying to compile the PocketFrog and BltSample... I see everything greyed out in the build menu. On the 'WCE Configuration' toolbar I cannot choose the platform or device, there are no listings for either.

I think that there must be a project file in which the format must have changed between versions. Do you have any advice on getting PocketFrog 0.6.0 to compile in eVC++ 4.0?

Somebody here must have it working...

Thanks again
You may find this article will help http://msdn.microsoft.com/library/defau ... ration.asp . My guess is you have to make eVC4.0 compile using the 3.0 subsystem (described in the article how to do this).
Thanks for the link but I have already tried everything in this article. It seems that the STL is the problem. I cant get it to work with eVc 4.0. Is it because eVc 4.0 already has STL? some Microsoft doc said it did. Nevertheless it still doesn’t work for me. If anyone has this working at least let us know so at least we will know it's not impossible.
nater · 24 Jan 2004, 00:58 UTC — Is this the right track :?:
I am trying to get the PocketFrog 0.6.0 LIB to build
in eMbedded Visual C++ 4.0.

First I downloaded and extracted the STLport sources
for 4.5.3. I added the include folders in the
tools->options->directories in the eVC++ 4.0 for both
platforms.

When opening the PocketFrog workspace, I could not
see any platforms in the WCE Configuration Toolbar.
So the project files are not compatible as fresh from
the download site.

Therefore, I created a new project, an empty
WCE Dynamic-Link Library project...
I am not sure that is what it should be...
OK, so now at least my WCE Configurations
would allow me to build something for a device
or emulation.

I had to add all the source files. I did add them
just like the original project files had them
organized.

I tried to build it. I looked like it might work,
but at the bottom, failed...

Code:
Deleting intermediate files and output files for project 'PocketFrog - Win32 (WCE emulator) Debug'.
--------------------Configuration: PocketFrog - Win32 (WCE emulator) Debug--------------------
Compiling...
display.cpp
image.cpp
input.cpp
pocketpc.cpp
rasterizer.cpp
rect.cpp
surface.cpp
game.cpp
splashscreen.cpp
blit4.cpp
blit8.cpp
blit16.cpp
GAPILibrary.cpp
graphicbuffer.cpp
memfile.cpp
raster2d.cpp
C:\Program Files\Windows CE Tools\wce420\POCKET PC 2003\Include\emulator\xstring(724) : warning C4530: C++ exception handler used, but unwind semantics are not enabled. Specify -GX
C:\Program Files\Windows CE Tools\wce420\POCKET PC 2003\Include\emulator\xstring(720) : while compiling class-template member function 'void __thiscall std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >::_Copy(
unsigned int)'
Win32Drivers.cpp
Linking...
LINK : fatal error LNK1104: cannot open file 'PocketFrog_EMU_PPC2002_Debug.lib'
Error executing link.exe.

PocketFrog.dll - 1 error(s), 1 warning(s)


Any obvious mistakes I am making :?:
How 'bout any not so obvious ones :?:

Maybe when someone gets it to work the
eVC++ 4.0 version of the project could be
a choice for downloading at the PocketFrog
download page.

Comments :?: Questions :?: Or Smart Remarks :?:
nater · 24 Jan 2004, 01:01 UTC — Oh Ya
Oh Ya!

... And I had to have the STLport include folders at the bottom of the list to get that far otherwise I had a lot more STL errors, starting with the can't find ctype.h file.

[/b]
You shouldn't have to create any projects. All you have to do is open the workspace file and everything should be ok.

Did you properly configure STLport to disable IO streams? Looks like your build is including <sstream> when it shouldn't.

And dont build it as a DLL. The .vcp project file is configured as a normal static library (.lib).
You shouldn't have to create any projects. All you have to do is open the workspace file and everything should be ok.


This is the first thing I tried when using eVC++ 4.0. However, I had not options in the build menu and like I said, nothing in the WCE Configuration Toolbar for platform or device targets.

Did you properly configure STLport to disable IO streams? Looks like your build is including <sstream> when it shouldn't.


I copied "stl_user_config.h" into the stlport folder. I made sure that the "# define __STL_NO_IOSTREAMS 1" was uncommented and defined... I also added a blank "assert.h" to stlport folder. I had to have the tools->options->directory->include folders have stlport folders at the bottom of the list to avoid a whole bunch of "can't find file" errors.

Are you sure with a new installation of eVC++ 4.0 that the project is ready to go?

(I am excited to get it working :) )