KAD - KDE aided design
Graphics
Score 70%
Description:

KAD - KDE aided design is a complete
2D CAD system based on QCad by ribbonsoft. It is suited for both beginners and experienced CAD users.
Last changelog:

9 years ago

* improved installation (thanks to Riccardo Gori)
* better binary package (see website)

rik81

9 years ago

On a 64bit-PC I got this error:

/kad-0.8.2-Source/qcadlib/src/engine/rs_layer.cpp: In function ‘std::ostream& operator<<(std::ostream&, const RS_Layer&)’:
/kad-0.8.2-Source/qcadlib/src/engine/rs_layer.cpp:58: error: cast from ‘const RS_Layer*’ to ‘int’ loses precision

I could fix it by changing the cast from (int) to (long).


The very same error occured later:

/kad-0.8.2-Source/qcadlib/src/engine/rs_entity.cpp: In function ‘std::ostream& operator<<(std::ostream&, RS_Entity&)’:
/kad-0.8.2-Source/qcadlib/src/engine/rs_entity.cpp:864: error: cast from ‘RS_Layer*’ to ‘int’ loses precision

By fixing this too, compiling and linking finished with no errors.

Report

loak

9 years ago

Hello,

great to see KAD, however I didn't succeed with it's compilation:

[ 99%] Building CXX object kad/src/CMakeFiles/kad.dir/main.o
In file included from /home/oak/Sys/Install/kad-0.8.2-Source/dxflib/src/dl_attributes.h:33, from /home/oak/Sys/Install/kad-0.8.2-Source/dxflib/src/dl_creationinterface.h:32, from /home/oak/Sys/Install/kad-0.8.2-Source/qcadlib/src/filters/rs_filterdxf.h:48, from /home/oak/Sys/Install/kad-0.8.2-Source/kad/src/main.cpp:52:
/home/oak/Sys/Install/kad-0.8.2-Source/dxflib/src/dl_codes.h:35:5: warning: "_MSC_VER" is not defined
In file included from /home/oak/Sys/Install/kad-0.8.2-Source/dxflib/src/dl_dxf.h:40,
from /home/oak/Sys/Install/kad-0.8.2-Source/qcadlib/src/filters/rs_filterdxf.h:49,
from /home/oak/Sys/Install/kad-0.8.2-Source/kad/src/main.cpp:52:
/home/oak/Sys/Install/kad-0.8.2-Source/dxflib/src/dl_writer_ascii.h:31:5: warning: "_MSC_VER" is not defined
In file included from /home/oak/Sys/Install/kad-0.8.2-Source/dxflib/src/dl_writer_ascii.h:35,
from /home/oak/Sys/Install/kad-0.8.2-Source/dxflib/src/dl_dxf.h:40,
from /home/oak/Sys/Install/kad-0.8.2-Source/qcadlib/src/filters/rs_filterdxf.h:49,
from /home/oak/Sys/Install/kad-0.8.2-Source/kad/src/main.cpp:52:
/home/oak/Sys/Install/kad-0.8.2-Source/dxflib/src/dl_writer.h:31:5: warning: "_MSC_VER" is not defined
/home/oak/Sys/Install/kad-0.8.2-Source/kad/src/xpm/splash_qcad.xpm:2: warning: ‘splash_xpm’ defined but not used
[ 99%] Building CXX object kad/src/CMakeFiles/kad.dir/qc_applicationwindow.o
/home/oak/Sys/Install/kad-0.8.2-Source/kad/src/qc_applicationwindow.cpp:172: warning: unused parameter ‘name’
/home/oak/Sys/Install/kad-0.8.2-Source/kad/src/qc_applicationwindow.cpp: In member function ‘void QC_ApplicationWindow::updateGrids()’:
/home/oak/Sys/Install/kad-0.8.2-Source/kad/src/qc_applicationwindow.cpp:1705: warning: suggest parentheses around assignment used as truth value
/home/oak/Sys/Install/kad-0.8.2-Source/kad/src/qc_applicationwindow.cpp: In member function ‘void QC_ApplicationWindow::slotOptionsGeneral()’:
/home/oak/Sys/Install/kad-0.8.2-Source/kad/src/qc_applicationwindow.cpp:1851: warning: suggest parentheses around assignment used as truth value
/home/oak/Sys/Install/kad-0.8.2-Source/kad/src/qc_applicationwindow.cpp: In member function ‘QC_MDIWindow* QC_ApplicationWindow::getMDIWindow()’:
/home/oak/Sys/Install/kad-0.8.2-Source/kad/src/qc_applicationwindow.cpp:2349: warning: suggest parentheses around assignment used as truth value
/home/oak/Sys/Install/kad-0.8.2-Source/kad/src/qc_applicationwindow.cpp: In member function ‘virtual bool QC_ApplicationWindow::queryClose()’:
/home/oak/Sys/Install/kad-0.8.2-Source/kad/src/qc_applicationwindow.cpp:2903: warning: suggest parentheses around assignment used as truth value
[ 99%] Building CXX object kad/src/CMakeFiles/kad.dir/qc_dialogfactory.o

Report

gohanz

9 years ago

On my Slackware 12.0 the good compilation sequence is

cd kad-compile
cmake ..
make
make install

the README report

cd kad-compile
cmake ../kad
make
make install

on my system the README sequence give
an error.


Scanning dependencies of target kad
[ 50%] Building CXX object src/CMakeFiles/kad.dir/main.o
/root/Desktop/Scaricati/kad-0.8.1/kad/src/main.cpp:45:25: error: rs_fontlist.h: No such file or directory
/root/Desktop/Scaricati/kad-0.8.1/kad/src/main.cpp:46:28: error: rs_patternlist.h: No such file or directory
/root/Desktop/Scaricati/kad-0.8.1/kad/src/main.cpp:47:27: error: rs_scriptlist.h: No such file or directory
/root/Desktop/Scaricati/kad-0.8.1/kad/src/main.cpp:48:25: error: rs_settings.h: No such file or directory
/root/Desktop/Scaricati/kad-0.8.1/kad/src/main.cpp:49:23: error: rs_system.h: No such file or directory
/root/Desktop/Scaricati/kad-0.8.1/kad/src/main.cpp:50:23: error: rs_fileio.h: No

Report

goric

9 years ago

Try to mkdir kad-compile "outside" the kad directory

Report

chris2553

9 years ago

Hi,
I've built kad and installed it, but 'make install' doesn't install any of the .xpm or .png icons, so the toolbar just has lots of "missing icon" icons, if you see what I mean.

Chris

Report

tekki

9 years ago

Ooops, you are right. Forgot some
install commands in the CMakeFiles.
I updated the package, the new
version 0.8.1 should install fine
now. Thanks for the bug report!

Report

chris2553

9 years ago

Yep, That's fixed it thanks, although there still seems to be one icon missing. The mouse-over tip that pops up says "Previous View".

Report

9 years ago

* improved installation (thanks to Riccardo Gori)
* better binary package (see website)

product-maker 11 33

File (click to download) Version Description Filetype Packagetype License Downloads Date Filesize OCS-Install DL
Details
version
0.8.2
updated Nov 16 2007
added Nov 16 2007
downloads today
0
page views today 0