Help - Search - Members - Calendar
Full Version: Unit Convertor/Calc with Unit Convert that works
OESF Forums > Distros, Development, and Model Specific Forums > Everything Development > User Request for Applications
ksignorini
I'm new to the Z world, and one of the things that drew me to it was seeing screenshots of Zaurus Unit Convertor online. I need this app daily.

BUT! I'm running OZ 3.5.1 and of course I have to makecompat ZUC to use it.

Well, apparently this buggers up some floating point math or something and therefore renders ZUC unusable (none of the numbers/math works!).

So, if someone would like to make a nice little unit conversion program--with Pressure and Speed and Distance and Temperature (the ones I use the most) that would be so kind--especially Pressure (and if you want to add CFM to L/s that would be great, too!)

Thanks,
Kent!
dougeeebear
Read this...

http://www.oesf.org/forums/inde...?showtopic=8141
ksignorini
Ya, um, I started that thread. In fact, it's the reason I started this one.

See, I need a calculator/unit converter that works, and so far nothing in that other thread seems to work.

So again, if anyone wants to make one that works, I'll be the first to try it out!

Thanks,
Kent!
lardman
Doesn't opie-calc do this?

I'm pretty sure It used to.


Si

P.S.
QUOTE
BUT! I'm running OZ 3.5.1 and of course I have to makecompat ZUC to use it.

Well, apparently this buggers up some floating point math or something and therefore renders ZUC unusable (none of the numbers/math works!).


The two things are independant; even if you didn't use the compat libs it still wouldn't work as OZ3.5.1 now uses -soft-float. The compat libs are simply to translate the different name-mangling schemes which are used by C++ programs (and libs) compiled with different versions of GCC (2.xx vs. 3.xx)
ksignorini
Si:

If it does, I can't figure out how. Where I would assume there should be a button for conversions it only says "Standard" and is greyed-out. Truth be told, opie-calculator looks like a calc program I used to use on the Palm called Parens (which had a similar button for conversions).

Could there simply be a config file somewhere that defines the unit conversions that is missing or didn't get installed?

(I installed opie-calculator from the OZ 3.5.1 feed.)

Thanks,
Kent!
zenyatta
QUOTE(lardman @ Nov 1 2004, 07:30 AM)
The two things are independant; even if you didn't use the compat libs it still wouldn't work as OZ3.5.1 now uses -soft-float.

So would building ZUC in OE help? Or are changes to the code necessary?

z.
jdmoorman
try neocal

http://www.hudren.com/products/neocal/
ksignorini
Can new units be added to neocal?

Because by default it doesn't look like it has pressure.

Kent!
lardman
QUOTE
So would building ZUC in OE help? Or are changes to the code necessary?


No, just recompiling (with the -soft-float option) would do the trick (which means using GCC3.xx anyway iirc), so adding it to OE would be the easiest way.


Si
ksignorini
OK! Well, I downloaded the source for version 1.1 and read the "copying" file. The software is released under the GPL, so I think it could be re-compiled/re-distributed legally.

So, how do we go about getting ZUC added to OE?

Kent!

p.s. If anyone has all the cross-compiling/tool chain stuff for OE installed on their machine and wants to do a temporary recompile for me until ZUC is officially added to the OE project, I would certainly dig it! The source for ZUC is available at: http://prdownloads.sourceforge.net/zuc/zuc-1.1.tar.gz
zenyatta
I tried it a couple of days ago (me, always thinking ahead smile.gif ) but I failed miserably and don't think I have the time to look for reasons... Here's what I did:

1. Identified (what I thought was) a suitable really-not-very-complex app already included in OE. I chose zgscore which is a golf scorecard.
2. Created a copy of the $PKGDIR/zgscore directory and called it $PKGDIR/zuc.
4. Renamed the .oe file in $PKGDIR/zuc to zuc_1.1.oe.
5. Edited $PKGDIR/zuc/zuc_1.1.oe to (what I thought were) proper settings.
6. Ran the OE setup script and then "oebuild $PKGDIR/zuc/zuc_1.1.oe"
7. Watched the build as it failed.

