-
Notifications
You must be signed in to change notification settings - Fork 15
/
open3d-android.patch
91 lines (84 loc) · 5.73 KB
/
open3d-android.patch
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
diff --git a/3rdparty/CMakeLists.txt b/3rdparty/CMakeLists.txt
index d889b287..1bdbe449 100644
--- a/3rdparty/CMakeLists.txt
+++ b/3rdparty/CMakeLists.txt
@@ -57,8 +57,8 @@ else ()
endif ()
if (BUILD_GLEW)
- add_subdirectory(glew)
- INSTALL_HEADERS(glew)
+ #add_subdirectory(glew)
+ #INSTALL_HEADERS(glew)
endif ()
# GLFW
@@ -93,10 +93,10 @@ else ()
endif ()
if (BUILD_GLFW)
- add_subdirectory(GLFW)
- INSTALL_HEADERS(GLFW)
- list(APPEND GLFW_INCLUDE_DIRS ${OPENGL_INCLUDE_DIR})
- list(APPEND GLFW_LIBRARIES ${OPENGL_gl_LIBRARY})
+ #add_subdirectory(GLFW)
+ #INSTALL_HEADERS(GLFW)
+ #list(APPEND GLFW_INCLUDE_DIRS ${OPENGL_INCLUDE_DIR})
+ #list(APPEND GLFW_LIBRARIES ${OPENGL_gl_LIBRARY})
endif ()
# JPEG
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index 9c3e5552..27e2deaf 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -1,5 +1,5 @@
add_subdirectory(Open3D)
-add_subdirectory(Tools)
+#add_subdirectory(Tools)
if (BUILD_UNIT_TESTS)
add_subdirectory(UnitTest)
endif ()
diff --git a/src/Open3D/CMakeLists.txt b/src/Open3D/CMakeLists.txt
index 176932f5..051e21a2 100644
--- a/src/Open3D/CMakeLists.txt
+++ b/src/Open3D/CMakeLists.txt
@@ -7,7 +7,7 @@ add_subdirectory(Odometry)
add_subdirectory(Registration)
add_subdirectory(Utility)
add_subdirectory(IO)
-add_subdirectory(Visualization)
+#add_subdirectory(Visualization)
# Source group for Visual Studio
ADD_SOURCE_GROUP(Camera)
@@ -41,7 +41,7 @@ add_library(${CMAKE_PROJECT_NAME}
$<TARGET_OBJECTS:Registration>
$<TARGET_OBJECTS:Utility>
$<TARGET_OBJECTS:IO>
- $<TARGET_OBJECTS:Visualization>
+ #$<TARGET_OBJECTS:Visualization>
)
# headless rendering
@@ -50,8 +50,8 @@ if (ENABLE_HEADLESS_RENDERING)
include_directories(${OSMESA_INCLUDE_DIR})
target_link_libraries(${CMAKE_PROJECT_NAME} ${OSMESA_LIBRARY})
else ()
- find_package(OpenGL REQUIRED)
- target_link_libraries(${CMAKE_PROJECT_NAME} ${OPENGL_LIBRARIES})
+ #find_package(OpenGL REQUIRED)
+ #target_link_libraries(${CMAKE_PROJECT_NAME} ${OPENGL_LIBRARIES})
endif ()
target_link_libraries(${CMAKE_PROJECT_NAME}
diff --git a/src/Open3D/Open3D.h b/src/Open3D/Open3D.h
index 388455ec..0b08edf3 100644
--- a/src/Open3D/Open3D.h
+++ b/src/Open3D/Open3D.h
@@ -64,6 +64,7 @@
#include "Open3D/Utility/FileSystem.h"
#include "Open3D/Utility/Helper.h"
#include "Open3D/Utility/Timer.h"
+/*
#include "Open3D/Visualization/Utility/BoundingBox.h"
#include "Open3D/Visualization/Utility/DrawGeometry.h"
#include "Open3D/Visualization/Utility/SelectionPolygon.h"
@@ -75,3 +76,4 @@
#include "Open3D/Visualization/Visualizer/VisualizerWithCustomAnimation.h"
#include "Open3D/Visualization/Visualizer/VisualizerWithEditing.h"
#include "Open3D/Visualization/Visualizer/VisualizerWithKeyCallback.h"
+*/