PocketMatrix forums

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

Can't get sample applications to run on Win2k3 SE.

I can get stationary computer sample projects to compile and run just fine, however they don't seem to want to run on my PPC (Dell Axim x50v).

Here's what I do:

- Double check to make sure include paths are all there.
- Double check lib path.
- Double check GapiDraw.lib is in same directory as .exe (not sure if this is needed, but it's something I've tried).
- Recompile, no errors.
- eVC 4.0 downloads files to PPC.
- I click Plasma.exe in PPC and it gives me the error:
"Cannot find 'Plasma' (or one of its components). Make sure the path and filename are correct and all the required libraries are available."
- Retried everything in Release build.

I went to the web site and followed the instructions for creating a new project, and rechecked everything once more.

I have also tried creating an application from scratch, redoing everything above, and it still fails.

Just in case it was missed, I'm attempting to run the Plasma demo on my PPC. I have tried both the Plasma demo and my own application, both run fine on my stationary computer but not my PPC.

What am I missing?
Thanks in advance.
Er oh.. and yes, I'm recompiling everything for PPC arm. I'm not trying to run the stationary computer .exe on my PPC. :)
Have you tried copying the compiled versions shipped with GapiDraw to your device? Do they work?
Hi,
Did you copy the gapidraw.dll with your .exe on your ppc?
The message you get seems to indicate that you didn't...

Hope this helps.

Vincent.
Um. If you are using GapiDraw 3.5 the DLL shouldn't be necessary since it's using static linking...
Johan wrote:Um. If you are using GapiDraw 3.5 the DLL shouldn't be necessary since it's using static linking...


Okay I found the problem. I calling CGapiRGBASurface::CreateSurface(0, 0, 0) was throwing errors (see other thread) so I downgraded to a lower version of GapiDraw to see if the problem was just with the newer version (someone suggested that the older version didn't have the error, but it turned out to be false - again see other thread).

In any case, since I was using an older version, I forgot to copy over the correct .dll. gd301.dll (newest version uses GapiDraw.dll, which I believe isn't even required as Johan said). Needless to say it was my own stupidity. Thanks to the person who mentioned the .dll, it reminded me that I didn't copy over the correct one. :)