[Kde-finance-apps] First appearance of Alkimia in the KDE SVN repository

Thomas Baumgart thb at net-bembel.de
Tue May 25 13:23:38 CEST 2010


Brian,

On Tuesday 25 May 2010 12:49:44 you wrote:

> On Sun, May 23, 2010 at 9:11 AM, Thomas Baumgart <thb at net-bembel.de> wrote:
> > Hi all,
> >
> > I just added some initial code to the Alkimia directory
> > http://websvn.kde.org/trunk/playground/office/alkimia/ of the KDE SVN
> > repository.
> >
> > It's not much, but I promised to work on the general object to represent
> > values.
> >
> > Have fun.
> 
> I'm probably just being dumb, but, what does one need to do to use this in
> their program? I was able to get the code from SVN built and installed but
> when I try to #include it keeps telling me it can't find alkvalue?

here are two files which I used to run some preliminary tests. Still have to 
workout a proper suite of unit test cases plus its integration into the 
package. Will do so as time permits.

Drop the two files into the same directory you have checked-out the alkimia 
files. Make sure to name your build directory for alkimia 'build' right 
underneath the source directory and simply run

Here's how this looks on my box:

thb at thb-nb:~/devel/alkimia/libalkimia> ls
alkvalue.cpp  alkvalue.h  build  CMakeLists.txt  main.cpp  Makefile

thb at thb-nb:~/devel/alkimia/libalkimia> make
g++ -I/usr/include/Qt -I/usr/include/QtCore -c -o main.o main.cpp
g++ -o main main.o -Lbuild/lib -lalkimia -lQtCore -lstdc++

thb at thb-nb:~/devel/alkimia/libalkimia> ./main
C='-3/4'
C='3/4'
A='123'
A='1/4'

A='8687021468732621/70368744177664'

A='217175536718315525/17592186044416'
A='12345/100'
B='621/5'
B='124'
D='17/2'
E='1/4'
F='1/2'
F='-1'
F='154321/125'
a == b = 0
a < b = 0
a > b = 1
Z='8687021468732621/70368744177664'


-- 

Regards

Thomas Baumgart

GPG-FP: E55E D592 F45F 116B 8429   4F99 9C59 DB40 B75D D3BA
-------------------------------------------------------------
Real Programmers don't write in PL/I. PL/I is for programmers who
can't decide whether to write in COBOL or FORTRAN.
-------------------------------------------------------------
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Makefile
Type: text/x-makefile
Size: 225 bytes
Desc: not available
Url : http://mail.kde.org/pipermail/kde-finance-apps/attachments/20100525/87b73828/attachment.bin 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: main.cpp
Type: text/x-c++src
Size: 1814 bytes
Desc: not available
Url : http://mail.kde.org/pipermail/kde-finance-apps/attachments/20100525/87b73828/attachment.cpp 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 225 bytes
Desc: This is a digitally signed message part.
Url : http://mail.kde.org/pipermail/kde-finance-apps/attachments/20100525/87b73828/attachment.sig 


More information about the Kde-finance-apps mailing list