I suspect the problem is that zgscore.oe inherits the "palmtop" class (classes are like build templates which you customise in your .oe file). zuc should probably be using a different class. I don't know which one, though. Someone more knowledgeable should take a look at it...
lardman
I'll take a look at it, but it probably won't be until next week as I'm a bit busy at the moment (my build PC's at home and I'm working late).


Si
ksignorini
Thanks! I'll keep my eye on this post. You can't imagine how (geeky quip coming up) excited I would be if you got this app recompiled for OE and it worked!

Thanks,
Kent!
ksignorini
Not pushing, uh-uh, but, has anyone had a chance to look at re-compiling this app over the last week?

Thanks,
Kent!
lardman
Sorry, I've been busy and in any case I'm trying to update OE so am out of the picture for the time being (don't have the sources, slow dial-up, etc.), perhaps someone with a working OE setup will be kind enough...?


Si
zenyatta
ksignorini, arm yourself with patience on this one (or switch to SharpROM for the time being, ha ha ha). I'm moving from Fedora Core 2 to Core 3 which involves a big disk clean-up. Maybe over the weekend I'll have time to look at it again - no promises.
ksignorini
zenyatta:

(haha)

No sweat.

I may even try to do an OE setup with Mac OS X, though from the instructions I've read, it may end up messing with my development tools too much (and I need them working for a course I'm taking).

I'll just bump this post once a week or ten days to keep it fresh.

If you do manage to come up with a working app, please let me know!

Thanks,
Kent!
svtom
QUOTE(ksignorini @ Nov 1 2004, 05:45 AM)
I'm new to the Z world, and one of the things that drew me to it was seeing screenshots of Zaurus Unit Convertor online.  I need this app daily.

BUT!  I'm running OZ 3.5.1 and of course I have to makecompat ZUC to use it. 

Well, apparently this buggers up some floating point math or something and therefore renders ZUC unusable (none of the numbers/math works!).

So, if someone would like to make a nice little unit conversion program--with Pressure and Speed and Distance and Temperature (the ones I use the most) that would be so kind--especially Pressure (and if you want to add CFM to L/s that would be great, too!)

Thanks,
Kent!
*


Hi Kent,

you may already know, just for sure. I had realized the same troubles after flashing my 5500 with OZ 3.5.2 and Opie 1.1.7. Then, I found upgraded version in the OZ 3.5.2 download tree at:
http://www.openzaurus.org/official/unstable/3.5.2/upgrades/
I donwloaded zuc_1.1.2ern-r1_arm.ipk and it works just fine for me. So far, I tested only temperatures which I need at most.

Tomas
ksignorini
Ya, the 3.5.2 includes it.

Thanks!

Kent!
donaldfr
I second this. The Psion used to have a fantastic unit conversion program from, I believe, a company with a name similar to Purple Software. I found a good one for the Zaurus called Universal Converter that kinda worked on my Zaurus C-860, but won't work at all on the C-3000. I have yet to find one for the C-3000.

-- Donald

QUOTE(ksignorini @ Oct 31 2004, 08:45 PM)
I'm new to the Z world, and one of the things that drew me to it was seeing screenshots of Zaurus Unit Convertor online.  I need this app daily.

BUT!  I'm running OZ 3.5.1 and of course I have to makecompat ZUC to use it. 

Well, apparently this buggers up some floating point math or something and therefore renders ZUC unusable (none of the numbers/math works!).

So, if someone would like to make a nice little unit conversion program--with Pressure and Speed and Distance and Temperature (the ones I use the most) that would be so kind--especially Pressure (and if you want to add CFM to L/s that would be great, too!)

Thanks,
Kent!
*
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2014 Invision Power Services, Inc.