Compiled DWG support in LibreCAD
Currently, it is work in progress.
Implemented versions: R13, R14 & v2000
Implemented objects: linetype, layer, block & text style
Implemented entities: point, line, circle, arc, ellipse, ellipse arc, insert, lwpolyline & text
More entities & versions comming soon..
Make sure you have the qt-4 SDK installed.
Install the qt4 SDK by executing the following commands:
$ sudo apt-get install g++ gcc make git-core libqt4-dev qt4-qmake \
libqt4-help qt4-dev-tools libboost-all-dev libmuparser-dev
1. First download this
2. Extract this
3. Go to this directory
$ cd LibreCAD-dwgsupp2
4. Disable test build (only used in libdxfrw develop).
To disable comment line #7 in tests/libraries/libraries.pro (# libdxfrwtest \)
5. Build makefile
$ qmake librecad.pro
1. Made DWG file in CAD software like circle.dwg.
You can download from this.
2. Go to this directory
$ cd unix/
3. Run this
$ ./librecad circle.dwg
4. If nothing shows, then click on Auto Zoom.
Installed google test dependecy for DWG support.
Now tried to make a simple example using it.