You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I #include <CesiumGltfReader/GltfReader.h> I get an error about async. I'm not using async at all.
[build] C:\Users\user\Desktop\EZVCPKG\2024.07.12\installed\x64-windows-static-md\include\async++/task.h(477): error C2187: syntax error: '::' was unexpected here
[build] C:\Users\user\Desktop\EZVCPKG\2024.07.12\installed\x64-windows-static-md\include\async++/task.h(477): error C2955: 'async::task': use of class template requires template argument list
[build] C:\Users\user\Desktop\EZVCPKG\2024.07.12\installed\x64-windows-static-md\include\async++/task.h(236): note: see declaration of 'async::task'
It autocompletes and links fine, I can link others like <CesiumGltfReader/ImageDecoder.h><CesiumGltfReader/Library.h> just fine. I haven't touched the async++/task.h at all its what was built with cmake for cesium-native. Any help would be appreciated.
The text was updated successfully, but these errors were encountered:
@proximityeffect what version of C++ are you targetting? C++17? C++20?
If you're using C++20, you should use the version of cesium-native from this branch: #977
When I #include <CesiumGltfReader/GltfReader.h> I get an error about async. I'm not using async at all.
[build] C:\Users\user\Desktop\EZVCPKG\2024.07.12\installed\x64-windows-static-md\include\async++/task.h(477): error C2187: syntax error: '::' was unexpected here
[build] C:\Users\user\Desktop\EZVCPKG\2024.07.12\installed\x64-windows-static-md\include\async++/task.h(477): error C2955: 'async::task': use of class template requires template argument list
[build] C:\Users\user\Desktop\EZVCPKG\2024.07.12\installed\x64-windows-static-md\include\async++/task.h(236): note: see declaration of 'async::task'
It autocompletes and links fine, I can link others like <CesiumGltfReader/ImageDecoder.h><CesiumGltfReader/Library.h> just fine. I haven't touched the async++/task.h at all its what was built with cmake for cesium-native. Any help would be appreciated.
The text was updated successfully, but these errors were encountered: