Skip to content

Commit

Permalink
Fix build failure
Browse files Browse the repository at this point in the history
  • Loading branch information
walbourn committed Oct 29, 2024
1 parent 8ca2d7f commit b650289
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions UVAtlasTool/MeshOBJ.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,9 @@ HRESULT LoadFromOBJ(
bool ccw,
bool dds)
{
WaveFrontReader<uint32_t> wfReader;
using Vertex = DX::WaveFrontReader<uint32_t>::Vertex;

Check failure on line 68 in UVAtlasTool/MeshOBJ.cpp

View workflow job for this annotation

GitHub Actions / build (windows-2019, x64-Debug-VCPKG, amd64)

'DX': is not a class or namespace name

Check failure on line 68 in UVAtlasTool/MeshOBJ.cpp

View workflow job for this annotation

GitHub Actions / build (windows-2019, x64-Debug-VCPKG, amd64)

syntax error: missing ';' before '<'

Check failure on line 68 in UVAtlasTool/MeshOBJ.cpp

View workflow job for this annotation

GitHub Actions / build (windows-2019, x64-Debug-VCPKG, amd64)

syntax error: '<'

Check failure on line 68 in UVAtlasTool/MeshOBJ.cpp

View workflow job for this annotation

GitHub Actions / build (windows-2019, x64-Debug-VCPKG, amd64)

'Vertex': is not a member of '`global namespace''

Check failure on line 68 in UVAtlasTool/MeshOBJ.cpp

View workflow job for this annotation

GitHub Actions / build (windows-2022, x64-Debug-VCPKG, amd64)

'DX': is not a class or namespace name

Check failure on line 68 in UVAtlasTool/MeshOBJ.cpp

View workflow job for this annotation

GitHub Actions / build (windows-2022, x64-Debug-VCPKG, amd64)

syntax error: missing ';' before '<'

Check failure on line 68 in UVAtlasTool/MeshOBJ.cpp

View workflow job for this annotation

GitHub Actions / build (windows-2022, x64-Debug-VCPKG, amd64)

syntax error: '<'

Check failure on line 68 in UVAtlasTool/MeshOBJ.cpp

View workflow job for this annotation

GitHub Actions / build (windows-2022, x64-Debug-VCPKG, amd64)

'Vertex': is not a member of '`global namespace''

Check failure on line 68 in UVAtlasTool/MeshOBJ.cpp

View workflow job for this annotation

GitHub Actions / build (windows-2022, x86-Debug-VCPKG, amd64_x86)

'DX': is not a class or namespace name

Check failure on line 68 in UVAtlasTool/MeshOBJ.cpp

View workflow job for this annotation

GitHub Actions / build (windows-2022, x86-Debug-VCPKG, amd64_x86)

syntax error: missing ';' before '<'

Check failure on line 68 in UVAtlasTool/MeshOBJ.cpp

View workflow job for this annotation

GitHub Actions / build (windows-2022, x86-Debug-VCPKG, amd64_x86)

syntax error: '<'

Check failure on line 68 in UVAtlasTool/MeshOBJ.cpp

View workflow job for this annotation

GitHub Actions / build (windows-2022, x86-Debug-VCPKG, amd64_x86)

'Vertex': is not a member of '`global namespace''

Check failure on line 68 in UVAtlasTool/MeshOBJ.cpp

View workflow job for this annotation

GitHub Actions / build (windows-2022, arm64-Debug-VCPKG, amd64_arm64)

'DX': is not a class or namespace name

Check failure on line 68 in UVAtlasTool/MeshOBJ.cpp

View workflow job for this annotation

GitHub Actions / build (windows-2022, arm64-Debug-VCPKG, amd64_arm64)

syntax error: missing ';' before '<'

Check failure on line 68 in UVAtlasTool/MeshOBJ.cpp

View workflow job for this annotation

GitHub Actions / build (windows-2022, arm64-Debug-VCPKG, amd64_arm64)

syntax error: '<'

Check failure on line 68 in UVAtlasTool/MeshOBJ.cpp

View workflow job for this annotation

GitHub Actions / build (windows-2022, arm64-Debug-VCPKG, amd64_arm64)

'Vertex': is not a member of '`global namespace''

DX::WaveFrontReader<uint32_t> wfReader;

Check failure on line 70 in UVAtlasTool/MeshOBJ.cpp

View workflow job for this annotation

GitHub Actions / build (windows-2019, x64-Debug-VCPKG, amd64)

'DX': is not a class or namespace name

Check failure on line 70 in UVAtlasTool/MeshOBJ.cpp

View workflow job for this annotation

GitHub Actions / build (windows-2019, x64-Debug-VCPKG, amd64)

syntax error: '<'

Check failure on line 70 in UVAtlasTool/MeshOBJ.cpp

View workflow job for this annotation

GitHub Actions / build (windows-2022, x64-Debug-VCPKG, amd64)

'DX': is not a class or namespace name

Check failure on line 70 in UVAtlasTool/MeshOBJ.cpp

View workflow job for this annotation

GitHub Actions / build (windows-2022, x64-Debug-VCPKG, amd64)

syntax error: '<'

Check failure on line 70 in UVAtlasTool/MeshOBJ.cpp

View workflow job for this annotation

GitHub Actions / build (windows-2022, x86-Debug-VCPKG, amd64_x86)

'DX': is not a class or namespace name

Check failure on line 70 in UVAtlasTool/MeshOBJ.cpp

View workflow job for this annotation

GitHub Actions / build (windows-2022, x86-Debug-VCPKG, amd64_x86)

syntax error: '<'

Check failure on line 70 in UVAtlasTool/MeshOBJ.cpp

View workflow job for this annotation

GitHub Actions / build (windows-2022, arm64-Debug-VCPKG, amd64_arm64)

'DX': is not a class or namespace name

Check failure on line 70 in UVAtlasTool/MeshOBJ.cpp

View workflow job for this annotation

GitHub Actions / build (windows-2022, arm64-Debug-VCPKG, amd64_arm64)

syntax error: '<'
HRESULT hr = wfReader.Load(szFilename, ccw);

Check failure on line 71 in UVAtlasTool/MeshOBJ.cpp

View workflow job for this annotation

GitHub Actions / build (windows-2019, x64-Debug-VCPKG, amd64)

'wfReader': undeclared identifier

Check failure on line 71 in UVAtlasTool/MeshOBJ.cpp

View workflow job for this annotation

GitHub Actions / build (windows-2022, x64-Debug-VCPKG, amd64)

'wfReader': undeclared identifier

Check failure on line 71 in UVAtlasTool/MeshOBJ.cpp

View workflow job for this annotation

GitHub Actions / build (windows-2022, x86-Debug-VCPKG, amd64_x86)

'wfReader': undeclared identifier

Check failure on line 71 in UVAtlasTool/MeshOBJ.cpp

View workflow job for this annotation

GitHub Actions / build (windows-2022, arm64-Debug-VCPKG, amd64_arm64)

'wfReader': undeclared identifier
if (FAILED(hr))
return hr;
Expand Down Expand Up @@ -117,7 +119,7 @@ HRESULT LoadFromOBJ(
if (FAILED(hr))
return hr;

hr = vbr.AddStream(wfReader.vertices.data(), wfReader.vertices.size(), 0, sizeof(WaveFrontReader<uint32_t>::Vertex));
hr = vbr.AddStream(wfReader.vertices.data(), wfReader.vertices.size(), 0, sizeof(Vertex));
if (FAILED(hr))
return hr;

Expand Down

0 comments on commit b650289

Please sign in to comment.