title: How to handle DWG files in C++
body: <p>I'm working on a project where I will need to import line data from a .dwg file in C++ and am struggling to know where to start. I've had a look at this <a href="http://opendesign.com/files/guestdownloads/OpenDesign_Specification_for_.dwg_files.pdf" rel="nofollow noreferrer">http://opendesign.com/files/guestdownloads/OpenDesign_Specification_for_.dwg_files.pdf</a>, and I think it is possibly too hardcore for me unless anyone knows of a way of describing, simply, in code the strategy for decoding it? For instance, presumably every single operation would have to be bit wise?</p>
  
  <p>Other than that, I might have to rely on some third-party libraries, but the question is: Are there any such (open source) libraries which are licensed with a permissive license? I can't use copy left code in this project.</p>
  
  <p>To clarify in response to comments, I'm looking for <em>permissive</em> licensed libraries (see <a href="http://en.m.wikipedia.org/wiki/Permissive_free_software_licence" rel="nofollow noreferrer">http://en.m.wikipedia.org/wiki/Permissive_free_software_licence</a>). This includes for example MIT and BSD licenses, but not GPL (LGPL would work perhaps, but only if there are exceptions for static linking). And of course public domain would work too. GPL is strongly copyleft, meaning even if you don't alter it, but link to it with separate original code that code <em>has</em> to also be licensed under GPL.</p>