PocketMatrix forums

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

Dummies guide for eVC4 + PF

I've been reading lots of posts on this forum, trying to get some info on how to get a programming environment set up for compiling programs on both emulator and ppc.

No luck..

Here's what I've installed:
-eVC4
-eVC4 SP4
-PPC 2003 SDK
-Pocketfrog 0.8.1

So I open the workspace and try to compile something in the emulator, then this message pops up: "The Intel 80486 CPU does not support configuration Blit - Win32(WCE ARMV4) Release! Executable will not run on device." I thought the emu would emulate whichever cpu the config told it to.

Next, I try compiling for my WM5 device, and sending the files via Activesync works fine, but then I get the message "The ARMSA1100 CPU does not support configuration Blit - Win32(WCE ARMV4) Release! Executable will not run on device."

-_-

From what I've gathered, eVC4 is what I need to compile for WM2003/WM5. Or VS2005, which I can't afford.

Can anyone correct me, and perhaps post a step-by-step tutorial on getting eVC4+PF to work?
About the warning "The ARMSA1100 CPU does not support..", I got the Hello World example that comes with eVC4 to work on my WM5 device (i-mate jamin)..

But blit.exe compiled with pocketfrog workspace crashes the device, and I have to soft reset
I see no one has replied to this one.
Error messages telling you 'platform not supported' etc are typical of what happens when getting started. You need to have all the correct options & know what you are doing. If you want to build for a particular option then you have to set up the eVC4 options for compile & link correctly for that option.

I suggest that you search in this forum for the error & read the articles on my website about using PF. Once you are sure you are set up properly then post back here. My PF site is
http://www.sundialsoft.freeserve.co.uk/pocket_frog.htm
I have a couple of things to add...

When I was swapping back and forth between eVC3 and eVC4, I had to rebuild the pocketFrog library. Otherwise, I ended up with an exe that would crash.

I also had lots of trouble trying to add a target platform to a project. I found it easier to modify an existing one rather than setting one up from scratch.
Thank you for the replies.
(i'm the starter of this topic.. I should register, I know:)

My setup is now:
-eVC3 (I want to support 2002-WM5)
-Pocketfrog 0.8.1

I've been successful in making PF compile for the x86 emulator now, and I tested some of the bundled samples.

So my next step is to make the (ARM) executables work on my WM5 device.
As I understand it, the built-in image loader of PF is what makes it crash on WM5. What replacement would you recommend - which one's the most compatible?

Conan: I had a look at your tutorials. Good stuff. Is the Hekkus tutorial up to date? As in, is it plug and play for the newest ver. of PF and Hekkus? I'm gonna try it when I get the chance.
For loading images, you've basically got a couple of options listed in this thread: http://www.pocketmatrix.com/forums/view ... hp?t=22270 or you could come up with your own image loader, but that's a lot of work.

I use the SHLoadImageFile and SHLoadImageResource functions, and haven't received any complaints from my users, so I guess they're a pretty safe bet. :) I haven't tried the other code, so I won't comment on it.

-John
re: Hekkus, yes it works fine with the latest 'patched for image loading' version of PF using Pocket Hal and builds & runs correctly on VS2005.
Always get the latest Hekkus from Thomas's site.