File tree Expand file tree Collapse file tree 6 files changed +1693
-11
lines changed
Expand file tree Collapse file tree 6 files changed +1693
-11
lines changed Original file line number Diff line number Diff line change @@ -50,9 +50,22 @@ FetchContent_Declare(Eigen3
5050 GIT_PROGRESS TRUE
5151 EXCLUDE_FROM_ALL
5252)
53+ FetchContent_Declare(
54+ egl_headers
55+ GIT_REPOSITORY https://github.com/KhronosGroup/EGL-Registry.git
56+ GIT_TAG main
57+ GIT_SHALLOW TRUE
58+ )
59+ FetchContent_Declare(
60+ opengl_registry
61+ GIT_REPOSITORY https://github.com/KhronosGroup/OpenGL-Registry.git
62+ GIT_TAG main
63+ GIT_SHALLOW TRUE
64+ )
5365
54-
55- FetchContent_MakeAvailable(pybind11 Eigen3)
66+ FetchContent_MakeAvailable(pybind11 Eigen3 egl_headers opengl_registry)
5667include (compile_scenes)
68+ # egl headers
69+ include_directories (${egl_headers_SOURCE_DIR} /api)
5770
5871add_subdirectory (src)
Original file line number Diff line number Diff line change 11build-essential
22gcc
3- ninja
4- cmake
53libpoco-dev
64libglfw3-dev
75libconsole-bridge-dev
Original file line number Diff line number Diff line change @@ -35,10 +35,6 @@ set(CMAKE_POSITION_INDEPENDENT_CODE ON)
3535# turn off libfranka tests
3636set (BUILD_TESTS OFF )
3737set (BUILD_EXAMPLES OFF )
38- set (RL_BUILD_DEMOS OFF )
39- set (RL_BUILD_RL_SG OFF )
40- set (RL_BUILD_TESTS OFF )
41- set (RL_BUILD_EXTRAS OFF )
4238set (BUILD_PYTHON_INTERFACE OFF )
4339set (BUILD_DOCUMENTATION OFF )
4440
@@ -72,6 +68,7 @@ FetchContent_Declare(Eigen3
7268 EXCLUDE_FROM_ALL
7369)
7470
75- FetchContent_MakeAvailable(libfranka pybind11 Eigen3)
71+ FetchContent_MakeAvailable(Eigen3)
72+ FetchContent_MakeAvailable(libfranka pybind11)
7673
7774add_subdirectory (src)
Original file line number Diff line number Diff line change 33
44#include < math.h>
55
6+ #include < Eigen/Eigen>
67#include < algorithm>
78#include < cstdlib>
89#include < cstring>
9- #include < Eigen/Eigen>
1010#include < memory>
1111#include < set>
1212#include < stdexcept>
Original file line number Diff line number Diff line change 11#include " sim/sim.h"
22
3- #include < GLFW/glfw3.h>
43#include < assert.h>
54
65#include < chrono>
You can’t perform that action at this time.
0 commit comments