Git Product home page Git Product logo

Comments (2)

timknip avatar timknip commented on May 5, 2024 1

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.

timknip avatar timknip commented on May 5, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.