Open SpaceIm opened 3 years ago
I'm not sure if there is a question here. Looks like there is an issue with the schema uri. Have you debugged the code?
I have the same issue while trying to run GLTFSDK.Samples/Deserialize example. gcc version 9.3.0 (Ubuntu 9.3.0-17ubuntu1~20.04)
I can run the example by disabling schema validation: Deserialize(manifest, DeserializeFlags::None, SchemaFlags::DisableSchemaRoot);
I'm trying to package gltf-SDK 1.9.5.0 for conan (with minimal modifications like std::powf replaced by std::pow, unvendoring of rapidjson, fix of installation folders).
I've written a simple cpp file, based on the tests in
SerializeTests.cpp
to see that produced package makes sense:GLTFException: Unknown Schema uri glTFProperty.schema.jso
(without the "n") is raided inMicrosoft::glTF::Deserialize
(tested on Windows with gcc 7 and 8, Visual Studio 2015/2017/2019, and on Macos with apple-clang 12).