Hi, I'm new to ppc in general, and development specifically.
I've tried using Pocket Quake on my iPaq hx4700 and encounter the white screen issue several other people have mentioned, however I found that when I've tried to implement the fix in source with eVC4 that has been detailed in the Pocket Quake forums, I was unable to do a build on the source.
It seems to be looking for the winver.h include, but for some reason with the Pocket Quake project I am unable to select Pocket PC 2003 as my build platform, which generally clears up any build problems I have (the project only seems to want to compile for sh platforms?).
I've been looking around for information regards developing for PPC platforms, but there doesn't seem to be a great deal about, so any information / help anyone can offer would be greatly appreciated.
Indis wrote:
It seems to be looking for the winver.h include, but for some reason with the Pocket Quake project I am unable to select Pocket PC 2003 as my build platform, which generally clears up any build problems I have (the project only seems to want to compile for sh platforms?).
There is a problem: EVC3.0 and 4.0 project files are not quite compartible. So you will have to create new project in EVC4 in order to compile it for PPC2003.
jaguard wrote:There is a problem: EVC3.0 and 4.0 project files are not quite compartible. So you will have to create new project in EVC4 in order to compile it for PPC2003.
That isn't true. They are compatible. If you have an EVC3 project and want to use it in EVC4, simply load it and add the "ARMV4" target to it. Afterward your project file will work with both EVC3 and EVC4.
Thierry wrote:
That isn't true. They are compatible. If you have an EVC3 project and want to use it in EVC4, simply load it and add the "ARMV4" target to it. Afterward your project file will work with both EVC3 and EVC4.
I remember myself trying hard to add targets to EVC3 project opened in EVC4. They simply weren't there, only Standart SDK targets, not WM2003.
And what about this msdn topic?
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnppcgen/html/evc4migration.asp
I have over 15 projects here working in both EVC3 and EVC4 using the same vcw and vcp files. They were all created the way I described it.
Thierry wrote:I have over 15 projects here working in both EVC3 and EVC4 using the same vcw and vcp files. They were all created the way I described it.
Ah.. That's good then. It's just this topic in msdn, I've once given up trying after reading it

.
I've been unable to add the ARM targets to an eVC3 workspace loaded in eVC4... but it seems that if you load the eVC3 project into an eVC4 workspace - then you can add the target.
Thanks for the tips, adding ARMV4 as a target to the project worked a treat.
However (couldn't you just see a "However" coming!) I'm having problems compiling still. I'm now getting errors in gx.h, namely it doesn't seem to accept "GXGetDisplayProperties" and "GXGetDefaultKeys" as identifiers.
I don't have any trouble building the sample that uses gx.h (Gapiapp), but I'm unable to convince Pocket Quake / Quake2 to accept them as valid functions.
Any ideas?
I should have included a modified gx.h in the Pocket Quake source. Use that include file.
GxBeginDraw and GxEndDraw need to be called every frame. That is why the older version does not work on some new devices. You can comment out a few lines of code to correct the problem.
Dan East
Thanks Dan, the version of gx.h supplied with the source fixed that problem nicely.
Hopefully I'm down to my last obstacle, when compiling now it complains that it can't find "PocketQuake.res".
This file exists in the "PocketQuake/ARMV4Dbg", but I can't find a way to tell eVC4 this.
If anyone knows how to solve this one I'll be very happy!
On side note, most of my experience is with Borland development environments, so far I havn't found any conversions of the headers and libs that work with BC++ or Delphi, does any one know if there has been a set converted to work with the Borland environments? I suspect that VCL based environments would not necessarily be the best to work with PPC given the desire for a small memory footprint?
That would be the resource file. The resource file in that output directory would not be the correct one.
Dan East