I'm not an expert on this subject, but I think you don't need to compile
libredwg with g++ in order to link it to a c++ application. We just need
some ifdef's in the headers. Check this post:
http://www.linuxforums.org/forum/linux-programming-scripting/114680-how-link-c-library-c-application.html
Rodrigo
[email protected] wrote:
yes I was wrestling with a problem like that at one point.
please try this version and tell me if you have that problem
http://github.com/h4ck3rm1k3/LibreDWGCPlusPlus
thanks
mike