karastojko / mailio

mailio is a cross platform C++ library for MIME format and SMTP, POP3 and IMAP protocols. It is based on standard C++ 17 and Boost library.
Other
374 stars 98 forks source link

Missing file export.hpp #101

Closed Kintawesar closed 2 years ago

Kintawesar commented 2 years ago

linux redhat GCC 10.3.1

I'm successfully compiled library from master sources, but I can't compile an example because of missing export.hpp in library headers On other versions get the same problem.

mailio/codec.hpp:24:10: fatal error: export.hpp: No such file or directory
   24 | #include "export.hpp"
      |          ^~~~~~~~~~~~
karastojko commented 2 years ago

So, the existing examples do not compile or you cannot compile your own example?

Kintawesar commented 2 years ago

Sorry, that is my bad - I didn't do make install but just copied library and headers, so my own example didn't work. After make install all works fine. Maybe do specify in documentation about generated export.hpp and need of make install ?

karastojko commented 2 years ago

In the Linux section of the installation procedure it says make install in the last step. The file export.hpp is not intended to be public, so I woukd rather not mention it in the documentation.