Comments (2)
When I apply the pull request #82 I managed to compile.
Also needed to add #include <map>
to https://github.com/google/usd_from_gltf/blob/master/process/mesh.h#L21
to fix the error C2976: 'std::map': too few template argument
error.
from usd_from_gltf.
Same here. Win10, VS2017
USD_FROM_GLTF: Run: cmake --build . --config Release --target install -- /m
Microsoft (R) Build Engine version 15.9.21+g9802d43bc3 for .NET Framework
Copyright (C) Microsoft Corporation. All rights reserved.
gltf.vcxproj -> D:\ufg_build\build\usd_from_gltf\gltf\Release\gltf.lib
config.cc
logging.cc
Generating Code...
common.vcxproj -> D:\ufg_build\build\usd_from_gltf\common\Release\common.lib
Building Custom Rule D:/github/google/usd_from_gltf/process/CMakeLists.txt
math.cc
mesh.cc
D:\github\google\usd_from_gltf\process\..\process/mesh.h(56): error C2976: 'std::map': too few template arguments [D:\ufg_build\build\usd_from_gltf\process\process.vcxproj]
C:\USD\include\boost/detail/container_fwd.hpp(136): note: see declaration of 'std::map'
D:\github\google\usd_from_gltf\process\..\process/mesh.h(61): error C2079: 'ufg::PrimInfo::uvs' uses undefined class 'std::map' [D:\ufg_build\build\usd_from_gltf\process\process.vcxproj]
D:\github\google\usd_from_gltf\process\mesh.cc(273): error C2109: subscript requires array or pointer type [D:\ufg_build\build\usd_from_gltf\process\process.vcxproj]
D:\github\google\usd_from_gltf\process\mesh.cc(427): error C2789: 'uv_found': an object of const-qualified type must be initialized [D:\ufg_build\build\usd_from_gltf\process\process.vcxproj]
D:\github\google\usd_from_gltf\process\mesh.cc(427): note: see declaration of 'uv_found'
D:\github\google\usd_from_gltf\process\mesh.cc(428): error C3536: 'uv_found': cannot be used before it is initialized [D:\ufg_build\build\usd_from_gltf\process\process.vcxproj]
D:\github\google\usd_from_gltf\process\mesh.cc(436): error C2109: subscript requires array or pointer type [D:\ufg_build\build\usd_from_gltf\process\process.vcxproj]
process_util.cc
skin.cc
D:\github\google\usd_from_gltf\process\..\process/mesh.h(56): error C2976: 'std::map': too few template arguments [D:\ufg_build\build\usd_from_gltf\process\process.vcxproj]
C:\USD\include\boost/detail/container_fwd.hpp(136): note: see declaration of 'std::map'
D:\github\google\usd_from_gltf\process\..\process/mesh.h(61): error C2079: 'ufg::PrimInfo::uvs' uses undefined class 'std::map' [D:\ufg_build\build\usd_from_gltf\process\process.vcxproj]
animation.cc
color.cc
float_image.cc
image.cc
image_fallback.cc
image_gif.cc
image_jpg.cc
image_png.cc
Generating Code...
USD_FROM_GLTF: ERROR: Command failed: cmake --build . --config Release --target install -- /m
USD_FROM_GLTF: See log at: d:\ufg_build\build\usd_from_gltf\log.txt```
from usd_from_gltf.
Related Issues (20)
- Build target error HOT 2
- Lambda
- 'CreatePrimvar':
- GLTF_ERROR_JSON_PARSE
- Error compiling against USD 21.05 HOT 5
- Error during build when installing ZLIB HOT 5
- Conversion of glb with animation to scale path does not come through well in usdz
- Moving Local Install to Another Computer
- Cannot write USD: "filename.usdz" [UFG_ERROR_IO_WRITE_USD]
- ASSERT(mat.Factor( &scale_orient_mat, &scale_d, &rot_mat, &translation_d, &persp_mat)) [UFG_ERROR_ASSERT] HOT 1
- Building failed (macOS Monterey 12.1 )
- [Issue] arm64 incompatibility HOT 2
- Converter doesn't keep scale scene factor
- DRACO: ERROR: [WinError 2] The system cannot find the file specified HOT 1
- Support Transmission HOT 1
- Installation error HOT 2
- Converter doesn't work with variants HOT 1
- Install Error: Installing PNG Downloading error
- Skeletal animations in USDZs generated with usd_from_gltf no longer work in iOS 15 quicklook HOT 7
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from usd_from_gltf.