You are not logged in.
Hi there!
I have a weird problem when I try to compile kdissert.
[31/136] * cpp : ../src/kdissert/canvasview/DCanvasLink.cpp -> default/src/kdissert/canvasview/DCanvasLink.o
../src/kdissert/canvasview/DCanvasLink.cpp: In member function 'void DCanvasLink::setPosThickWeb()':
../src/kdissert/canvasview/DCanvasLink.cpp:308: error: 'abs' was not declared in this scopeWhat can I do to remedy to that problem?
Last edited by valandil (2008-09-08 01:31:29)
Offline
Hello!
Are you using KDE4 or KDE3 ?
@+
Shaika-Dzari
http://www.4nakama.net
Offline
In fact, I am using GNOME, but I installed the qt3 package.
Offline
Apply this patch:
http://kambing.ui.edu/gentoo-portage/kd … cc43.patch
Offline
Sorry for the noobiness, but what I am to do with this?
Offline
try this modified AUR PKGBUILD (not tested).
pkgname=kdissert
pkgver=1.0.7
pkgrel=1
pkgdesc="A KDE mindmapping tool"
arch=('i686' 'x86_64')
url="http://www.freehackers.org/~tnagy/kdissert/"
license=('GPL')
depends=('kdelibs3')
makedepends=('python')
source=("http://www.freehackers.org/~tnagy/$pkgname/$pkgname-$pkgver.tar.bz2" http://kambing.ui.edu/gentoo-portage/kde-misc/kdissert/files/kdissert-1.0.7-gcc43.patch)
md5sums=('88ad0d4f67bded1aac307434564215fc' 'c33befefb9152d64fa619778fc4cec05')
build() {
. /etc/profile.d/qt3.sh
export PATH=$QTDIR/bin:$PATH
export QMAKESPEC=$QTDIR/mkspecs/linux-g++
cd $startdir/src/$pkgname-$pkgver
patch -p0 < ../kdissert-1.0.7-gcc43.patch ||return 1
./waf --prefix=$(kde-config --prefix) configure
./waf
./waf --destdir=$startdir/pkg install
#fix category in .desktop file
sed -i -e 's/Utility;X-KDE-More/Office/' $startdir/pkg/opt/kde/share/applications/kde/kdissert.desktop
rm -rf $startdir/pkg/opt/kde/share/applnk
}Offline
Unfortunately, this doesn't work.
[66/136] * cpp : default/src/kdissert/settings.cpp -> default/src/kdissert/settings.o
In file included from /usr/include/QtCore/QFile:1,
from default/src/kdissert/settings.cpp:7:
/usr/include/QtCore/qfile.h:55: error: 'QT_BEGIN_HEADER' does not name a type
/usr/include/QtCore/qfile.h:64: error: function definition does not declare parameters
/usr/include/QtCore/qfile.h:200: error: expected constructor, destructor, or type conversion before '(' tokenOffline
Hi guys!
Thanks for all the help you provided me, but I just found out that Semantik (which I am now able to build) is backwards compatible with Kdissert and it now features the document-generating thing.
So... thanks for your time!
Offline