Posted: Mon 27 Sep 2010, 06:22 Post subject:
Where is the Ycalc source code (ycalc-1.09.1 PET)? Subject description: Where can I find the source code for the PET ycalc-1.09.1?
Where can I find the source code for the PET ycalc-1.09.1 (TI-59 calculator)? Is there a general way of finding the source that generated a PET?
Thanks! I tried to compile the source code you sent a link to in Puppy 4.3.1 with devx but I get lots of errors and it stops prematurely. I also tried the source code at http://puppylinux.org/wikka/Ycalc. I suppose none of these can be exactly the same source code that is used in Puppy since that should compile using make and produce an executable file. I think one should have access to the actual source of a binary and not some old version that you have to spend hours correcting. Maybe this was compiled years ago and then only the binary was saved.
Is it possible to compile ycalc in Puppy 4.3.1 only making changes to the Makefile or do I have to change the source code as well? The header files of C were probably different when this source code was written.
After adding #include <string.h> to Main.h I now only get one error:
Code:
In file included from calc.c:73:
Calc.h:72: error: array type has incomplete element type
make: *** [calc.o] Error 1
.
I fixed this error by switching the order of
Code:
#include "Calc.h"
#include "Keys.h"
to
Code:
#include "Keys.h"
#include "Calc.h"
in every file that used Calc.h.
I also tested to make changes to the About box so I know it's really my compiled version I run.
Now everything works fine but I think the actual source code should be available so that others don't have to do the same corrections.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum