ljfa-ag / libnbtplusplus

A C++ library for Minecraft's file format NBT
GNU Lesser General Public License v3.0
78 stars 25 forks source link

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

Open Dreamtowards opened 1 year ago

Dreamtowards commented 1 year ago

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 commented 1 year ago

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

ljfa-ag commented 1 year ago

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