Re: How to use libdxfrw?
Posted by
Kamalpreet on
URL: https://forum.librecad.org/How-to-use-libdxfrw-tp5713395p5713414.html
R. van Twisk wrote
here is an example
https://github.com/rvt/dxfrwtest (we spoke on the LibreCAD IRC channel).
modify CMakeLists.txt because I quickly hacked it together.
For your sample you gave me,
I would advice against trying to modify existing code when you are traying to understand something. It's usually better to start from 0 and learn from their then modifying existing code, change a lib and hope for the best...
Various virtual functions have been included in 'ExampleWriter.h'. For an instance,
virtual void addLType(const DRW_LType &data) override {
}
Why do one need to include the functions that are not even considered to be used in a project?