google / draco

Draco is a library for compressing and decompressing 3D geometric meshes and point clouds. It is intended to improve the storage and transmission of 3D graphics.
https://google.github.io/draco/
Apache License 2.0
6.54k stars 968 forks source link

Severity Code Description The project file line does not display status Error C2440 "Initialize" : Unable to transfer from "void *" to "tinygltf: : GetFileSizeFunction draco_decoder F: \ resource \ Draco - 1.5.6 \ SRC \ Draco \ IO \ gltf_decoder.cc 489 #1051

Closed sui0312feng closed 8 months ago

sui0312feng commented 8 months ago

Severity Code Description The project file line does not display status

Error C2440 "Initialize" : Unable to transfer from "void *" to "tinygltf: : GetFileSizeFunction draco_decoder F: \ resource \ Draco - 1.5.6 \ SRC \ Draco \ IO \ gltf_decoder.cc 489

sui0312feng commented 8 months ago

Severity Code Description The project file line does not display status

Error C2440 "Initialize" : Unable to transfer from "void *" to "tinygltf: : GetFileSizeFunction draco_decoder F: \ resource \ Draco - 1.5.6 \ SRC \ Draco \ IO \ gltf_decoder.cc 489

I had an error compiling with vs2019

ondys commented 8 months ago

I believe you are using a newer version of TinyGLTF compared to the version that is supported by Draco. To get the supported version, you should run the following command in your Draco git repository:

git submodule update --init