FreeSoftware to the fullest!

How to try the new KAlgebra

I am recruiting agressively people to try the new KAlgebra. Its in a beta state, things work but there may be some issues.
It has been tested in GNU/Linux (KUbuntu being precise), Mac OS X and Windows XP SP2. Yes, now it is really multiplatform. 🙂

To compile and use it you need to have Qt4 libraries (both execution and development) and a subversion client (subversion package on linux and tortoise svn in windows. On macos I used the same in linux, but it behaved in a strange way).
To download it and compile follow the next steps (unix way, other systems may differ the commands but the idea is the same):
mkdir kalgebra
svn checkout svn://svn.berlios.de/kalgebra/trunk
cd trunk
qmake-qt4
make

Hope someone tries it, and if you do, please tell me about your experience :).

4 Comments

  1. servo

    We want inequation’s support! 🙂

  2. kjuanlu

    Checked out revision 127.

    This revision have not a .pro file. qmake-qt4 needs –project parameter, but the makefile does not run correctly:


    root@eudytes:/home/kjuanlu/qt/kalgebra/trunk# ls *.pro
    ls: *.pro: No such file or directory
    root@eudytes:/home/kjuanlu/qt/kalgebra/trunk# qmake-qt4 -project
    root@eudytes:/home/kjuanlu/qt/kalgebra/trunk# qmake-qt4
    root@eudytes:/home/kjuanlu/qt/kalgebra/trunk# make
    g++ -c -pipe -O2 -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtGui -I/usr/include/qt4 -I. -I. -I. -o algebra.o algebra.cpp
    In file included from analitza.h:26,
    from graph2d.h:19,
    from functionedit.h:13,
    from algebra.h:11,
    from algebra.cpp:15:
    expression.h:24:17: error: QtXml: No such file or directory
    In file included from algebra.h:15,
    from algebra.cpp:15:
    graph3d.h:4:21: error: QGLWidget: No such file or directory
    value.h:38: error: expected ‘,’ or ‘...’ before ‘&’ token
    value.h:38: error: ISO C++ forbids declaration of ‘QDomElement’ with no type
    value.h:44: error: expected ‘,’ or ‘...’ before ‘&’ token
    value.h:44: error: ISO C++ forbids declaration of ‘QDomElement’ with no type
    container.h:33: error: variable or field ‘print_dom’ declared void
    container.h:33: error: ‘QDomNode’ was not declared in this scope
    container.h:33: error: expected primary-expression before ‘int’
    container.h:33: error: initializer expression list treated as compound expression
    expression.h:46: error: expected ‘,’ or ‘...’ before ‘&’ token
    expression.h:46: error: ISO C++ forbids declaration of ‘QDomElement’ with no type
    graph3d.h:44: error: expected class-name before ‘{’ token
    graph3d.h:44: warning: ‘class Graph3D’ has virtual functions but non-virtual destructor
    graph3d.h: In member function ‘void Graph3D::setTransparency(bool)’:
    graph3d.h:58: error: ‘glDraw’ was not declared in this scope
    algebra.cpp: In constructor ‘QAlgebra::QAlgebra(QWidget*)’:
    algebra.cpp:138: error: no matching function for call to ‘QVBoxLayout::addWidget(Graph3D*&)’
    /usr/include/qt4/QtGui/qboxlayout.h:64: note: candidates are: void QBoxLayout::addWidget(QWidget*, int, Qt::Alignment)
    algebra.cpp:142: error: no matching function for call to ‘QAlgebra::connect(Graph3D*&, const char [25], QAlgebra* const, const char [34])’
    /usr/include/qt4/QtCore/qobject.h:181: note: candidates are: static bool QObject::connect(const QObject*, const char*, const QObject*, const char*, Qt::ConnectionType)
    /usr/include/qt4/QtCore/qobject.h:282: note: bool QObject::connect(const QObject*, const char*, const char*, Qt::ConnectionType) const
    algebra.cpp:149: error: no matching function for call to ‘QMenu::addAction(QString, Graph3D*&, const char [13])’
    /usr/include/qt4/QtGui/qmenu.h:65: note: candidates are: QAction* QMenu::addAction(const QString&)
    /usr/include/qt4/QtGui/qmenu.h:66: note: QAction* QMenu::addAction(const QIcon&, const QString&)
    /usr/include/qt4/QtGui/qmenu.h:67: note: QAction* QMenu::addAction(const QString&, const QObject*, const char*, const QKeySequence&)
    /usr/include/qt4/QtGui/qmenu.h:68: note: QAction* QMenu::addAction(const QIcon&, const QString&, const QObject*, const char*, const QKeySequence&)
    /usr/include/qt4/QtGui/qwidget.h:489: note: void QWidget::addAction(QAction*)
    algebra.cpp: In member function ‘void QAlgebra::afegeix()’:
    algebra.cpp:180: error: ‘class Graph3D’ has no member named ‘setFocus’
    make: *** [algebra.o] Error 1

  3. uzjmeqg

    [Cool staff!||Hi! I think this need for || Help me with – ||Hello….||I find this – || It`s realy cool!]

  4. w0land

    It looks like, you don’t have QtXml module, or make cannot find headers file for it, as well as QGL. Try install it, then continue.

© 2024 TheBlindCow

Theme by Anders NorenUp ↑