libnbtplusplus icon indicating copy to clipboard operation
libnbtplusplus copied to clipboard

Hi, "fatal error: 'nbt_export.h' file not found", I cannot find out the "nbt_export.h"

Open Dreamtowards opened this issue 1 year ago • 2 comments

please. as title, I got "fatal error: 'nbt_export.h' file not found" error. CMake:

In file included from ...nbt_tags.h:20:
In file included from ...tag_primitive.h:23:
In file included from ...crtp_tag.h:23:
...tag.h:26:10: fatal error: 'nbt_export.h' file not found

so i cannot compile it, is that common? I am confuse..

Dreamtowards avatar Jan 07 '23 08:01 Dreamtowards

also I cannot find out "nbt_export.h" in the libarary files. I am using 2.5 Release Version

Dreamtowards avatar Jan 07 '23 08:01 Dreamtowards

Are you using CMake to compile the library? The nbt_export.h should be generated by CMake.

ljfa-ag avatar Mar 14 '23 16:03 ljfa-ag