PocketMatrix forums

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

Running the sample

yop !

the lib & sample is downloaded & extracted, EvC 3.0 loads the workspace, ok. i add the OVERLOADED\HEADERS directory, set PocketPC, ARM Debug, ok.

i build all:
OverloadedARMDebug.dll download ok

at first, i got the caverunnerARM.exe but as i click it, nothing happens on the iPaq(3760)

* that's my first question: do i need a GPRS connection to code overloaded progs ?

then, i now get the error message:

"The build cannot proceed because the current target CPU for the dependant project dose not match the one for the active project. Please select a CPU shared by all the projects."

and that's my second question:

* has Jacco decided that i go depressed :')

(appologies if this has been explained somewhere, i'm french and i often miss important piece of information for some language reasons)

Thx all
Lewil,

You don't need a GPRS connection to test the apps. BUT: All apps need data from the 'common' dir. SO: Create the following dir structure on your device:

Overloaded
>> Common
>>> Graphics
>>> Sounds
>> CaveRunner
>>> Graphics
>>> Sounds

and copy the relevant files to these dirs. Also make sure you have a copy of gx.dll on your device.

Now it should work. These instructions will be added to the manual (in a more detailed form) today.

And no, I don't want to see you get depressed. :)

- Jacco.
thx Jacco :')

i can compile in ARMrelease mode, then i get 73 warnings like this one:
"Overloaded\DLL\Licensed\MikModCE\loaders\load_mod.c(257) : warning C4761: integral size mismatch in argument; conversion supplied"
but downloads are ok for Dlls and exe

(ARMdebug compil won't work)

i've placed the subdir struct you gave, including the .ini files in it and all graphics in appropriate dir, with no success, nothing happens (not even an error message :p ).

i keep on trying

the gx.dll i have in is the one i use for easyCe coding, should be good ?
Lewil,

The warnings are generated by MikMod. That's not my lib, and I don't feel like fixing 2K warnings. :)

And about the app not working:
Please check that the ini file is in the same dir as the executable, and that you have the dll's in the same dir as the executable (gprs.dll and overloaded.dll). It should work now. If it doesn't, let me know, and we'll have a closer look.

- Jacco
Pocket PC / EVC++
=================

let's have an overview: (hopping that will save time to everybody that wants to work with overloaded)
Code:

/*
\Overloaded
|
|----\common
| |--------\graphics
| | |----- arialbold.tga (aso)...
| |
| |--------\sounds
|
|----\caverunner
| |
| |-------caverunnerARM.exe, game.ini, user.ini
| | gprs.dll, gprsarm.dll
| | gprsdebug.dll, overloadedARMdebug.dll
| |
| |--------\graphics
| | |----- gameover.tga (aso)...
| |
| |--------\sounds
*/


(please little forum, keep the spaces :p )
(post edited - better viewed this way)

and gx.dll in windows dir

ouch :) caverunnerARMDebug.exe doesn't work, but caverunnerARM.exe does !!!

ok i think i will succeed in finding a comfortable way to code now :) THX Jacco !


WIN32 PC
========

Compile works well with Vc++ straight on the PC just with setting the OVERLOADED\HEADERS duirectory !!! which is a new mystery for me cause i haven't seen any PTC stuff, is it "included" in the pack ?

huhu it's nice :o) what a work you've done, it's up to us now :)
If you don't feel like fixing the warnings, and don't want to watch them, just add
Code:

#pragma warning ( 4761 : disable )

In the mikmod header, and
Code:

#pragma warning ( 4761 : default )

In your files after the mikmod header. This part is optional, but it will make it show the warning will still show up on your code. I'm asssuming you are willing to fix your bugs, right?

It may be ( disable : 4761 ) and ( default : 4761 ) instead. I don't have the docs handy so I can't check.
Lewil,

I didn't try very hard to get the debug settings for the projects right. I didn't try at all to get the settings for MIPS and SH3 right. :) Believe me, you don't want to debug on the device, use VC instead.

About the headers: You had to change the headers file include path? Odd.

About PTC: It's in Overloaded\DLL\Licensed. ZLib is there as well, and so is MikMod.

- Jacco.
hmm

I tried compiling the libraries and caverunner
and got lot s of errors in vc.

I added the headers to cave runner but still problems.

Where do I need to adds this folder in vc that you are talking about ?
You are using Visual C 5.0, right? Are you trying to rebuild the project manually in 5.0?