Skip to content

Commit 63829b9

Browse files
committed
[sdflib] Fix missing header
1 parent 9efc50d commit 63829b9

5 files changed

Lines changed: 40 additions & 1 deletion

File tree

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
diff --git a/include/SdfLib/ExactOctreeSdfDepthFirst.h b/include/SdfLib/ExactOctreeSdfDepthFirst.h
2+
index a1c79a1..ca6d858 100644
3+
--- a/include/SdfLib/ExactOctreeSdfDepthFirst.h
4+
+++ b/include/SdfLib/ExactOctreeSdfDepthFirst.h
5+
@@ -1,6 +1,7 @@
6+
#ifndef EXACT_OCTREE_SDF_DEPTH_FIRST_H
7+
#define EXACT_OCTREE_SDF_DEPTH_FIRST_H
8+
9+
+#include <cstring>
10+
#include <string>
11+
#include <stack>
12+
#ifdef OPENMP_AVAILABLE
13+
diff --git a/src/tools/SdfLibUnity/SdfExportFunc.cpp b/src/tools/SdfLibUnity/SdfExportFunc.cpp
14+
index ff4e017..85d7842 100644
15+
--- a/src/tools/SdfLibUnity/SdfExportFunc.cpp
16+
+++ b/src/tools/SdfLibUnity/SdfExportFunc.cpp
17+
@@ -1,3 +1,4 @@
18+
+#include <cstring>
19+
#include "SdfExportFunc.h"
20+
#include "spdlog/sinks/rotating_file_sink.h"
21+
22+
diff --git a/src/utils/Mesh.cpp b/src/utils/Mesh.cpp
23+
index 8bc7c6a..9ce200b 100644
24+
--- a/src/utils/Mesh.cpp
25+
+++ b/src/utils/Mesh.cpp
26+
@@ -1,5 +1,6 @@
27+
#include "SdfLib/utils/Mesh.h"
28+
#include <iostream>
29+
+#include <cstring>
30+
#include <assert.h>
31+
#include <spdlog/spdlog.h>
32+

ports/sdflib/portfile.cmake

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ vcpkg_from_github(
44
REF 8db373ef71d65be24badf6ae10750a932bbc223b
55
SHA512 1231128e66b19923f78e2e3d9b827376c79abb22fe86bb200874a2ce3c283b4d6b8a077a1ab6749cd64b6d81f71a7d2f96d1f6dcc252a3a4aefaeb2145bbacf4
66
PATCHES
7+
fix-missing-header.patch
78
)
89

910
vcpkg_cmake_configure(

ports/sdflib/vcpkg.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
{
22
"name": "sdflib",
33
"version-date": "2025-11-03",
4+
"port-version": 1,
45
"description": "Library for accelerating the queries of signed distance fields from triangle meshes.",
56
"homepage": "https://github.com/UPC-ViRVIG/SdfLib",
67
"license": "MIT",

versions/baseline.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9094,7 +9094,7 @@
90949094
},
90959095
"sdflib": {
90969096
"baseline": "2025-11-03",
9097-
"port-version": 0
9097+
"port-version": 1
90989098
},
90999099
"sdformat": {
91009100
"baseline": "15.4.0",

versions/s-/sdflib.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
{
22
"versions": [
3+
{
4+
"git-tree": "e7c67b249eb70b14303e8f145a723f4a2b6d7922",
5+
"version-date": "2025-11-03",
6+
"port-version": 1
7+
},
38
{
49
"git-tree": "5b2dd16f6487ebd6fcbbbb3dea0a4a4d409cb14b",
510
"version-date": "2025-11-03",

0 commit comments

Comments
 (0)