asmaloney / libE57Format

Library for reading & writing the E57 file format
Boost Software License 1.0
137 stars 66 forks source link

Failing with uint8_t has not been declared in std #310

Closed hadjiprocopis closed 2 weeks ago

hadjiprocopis commented 4 weeks ago
E57Format.h:50:15: error: ‘uint8_t’ has not been declared in ‘std’
   50 |    using std::uint8_t;

etc.

One solution is to add #include <cstdint> in file include/E57Format.h. thanks for the free software!

bhomaidan1990 commented 3 weeks ago

@hadjiprocopis do you have this line?

hadjiprocopis commented 3 weeks ago

No, the vesrion I had (v2.3.0) did not have that line. But that was a 3rdparty dependency of (latest) Meshlab. And now I checked it is quite an older version than your current.

It looks the problem has been solved with current version of libE57Format.

Apologies for the false alarm.

thank you.

On 10/11/2024 22:17, Belal Hmedan wrote:

@hadjiprocopis https://github.com/hadjiprocopis do you have this line https://github.com/asmaloney/libE57Format/blob/master/include/E57Format.h#L35?

— Reply to this email directly, view it on GitHub https://github.com/asmaloney/libE57Format/issues/310#issuecomment-2466903791, or unsubscribe https://github.com/notifications/unsubscribe-auth/AB5PLOQXNQCUHDJZDBTKQGLZ765OTAVCNFSM6AAAAABRFE6EESVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDINRWHEYDGNZZGE. You are receiving this because you were mentioned.Message ID: @.***>