Hi Morteza,
unfortunately it is not possible to compile libredwg with Visual Studio
without some work.
LibreDwg is written in C99 and VS simply does not support all of the
language features. To compile libredwg you have to change:
- declarations must be at the beginning of a function and not elswere
in the body
- Variadic Macros must be changed to variadic functions. This type of
macros are used for logging (logging.h)
Regards
Till
Am 02.07.2014 15:45, schrieb Morteza Ghorbani Moghaddam:
Hello friends
Thank you for your great job.
Unfortunately I could not use your library to convert dwg to dxf.
Although there is sample in your library for this reason but I could
not compile it in Visual C++. can you help me how can I compile your
library in Visual studio 2010?
Best regards,
Morteza