done more work on plugins
continuous-integration/drone/push Build encountered an error
Details
continuous-integration/drone/push Build encountered an error
Details
parent
74f3789979
commit
d6c1ed6671
@ -1 +1 @@
|
||||
/usr/bin/c++ -rdynamic CMakeFiles/prog.dir/main.cpp.o CMakeFiles/prog.dir/topLevelManager.cpp.o -o prog -L/home/kanken/code/AHRS_core/src -Wl,-rpath,/home/kanken/code/AHRS_core/src:/usr/local/lib pipeline/libpipelineLib.a -ltbb model/windows/libwindows.a ui/support/libsupport.a model/controllers/libcontrollers.a -lOpenGL -lGLX -lGLU model/hardware/psvr/libpsvr.a model/hardware/ihidapi/libihidapi.a /usr/local/lib/libhidapi-hidraw.so.0.13.0 model/hardware/cameras/libcameras.a model/hardware/hw/libhw.a model/hardware/hw/extendables/libhw_ext.a -lCppLinuxSerial model/patterns/observer/libobservers.a threadweaver/libthreadweaver.a model/perfcheckers/libperfcheckers.a processing/zbar/libzbarLib.a /usr/local/lib/libopencv_gapi.so.4.6.0 /usr/local/lib/libopencv_stitching.so.4.6.0 /usr/local/lib/libopencv_aruco.so.4.6.0 /usr/local/lib/libopencv_barcode.so.4.6.0 /usr/local/lib/libopencv_bgsegm.so.4.6.0 /usr/local/lib/libopencv_bioinspired.so.4.6.0 /usr/local/lib/libopencv_ccalib.so.4.6.0 /usr/local/lib/libopencv_dnn_objdetect.so.4.6.0 /usr/local/lib/libopencv_dnn_superres.so.4.6.0 /usr/local/lib/libopencv_dpm.so.4.6.0 /usr/local/lib/libopencv_face.so.4.6.0 /usr/local/lib/libopencv_freetype.so.4.6.0 /usr/local/lib/libopencv_fuzzy.so.4.6.0 /usr/local/lib/libopencv_hfs.so.4.6.0 /usr/local/lib/libopencv_img_hash.so.4.6.0 /usr/local/lib/libopencv_intensity_transform.so.4.6.0 /usr/local/lib/libopencv_line_descriptor.so.4.6.0 /usr/local/lib/libopencv_mcc.so.4.6.0 /usr/local/lib/libopencv_quality.so.4.6.0 /usr/local/lib/libopencv_rapid.so.4.6.0 /usr/local/lib/libopencv_reg.so.4.6.0 /usr/local/lib/libopencv_rgbd.so.4.6.0 /usr/local/lib/libopencv_saliency.so.4.6.0 /usr/local/lib/libopencv_stereo.so.4.6.0 /usr/local/lib/libopencv_structured_light.so.4.6.0 /usr/local/lib/libopencv_phase_unwrapping.so.4.6.0 /usr/local/lib/libopencv_superres.so.4.6.0 /usr/local/lib/libopencv_optflow.so.4.6.0 /usr/local/lib/libopencv_surface_matching.so.4.6.0 /usr/local/lib/libopencv_tracking.so.4.6.0 /usr/local/lib/libopencv_highgui.so.4.6.0 /usr/local/lib/libopencv_datasets.so.4.6.0 /usr/local/lib/libopencv_plot.so.4.6.0 /usr/local/lib/libopencv_text.so.4.6.0 /usr/local/lib/libopencv_videostab.so.4.6.0 /usr/local/lib/libopencv_videoio.so.4.6.0 /usr/local/lib/libopencv_wechat_qrcode.so.4.6.0 /usr/local/lib/libopencv_xfeatures2d.so.4.6.0 /usr/local/lib/libopencv_ml.so.4.6.0 /usr/local/lib/libopencv_shape.so.4.6.0 /usr/local/lib/libopencv_ximgproc.so.4.6.0 /usr/local/lib/libopencv_video.so.4.6.0 /usr/local/lib/libopencv_xobjdetect.so.4.6.0 /usr/local/lib/libopencv_imgcodecs.so.4.6.0 /usr/local/lib/libopencv_objdetect.so.4.6.0 /usr/local/lib/libopencv_calib3d.so.4.6.0 /usr/local/lib/libopencv_dnn.so.4.6.0 /usr/local/lib/libopencv_features2d.so.4.6.0 /usr/local/lib/libopencv_flann.so.4.6.0 /usr/local/lib/libopencv_xphoto.so.4.6.0 /usr/local/lib/libopencv_photo.so.4.6.0 /usr/local/lib/libopencv_imgproc.so.4.6.0 /usr/local/lib/libopencv_core.so.4.6.0 -lzbar
|
||||
/usr/bin/c++ -rdynamic CMakeFiles/prog.dir/main.cpp.o CMakeFiles/prog.dir/topLevelManager.cpp.o -o prog -L/home/kanken/code/AHRS_core/src -Wl,-rpath,/home/kanken/code/AHRS_core/src:/usr/local/lib pipeline/libpipelineLib.a -ltbb pluginManagement/libPluginManager.a pipeline/libpipelineLib.a pluginManagement/libPluginManager.a model/windows/libwindows.a ui/support/libsupport.a model/controllers/libcontrollers.a -lOpenGL -lGLX -lGLU model/hardware/psvr/libpsvr.a model/hardware/ihidapi/libihidapi.a /usr/local/lib/libhidapi-hidraw.so.0.13.0 model/hardware/cameras/libcameras.a model/hardware/hw/libhw.a model/hardware/hw/extendables/libhw_ext.a -lCppLinuxSerial model/patterns/observer/libobservers.a threadweaver/libthreadweaver.a model/perfcheckers/libperfcheckers.a processing/zbar/libzbarLib.a /usr/local/lib/libopencv_gapi.so.4.6.0 /usr/local/lib/libopencv_stitching.so.4.6.0 /usr/local/lib/libopencv_aruco.so.4.6.0 /usr/local/lib/libopencv_barcode.so.4.6.0 /usr/local/lib/libopencv_bgsegm.so.4.6.0 /usr/local/lib/libopencv_bioinspired.so.4.6.0 /usr/local/lib/libopencv_ccalib.so.4.6.0 /usr/local/lib/libopencv_dnn_objdetect.so.4.6.0 /usr/local/lib/libopencv_dnn_superres.so.4.6.0 /usr/local/lib/libopencv_dpm.so.4.6.0 /usr/local/lib/libopencv_face.so.4.6.0 /usr/local/lib/libopencv_freetype.so.4.6.0 /usr/local/lib/libopencv_fuzzy.so.4.6.0 /usr/local/lib/libopencv_hfs.so.4.6.0 /usr/local/lib/libopencv_img_hash.so.4.6.0 /usr/local/lib/libopencv_intensity_transform.so.4.6.0 /usr/local/lib/libopencv_line_descriptor.so.4.6.0 /usr/local/lib/libopencv_mcc.so.4.6.0 /usr/local/lib/libopencv_quality.so.4.6.0 /usr/local/lib/libopencv_rapid.so.4.6.0 /usr/local/lib/libopencv_reg.so.4.6.0 /usr/local/lib/libopencv_rgbd.so.4.6.0 /usr/local/lib/libopencv_saliency.so.4.6.0 /usr/local/lib/libopencv_stereo.so.4.6.0 /usr/local/lib/libopencv_structured_light.so.4.6.0 /usr/local/lib/libopencv_phase_unwrapping.so.4.6.0 /usr/local/lib/libopencv_superres.so.4.6.0 /usr/local/lib/libopencv_optflow.so.4.6.0 /usr/local/lib/libopencv_surface_matching.so.4.6.0 /usr/local/lib/libopencv_tracking.so.4.6.0 /usr/local/lib/libopencv_highgui.so.4.6.0 /usr/local/lib/libopencv_datasets.so.4.6.0 /usr/local/lib/libopencv_plot.so.4.6.0 /usr/local/lib/libopencv_text.so.4.6.0 /usr/local/lib/libopencv_videostab.so.4.6.0 /usr/local/lib/libopencv_videoio.so.4.6.0 /usr/local/lib/libopencv_wechat_qrcode.so.4.6.0 /usr/local/lib/libopencv_xfeatures2d.so.4.6.0 /usr/local/lib/libopencv_ml.so.4.6.0 /usr/local/lib/libopencv_shape.so.4.6.0 /usr/local/lib/libopencv_ximgproc.so.4.6.0 /usr/local/lib/libopencv_video.so.4.6.0 /usr/local/lib/libopencv_xobjdetect.so.4.6.0 /usr/local/lib/libopencv_imgcodecs.so.4.6.0 /usr/local/lib/libopencv_objdetect.so.4.6.0 /usr/local/lib/libopencv_calib3d.so.4.6.0 /usr/local/lib/libopencv_dnn.so.4.6.0 /usr/local/lib/libopencv_features2d.so.4.6.0 /usr/local/lib/libopencv_flann.so.4.6.0 /usr/local/lib/libopencv_xphoto.so.4.6.0 /usr/local/lib/libopencv_photo.so.4.6.0 /usr/local/lib/libopencv_imgproc.so.4.6.0 /usr/local/lib/libopencv_core.so.4.6.0 -lzbar
|
||||
|
@ -1,4 +1,4 @@
|
||||
CMAKE_PROGRESS_1 = 31
|
||||
CMAKE_PROGRESS_2 = 32
|
||||
CMAKE_PROGRESS_3 = 33
|
||||
CMAKE_PROGRESS_1 = 34
|
||||
CMAKE_PROGRESS_2 = 35
|
||||
CMAKE_PROGRESS_3 = 36
|
||||
|
||||
|
@ -1 +1 @@
|
||||
44
|
||||
47
|
||||
|
@ -1,4 +1,4 @@
|
||||
CMAKE_PROGRESS_1 = 5
|
||||
CMAKE_PROGRESS_2 = 6
|
||||
CMAKE_PROGRESS_3 = 7
|
||||
CMAKE_PROGRESS_1 = 8
|
||||
CMAKE_PROGRESS_2 = 9
|
||||
CMAKE_PROGRESS_3 = 10
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
CMAKE_PROGRESS_1 = 1
|
||||
CMAKE_PROGRESS_2 = 2
|
||||
CMAKE_PROGRESS_3 = 3
|
||||
CMAKE_PROGRESS_1 = 4
|
||||
CMAKE_PROGRESS_2 = 5
|
||||
CMAKE_PROGRESS_3 = 6
|
||||
|
||||
|
@ -1,3 +1,3 @@
|
||||
CMAKE_PROGRESS_1 = 8
|
||||
CMAKE_PROGRESS_2 = 9
|
||||
CMAKE_PROGRESS_1 = 11
|
||||
CMAKE_PROGRESS_2 = 12
|
||||
|
||||
|
@ -1,3 +1,3 @@
|
||||
CMAKE_PROGRESS_1 = 10
|
||||
CMAKE_PROGRESS_2 = 11
|
||||
CMAKE_PROGRESS_1 = 13
|
||||
CMAKE_PROGRESS_2 = 14
|
||||
|
||||
|
@ -1,3 +1,3 @@
|
||||
CMAKE_PROGRESS_1 = 12
|
||||
CMAKE_PROGRESS_2 = 13
|
||||
CMAKE_PROGRESS_1 = 15
|
||||
CMAKE_PROGRESS_2 = 16
|
||||
|
||||
|
@ -1,3 +1,3 @@
|
||||
CMAKE_PROGRESS_1 = 34
|
||||
CMAKE_PROGRESS_2 = 35
|
||||
CMAKE_PROGRESS_1 = 37
|
||||
CMAKE_PROGRESS_2 = 38
|
||||
|
||||
|
@ -1,2 +1,2 @@
|
||||
CMAKE_PROGRESS_1 = 4
|
||||
CMAKE_PROGRESS_1 = 7
|
||||
|
||||
|
@ -1,3 +1,3 @@
|
||||
CMAKE_PROGRESS_1 = 14
|
||||
CMAKE_PROGRESS_2 = 15
|
||||
CMAKE_PROGRESS_1 = 17
|
||||
CMAKE_PROGRESS_2 = 18
|
||||
|
||||
|
@ -1,3 +1,3 @@
|
||||
CMAKE_PROGRESS_1 = 16
|
||||
CMAKE_PROGRESS_2 = 17
|
||||
CMAKE_PROGRESS_1 = 19
|
||||
CMAKE_PROGRESS_2 = 20
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
CMAKE_PROGRESS_1 = 40
|
||||
CMAKE_PROGRESS_2 = 41
|
||||
CMAKE_PROGRESS_3 = 42
|
||||
CMAKE_PROGRESS_1 = 43
|
||||
CMAKE_PROGRESS_2 = 44
|
||||
CMAKE_PROGRESS_3 = 45
|
||||
|
||||
|
@ -1,14 +1,14 @@
|
||||
CMAKE_PROGRESS_1 = 18
|
||||
CMAKE_PROGRESS_2 = 19
|
||||
CMAKE_PROGRESS_3 = 20
|
||||
CMAKE_PROGRESS_4 = 21
|
||||
CMAKE_PROGRESS_5 = 22
|
||||
CMAKE_PROGRESS_6 = 23
|
||||
CMAKE_PROGRESS_7 = 24
|
||||
CMAKE_PROGRESS_8 = 25
|
||||
CMAKE_PROGRESS_9 = 26
|
||||
CMAKE_PROGRESS_10 = 27
|
||||
CMAKE_PROGRESS_11 = 28
|
||||
CMAKE_PROGRESS_12 = 29
|
||||
CMAKE_PROGRESS_13 = 30
|
||||
CMAKE_PROGRESS_1 = 21
|
||||
CMAKE_PROGRESS_2 = 22
|
||||
CMAKE_PROGRESS_3 = 23
|
||||
CMAKE_PROGRESS_4 = 24
|
||||
CMAKE_PROGRESS_5 = 25
|
||||
CMAKE_PROGRESS_6 = 26
|
||||
CMAKE_PROGRESS_7 = 27
|
||||
CMAKE_PROGRESS_8 = 28
|
||||
CMAKE_PROGRESS_9 = 29
|
||||
CMAKE_PROGRESS_10 = 30
|
||||
CMAKE_PROGRESS_11 = 31
|
||||
CMAKE_PROGRESS_12 = 32
|
||||
CMAKE_PROGRESS_13 = 33
|
||||
|
||||
|
@ -1 +1 @@
|
||||
40
|
||||
43
|
||||
|
@ -0,0 +1,16 @@
|
||||
# CMAKE generated file: DO NOT EDIT!
|
||||
# Generated by "Unix Makefiles" Generator, CMake Version 3.22
|
||||
|
||||
# Relative path conversion top directories.
|
||||
set(CMAKE_RELATIVE_PATH_TOP_SOURCE "/home/kanken/code/AHRS_core/src")
|
||||
set(CMAKE_RELATIVE_PATH_TOP_BINARY "/home/kanken/code/AHRS_core/src")
|
||||
|
||||
# Force unix paths in dependencies.
|
||||
set(CMAKE_FORCE_UNIX_PATHS 1)
|
||||
|
||||
|
||||
# The C and CXX include file regular expressions for this directory.
|
||||
set(CMAKE_C_INCLUDE_REGEX_SCAN "^.*$")
|
||||
set(CMAKE_C_INCLUDE_REGEX_COMPLAIN "^$")
|
||||
set(CMAKE_CXX_INCLUDE_REGEX_SCAN ${CMAKE_C_INCLUDE_REGEX_SCAN})
|
||||
set(CMAKE_CXX_INCLUDE_REGEX_COMPLAIN ${CMAKE_C_INCLUDE_REGEX_COMPLAIN})
|
@ -0,0 +1,33 @@
|
||||
|
||||
# Consider dependencies only in project.
|
||||
set(CMAKE_DEPENDS_IN_PROJECT_ONLY OFF)
|
||||
|
||||
# The set of languages for which implicit dependencies are needed:
|
||||
set(CMAKE_DEPENDS_LANGUAGES
|
||||
)
|
||||
|
||||
# The set of dependency files which are needed:
|
||||
set(CMAKE_DEPENDS_DEPENDENCY_FILES
|
||||
"/home/kanken/code/AHRS_core/src/pluginManagement/Plugin.cpp" "pluginManagement/CMakeFiles/PluginManager.dir/Plugin.cpp.o" "gcc" "pluginManagement/CMakeFiles/PluginManager.dir/Plugin.cpp.o.d"
|
||||
"/home/kanken/code/AHRS_core/src/pluginManagement/PluginManager.cpp" "pluginManagement/CMakeFiles/PluginManager.dir/PluginManager.cpp.o" "gcc" "pluginManagement/CMakeFiles/PluginManager.dir/PluginManager.cpp.o.d"
|
||||
)
|
||||
|
||||
# Targets to which this target links.
|
||||
set(CMAKE_TARGET_LINKED_INFO_FILES
|
||||
"/home/kanken/code/AHRS_core/src/pipeline/CMakeFiles/pipelineLib.dir/DependInfo.cmake"
|
||||
"/home/kanken/code/AHRS_core/src/model/windows/CMakeFiles/windows.dir/DependInfo.cmake"
|
||||
"/home/kanken/code/AHRS_core/src/ui/support/CMakeFiles/support.dir/DependInfo.cmake"
|
||||
"/home/kanken/code/AHRS_core/src/model/controllers/CMakeFiles/controllers.dir/DependInfo.cmake"
|
||||
"/home/kanken/code/AHRS_core/src/model/hardware/psvr/CMakeFiles/psvr.dir/DependInfo.cmake"
|
||||
"/home/kanken/code/AHRS_core/src/model/hardware/ihidapi/CMakeFiles/ihidapi.dir/DependInfo.cmake"
|
||||
"/home/kanken/code/AHRS_core/src/model/hardware/cameras/CMakeFiles/cameras.dir/DependInfo.cmake"
|
||||
"/home/kanken/code/AHRS_core/src/model/hardware/hw/CMakeFiles/hw.dir/DependInfo.cmake"
|
||||
"/home/kanken/code/AHRS_core/src/model/hardware/hw/extendables/CMakeFiles/hw_ext.dir/DependInfo.cmake"
|
||||
"/home/kanken/code/AHRS_core/src/model/patterns/observer/CMakeFiles/observers.dir/DependInfo.cmake"
|
||||
"/home/kanken/code/AHRS_core/src/threadweaver/CMakeFiles/threadweaver.dir/DependInfo.cmake"
|
||||
"/home/kanken/code/AHRS_core/src/model/perfcheckers/CMakeFiles/perfcheckers.dir/DependInfo.cmake"
|
||||
"/home/kanken/code/AHRS_core/src/processing/zbar/CMakeFiles/zbarLib.dir/DependInfo.cmake"
|
||||
)
|
||||
|
||||
# Fortran module output directory.
|
||||
set(CMAKE_Fortran_TARGET_MODULE_DIR "")
|
@ -0,0 +1,127 @@
|
||||
# CMAKE generated file: DO NOT EDIT!
|
||||
# Generated by "Unix Makefiles" Generator, CMake Version 3.22
|
||||
|
||||
# Delete rule output on recipe failure.
|
||||
.DELETE_ON_ERROR:
|
||||
|
||||
#=============================================================================
|
||||
# Special targets provided by cmake.
|
||||
|
||||
# Disable implicit rules so canonical targets will work.
|
||||
.SUFFIXES:
|
||||
|
||||
# Disable VCS-based implicit rules.
|
||||
% : %,v
|
||||
|
||||
# Disable VCS-based implicit rules.
|
||||
% : RCS/%
|
||||
|
||||
# Disable VCS-based implicit rules.
|
||||
% : RCS/%,v
|
||||
|
||||
# Disable VCS-based implicit rules.
|
||||
% : SCCS/s.%
|
||||
|
||||
# Disable VCS-based implicit rules.
|
||||
% : s.%
|
||||
|
||||
.SUFFIXES: .hpux_make_needs_suffix_list
|
||||
|
||||
# Command-line flag to silence nested $(MAKE).
|
||||
$(VERBOSE)MAKESILENT = -s
|
||||
|
||||
#Suppress display of executed commands.
|
||||
$(VERBOSE).SILENT:
|
||||
|
||||
# A target that is always out of date.
|
||||
cmake_force:
|
||||
.PHONY : cmake_force
|
||||
|
||||
#=============================================================================
|
||||
# Set environment variables for the build.
|
||||
|
||||
# The shell in which to execute make rules.
|
||||
SHELL = /bin/sh
|
||||
|
||||
# The CMake executable.
|
||||
CMAKE_COMMAND = /usr/bin/cmake
|
||||
|
||||
# The command to remove a file.
|
||||
RM = /usr/bin/cmake -E rm -f
|
||||
|
||||
# Escaping for special characters.
|
||||
EQUALS = =
|
||||
|
||||
# The top-level source directory on which CMake was run.
|
||||
CMAKE_SOURCE_DIR = /home/kanken/code/AHRS_core/src
|
||||
|
||||
# The top-level build directory on which CMake was run.
|
||||
CMAKE_BINARY_DIR = /home/kanken/code/AHRS_core/src
|
||||
|
||||
# Include any dependencies generated for this target.
|
||||
include pluginManagement/CMakeFiles/PluginManager.dir/depend.make
|
||||
# Include any dependencies generated by the compiler for this target.
|
||||
include pluginManagement/CMakeFiles/PluginManager.dir/compiler_depend.make
|
||||
|
||||
# Include the progress variables for this target.
|
||||
include pluginManagement/CMakeFiles/PluginManager.dir/progress.make
|
||||
|
||||
# Include the compile flags for this target's objects.
|
||||
include pluginManagement/CMakeFiles/PluginManager.dir/flags.make
|
||||
|
||||
pluginManagement/CMakeFiles/PluginManager.dir/PluginManager.cpp.o: pluginManagement/CMakeFiles/PluginManager.dir/flags.make
|
||||
pluginManagement/CMakeFiles/PluginManager.dir/PluginManager.cpp.o: pluginManagement/PluginManager.cpp
|
||||
pluginManagement/CMakeFiles/PluginManager.dir/PluginManager.cpp.o: pluginManagement/CMakeFiles/PluginManager.dir/compiler_depend.ts
|
||||
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green --progress-dir=/home/kanken/code/AHRS_core/src/CMakeFiles --progress-num=$(CMAKE_PROGRESS_1) "Building CXX object pluginManagement/CMakeFiles/PluginManager.dir/PluginManager.cpp.o"
|
||||
cd /home/kanken/code/AHRS_core/src/pluginManagement && /usr/bin/c++ $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -MD -MT pluginManagement/CMakeFiles/PluginManager.dir/PluginManager.cpp.o -MF CMakeFiles/PluginManager.dir/PluginManager.cpp.o.d -o CMakeFiles/PluginManager.dir/PluginManager.cpp.o -c /home/kanken/code/AHRS_core/src/pluginManagement/PluginManager.cpp
|
||||
|
||||
pluginManagement/CMakeFiles/PluginManager.dir/PluginManager.cpp.i: cmake_force
|
||||
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Preprocessing CXX source to CMakeFiles/PluginManager.dir/PluginManager.cpp.i"
|
||||
cd /home/kanken/code/AHRS_core/src/pluginManagement && /usr/bin/c++ $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -E /home/kanken/code/AHRS_core/src/pluginManagement/PluginManager.cpp > CMakeFiles/PluginManager.dir/PluginManager.cpp.i
|
||||
|
||||
pluginManagement/CMakeFiles/PluginManager.dir/PluginManager.cpp.s: cmake_force
|
||||
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Compiling CXX source to assembly CMakeFiles/PluginManager.dir/PluginManager.cpp.s"
|
||||
cd /home/kanken/code/AHRS_core/src/pluginManagement && /usr/bin/c++ $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -S /home/kanken/code/AHRS_core/src/pluginManagement/PluginManager.cpp -o CMakeFiles/PluginManager.dir/PluginManager.cpp.s
|
||||
|
||||
pluginManagement/CMakeFiles/PluginManager.dir/Plugin.cpp.o: pluginManagement/CMakeFiles/PluginManager.dir/flags.make
|
||||
pluginManagement/CMakeFiles/PluginManager.dir/Plugin.cpp.o: pluginManagement/Plugin.cpp
|
||||
pluginManagement/CMakeFiles/PluginManager.dir/Plugin.cpp.o: pluginManagement/CMakeFiles/PluginManager.dir/compiler_depend.ts
|
||||
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green --progress-dir=/home/kanken/code/AHRS_core/src/CMakeFiles --progress-num=$(CMAKE_PROGRESS_2) "Building CXX object pluginManagement/CMakeFiles/PluginManager.dir/Plugin.cpp.o"
|
||||
cd /home/kanken/code/AHRS_core/src/pluginManagement && /usr/bin/c++ $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -MD -MT pluginManagement/CMakeFiles/PluginManager.dir/Plugin.cpp.o -MF CMakeFiles/PluginManager.dir/Plugin.cpp.o.d -o CMakeFiles/PluginManager.dir/Plugin.cpp.o -c /home/kanken/code/AHRS_core/src/pluginManagement/Plugin.cpp
|
||||
|
||||
pluginManagement/CMakeFiles/PluginManager.dir/Plugin.cpp.i: cmake_force
|
||||
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Preprocessing CXX source to CMakeFiles/PluginManager.dir/Plugin.cpp.i"
|
||||
cd /home/kanken/code/AHRS_core/src/pluginManagement && /usr/bin/c++ $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -E /home/kanken/code/AHRS_core/src/pluginManagement/Plugin.cpp > CMakeFiles/PluginManager.dir/Plugin.cpp.i
|
||||
|
||||
pluginManagement/CMakeFiles/PluginManager.dir/Plugin.cpp.s: cmake_force
|
||||
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Compiling CXX source to assembly CMakeFiles/PluginManager.dir/Plugin.cpp.s"
|
||||
cd /home/kanken/code/AHRS_core/src/pluginManagement && /usr/bin/c++ $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -S /home/kanken/code/AHRS_core/src/pluginManagement/Plugin.cpp -o CMakeFiles/PluginManager.dir/Plugin.cpp.s
|
||||
|
||||
# Object files for target PluginManager
|
||||
PluginManager_OBJECTS = \
|
||||
"CMakeFiles/PluginManager.dir/PluginManager.cpp.o" \
|
||||
"CMakeFiles/PluginManager.dir/Plugin.cpp.o"
|
||||
|
||||
# External object files for target PluginManager
|
||||
PluginManager_EXTERNAL_OBJECTS =
|
||||
|
||||
pluginManagement/libPluginManager.a: pluginManagement/CMakeFiles/PluginManager.dir/PluginManager.cpp.o
|
||||
pluginManagement/libPluginManager.a: pluginManagement/CMakeFiles/PluginManager.dir/Plugin.cpp.o
|
||||
pluginManagement/libPluginManager.a: pluginManagement/CMakeFiles/PluginManager.dir/build.make
|
||||
pluginManagement/libPluginManager.a: pluginManagement/CMakeFiles/PluginManager.dir/link.txt
|
||||
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green --bold --progress-dir=/home/kanken/code/AHRS_core/src/CMakeFiles --progress-num=$(CMAKE_PROGRESS_3) "Linking CXX static library libPluginManager.a"
|
||||
cd /home/kanken/code/AHRS_core/src/pluginManagement && $(CMAKE_COMMAND) -P CMakeFiles/PluginManager.dir/cmake_clean_target.cmake
|
||||
cd /home/kanken/code/AHRS_core/src/pluginManagement && $(CMAKE_COMMAND) -E cmake_link_script CMakeFiles/PluginManager.dir/link.txt --verbose=$(VERBOSE)
|
||||
|
||||
# Rule to build all files generated by this target.
|
||||
pluginManagement/CMakeFiles/PluginManager.dir/build: pluginManagement/libPluginManager.a
|
||||
.PHONY : pluginManagement/CMakeFiles/PluginManager.dir/build
|
||||
|
||||
pluginManagement/CMakeFiles/PluginManager.dir/clean:
|
||||
cd /home/kanken/code/AHRS_core/src/pluginManagement && $(CMAKE_COMMAND) -P CMakeFiles/PluginManager.dir/cmake_clean.cmake
|
||||
.PHONY : pluginManagement/CMakeFiles/PluginManager.dir/clean
|
||||
|
||||
pluginManagement/CMakeFiles/PluginManager.dir/depend:
|
||||
cd /home/kanken/code/AHRS_core/src && $(CMAKE_COMMAND) -E cmake_depends "Unix Makefiles" /home/kanken/code/AHRS_core/src /home/kanken/code/AHRS_core/src/pluginManagement /home/kanken/code/AHRS_core/src /home/kanken/code/AHRS_core/src/pluginManagement /home/kanken/code/AHRS_core/src/pluginManagement/CMakeFiles/PluginManager.dir/DependInfo.cmake --color=$(COLOR)
|
||||
.PHONY : pluginManagement/CMakeFiles/PluginManager.dir/depend
|
||||
|
@ -0,0 +1,13 @@
|
||||
file(REMOVE_RECURSE
|
||||
"CMakeFiles/PluginManager.dir/Plugin.cpp.o"
|
||||
"CMakeFiles/PluginManager.dir/Plugin.cpp.o.d"
|
||||
"CMakeFiles/PluginManager.dir/PluginManager.cpp.o"
|
||||
"CMakeFiles/PluginManager.dir/PluginManager.cpp.o.d"
|
||||
"libPluginManager.a"
|
||||
"libPluginManager.pdb"
|
||||
)
|
||||
|
||||
# Per-language clean rules from dependency scanning.
|
||||
foreach(lang CXX)
|
||||
include(CMakeFiles/PluginManager.dir/cmake_clean_${lang}.cmake OPTIONAL)
|
||||
endforeach()
|
@ -0,0 +1,3 @@
|
||||
file(REMOVE_RECURSE
|
||||
"libPluginManager.a"
|
||||
)
|
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@ -0,0 +1,2 @@
|
||||
# CMAKE generated file: DO NOT EDIT!
|
||||
# Timestamp file for compiler generated dependencies management for PluginManager.
|
@ -0,0 +1,2 @@
|
||||
# Empty dependencies file for PluginManager.
|
||||
# This may be replaced when dependencies are built.
|
@ -0,0 +1,10 @@
|
||||
# CMAKE generated file: DO NOT EDIT!
|
||||
# Generated by "Unix Makefiles" Generator, CMake Version 3.22
|
||||
|
||||
# compile CXX with /usr/bin/c++
|
||||
CXX_DEFINES =
|
||||
|
||||
CXX_INCLUDES = -isystem /usr/local/include/opencv4
|
||||
|
||||
CXX_FLAGS =
|
||||
|
@ -0,0 +1,2 @@
|
||||
/usr/bin/ar qc libPluginManager.a CMakeFiles/PluginManager.dir/PluginManager.cpp.o CMakeFiles/PluginManager.dir/Plugin.cpp.o
|
||||
/usr/bin/ranlib libPluginManager.a
|
@ -0,0 +1,4 @@
|
||||
CMAKE_PROGRESS_1 = 1
|
||||
CMAKE_PROGRESS_2 = 2
|
||||
CMAKE_PROGRESS_3 = 3
|
||||
|
@ -0,0 +1 @@
|
||||
30
|
@ -0,0 +1,14 @@
|
||||
set(pluginManager_src
|
||||
./PluginManager.hpp
|
||||
./PluginManager.cpp
|
||||
./Plugin.hpp
|
||||
./Plugin.cpp)
|
||||
|
||||
MESSAGE(STATUS "building PluginManager")
|
||||
|
||||
add_library(PluginManager ${pluginManager_src})
|
||||
set_target_properties(PluginManager PROPERTIES LINKER_LANGUAGE CXX)
|
||||
|
||||
target_link_libraries(PluginManager pipelineLib)
|
||||
|
||||
MESSAGE(STATUS "Done building PluginManager")
|
@ -0,0 +1,209 @@
|
||||
# CMAKE generated file: DO NOT EDIT!
|
||||
# Generated by "Unix Makefiles" Generator, CMake Version 3.22
|
||||
|
||||
# Default target executed when no arguments are given to make.
|
||||
default_target: all
|
||||
.PHONY : default_target
|
||||
|
||||
# Allow only one "make -f Makefile2" at a time, but pass parallelism.
|
||||
.NOTPARALLEL:
|
||||
|
||||
#=============================================================================
|
||||
# Special targets provided by cmake.
|
||||
|
||||
# Disable implicit rules so canonical targets will work.
|
||||
.SUFFIXES:
|
||||
|
||||
# Disable VCS-based implicit rules.
|
||||
% : %,v
|
||||
|
||||
# Disable VCS-based implicit rules.
|
||||
% : RCS/%
|
||||
|
||||
# Disable VCS-based implicit rules.
|
||||
% : RCS/%,v
|
||||
|
||||
# Disable VCS-based implicit rules.
|
||||
% : SCCS/s.%
|
||||
|
||||
# Disable VCS-based implicit rules.
|
||||
% : s.%
|
||||
|
||||
.SUFFIXES: .hpux_make_needs_suffix_list
|
||||
|
||||
# Command-line flag to silence nested $(MAKE).
|
||||
$(VERBOSE)MAKESILENT = -s
|
||||
|
||||
#Suppress display of executed commands.
|
||||
$(VERBOSE).SILENT:
|
||||
|
||||
# A target that is always out of date.
|
||||
cmake_force:
|
||||
.PHONY : cmake_force
|
||||
|
||||
#=============================================================================
|
||||
# Set environment variables for the build.
|
||||
|
||||
# The shell in which to execute make rules.
|
||||
SHELL = /bin/sh
|
||||
|
||||
# The CMake executable.
|
||||
CMAKE_COMMAND = /usr/bin/cmake
|
||||
|
||||
# The command to remove a file.
|
||||
RM = /usr/bin/cmake -E rm -f
|
||||
|
||||
# Escaping for special characters.
|
||||
EQUALS = =
|
||||
|
||||
# The top-level source directory on which CMake was run.
|
||||
CMAKE_SOURCE_DIR = /home/kanken/code/AHRS_core/src
|
||||
|
||||
# The top-level build directory on which CMake was run.
|
||||
CMAKE_BINARY_DIR = /home/kanken/code/AHRS_core/src
|
||||
|
||||
#=============================================================================
|
||||
# Targets provided globally by CMake.
|
||||
|
||||
# Special rule for the target edit_cache
|
||||
edit_cache:
|
||||
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "No interactive CMake dialog available..."
|
||||
/usr/bin/cmake -E echo No\ interactive\ CMake\ dialog\ available.
|
||||
.PHONY : edit_cache
|
||||
|
||||
# Special rule for the target edit_cache
|
||||
edit_cache/fast: edit_cache
|
||||
.PHONY : edit_cache/fast
|
||||
|
||||
# Special rule for the target rebuild_cache
|
||||
rebuild_cache:
|
||||
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Running CMake to regenerate build system..."
|
||||
/usr/bin/cmake --regenerate-during-build -S$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR)
|
||||
.PHONY : rebuild_cache
|
||||
|
||||
# Special rule for the target rebuild_cache
|
||||
rebuild_cache/fast: rebuild_cache
|
||||
.PHONY : rebuild_cache/fast
|
||||
|
||||
# The main all target
|
||||
all: cmake_check_build_system
|
||||
cd /home/kanken/code/AHRS_core/src && $(CMAKE_COMMAND) -E cmake_progress_start /home/kanken/code/AHRS_core/src/CMakeFiles /home/kanken/code/AHRS_core/src/pluginManagement//CMakeFiles/progress.marks
|
||||
cd /home/kanken/code/AHRS_core/src && $(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 pluginManagement/all
|
||||
$(CMAKE_COMMAND) -E cmake_progress_start /home/kanken/code/AHRS_core/src/CMakeFiles 0
|
||||
.PHONY : all
|
||||
|
||||
# The main clean target
|
||||
clean:
|
||||
cd /home/kanken/code/AHRS_core/src && $(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 pluginManagement/clean
|
||||
.PHONY : clean
|
||||
|
||||
# The main clean target
|
||||
clean/fast: clean
|
||||
.PHONY : clean/fast
|
||||
|
||||
# Prepare targets for installation.
|
||||
preinstall: all
|
||||
cd /home/kanken/code/AHRS_core/src && $(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 pluginManagement/preinstall
|
||||
.PHONY : preinstall
|
||||
|
||||
# Prepare targets for installation.
|
||||
preinstall/fast:
|
||||
cd /home/kanken/code/AHRS_core/src && $(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 pluginManagement/preinstall
|
||||
.PHONY : preinstall/fast
|
||||
|
||||
# clear depends
|
||||
depend:
|
||||
cd /home/kanken/code/AHRS_core/src && $(CMAKE_COMMAND) -S$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 1
|
||||
.PHONY : depend
|
||||
|
||||
# Convenience name for target.
|
||||
pluginManagement/CMakeFiles/PluginManager.dir/rule:
|
||||
cd /home/kanken/code/AHRS_core/src && $(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 pluginManagement/CMakeFiles/PluginManager.dir/rule
|
||||
.PHONY : pluginManagement/CMakeFiles/PluginManager.dir/rule
|
||||
|
||||
# Convenience name for target.
|
||||
PluginManager: pluginManagement/CMakeFiles/PluginManager.dir/rule
|
||||
.PHONY : PluginManager
|
||||
|
||||
# fast build rule for target.
|
||||
PluginManager/fast:
|
||||
cd /home/kanken/code/AHRS_core/src && $(MAKE) $(MAKESILENT) -f pluginManagement/CMakeFiles/PluginManager.dir/build.make pluginManagement/CMakeFiles/PluginManager.dir/build
|
||||
.PHONY : PluginManager/fast
|
||||
|
||||
Plugin.o: Plugin.cpp.o
|
||||
.PHONY : Plugin.o
|
||||
|
||||
# target to build an object file
|
||||
Plugin.cpp.o:
|
||||
cd /home/kanken/code/AHRS_core/src && $(MAKE) $(MAKESILENT) -f pluginManagement/CMakeFiles/PluginManager.dir/build.make pluginManagement/CMakeFiles/PluginManager.dir/Plugin.cpp.o
|
||||
.PHONY : Plugin.cpp.o
|
||||
|
||||
Plugin.i: Plugin.cpp.i
|
||||
.PHONY : Plugin.i
|
||||
|
||||
# target to preprocess a source file
|
||||
Plugin.cpp.i:
|
||||
cd /home/kanken/code/AHRS_core/src && $(MAKE) $(MAKESILENT) -f pluginManagement/CMakeFiles/PluginManager.dir/build.make pluginManagement/CMakeFiles/PluginManager.dir/Plugin.cpp.i
|
||||
.PHONY : Plugin.cpp.i
|
||||
|
||||
Plugin.s: Plugin.cpp.s
|
||||
.PHONY : Plugin.s
|
||||
|
||||
# target to generate assembly for a file
|
||||
Plugin.cpp.s:
|
||||
cd /home/kanken/code/AHRS_core/src && $(MAKE) $(MAKESILENT) -f pluginManagement/CMakeFiles/PluginManager.dir/build.make pluginManagement/CMakeFiles/PluginManager.dir/Plugin.cpp.s
|
||||
.PHONY : Plugin.cpp.s
|
||||
|
||||
PluginManager.o: PluginManager.cpp.o
|
||||
.PHONY : PluginManager.o
|
||||
|
||||
# target to build an object file
|
||||
PluginManager.cpp.o:
|
||||
cd /home/kanken/code/AHRS_core/src && $(MAKE) $(MAKESILENT) -f pluginManagement/CMakeFiles/PluginManager.dir/build.make pluginManagement/CMakeFiles/PluginManager.dir/PluginManager.cpp.o
|
||||
.PHONY : PluginManager.cpp.o
|
||||
|
||||
PluginManager.i: PluginManager.cpp.i
|
||||
.PHONY : PluginManager.i
|
||||
|
||||
# target to preprocess a source file
|
||||
PluginManager.cpp.i:
|
||||
cd /home/kanken/code/AHRS_core/src && $(MAKE) $(MAKESILENT) -f pluginManagement/CMakeFiles/PluginManager.dir/build.make pluginManagement/CMakeFiles/PluginManager.dir/PluginManager.cpp.i
|
||||
.PHONY : PluginManager.cpp.i
|
||||
|
||||
PluginManager.s: PluginManager.cpp.s
|
||||
.PHONY : PluginManager.s
|
||||
|
||||
# target to generate assembly for a file
|
||||
PluginManager.cpp.s:
|
||||
cd /home/kanken/code/AHRS_core/src && $(MAKE) $(MAKESILENT) -f pluginManagement/CMakeFiles/PluginManager.dir/build.make pluginManagement/CMakeFiles/PluginManager.dir/PluginManager.cpp.s
|
||||
.PHONY : PluginManager.cpp.s
|
||||
|
||||
# Help Target
|
||||
help:
|
||||
@echo "The following are some of the valid targets for this Makefile:"
|
||||
@echo "... all (the default if no target is provided)"
|
||||
@echo "... clean"
|
||||
@echo "... depend"
|
||||
@echo "... edit_cache"
|
||||
@echo "... rebuild_cache"
|
||||
@echo "... PluginManager"
|
||||
@echo "... Plugin.o"
|
||||
@echo "... Plugin.i"
|
||||
@echo "... Plugin.s"
|
||||
@echo "... PluginManager.o"
|
||||
@echo "... PluginManager.i"
|
||||
@echo "... PluginManager.s"
|
||||
.PHONY : help
|
||||
|
||||
|
||||
|
||||
#=============================================================================
|
||||
# Special targets to cleanup operation of make.
|
||||
|
||||
# Special rule to run CMake to check the build system integrity.
|
||||
# No rule that depends on this can have commands that come from listfiles
|
||||
# because they might be regenerated.
|
||||
cmake_check_build_system:
|
||||
cd /home/kanken/code/AHRS_core/src && $(CMAKE_COMMAND) -S$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 0
|
||||
.PHONY : cmake_check_build_system
|
||||
|
@ -0,0 +1,7 @@
|
||||
#include "Plugin.hpp"
|
||||
#include <dlfcn.h>
|
||||
|
||||
Plugin::Plugin(fs::directory_entry sharedLibraryToLoad){
|
||||
void* libHandle = dlopen(sharedLibraryToLoad.path().string().c_str(), RTLD_LAZY);
|
||||
if(!libHandle) return;
|
||||
}
|
@ -0,0 +1,21 @@
|
||||
#include <string>
|
||||
#include <filesystem>
|
||||
#include <vector>
|
||||
#include "../model/hardware/hw/extendables/SerialDevice.hpp"
|
||||
namespace fs = std::filesystem;
|
||||
|
||||
class SubNode;
|
||||
|
||||
class Plugin{
|
||||
protected:
|
||||
fs::directory_entry pluginFile;
|
||||
|
||||
public:
|
||||
std::vector<DeviceCommand*> commands;
|
||||
std::string manifest = "";
|
||||
std::string identifier = "";
|
||||
Plugin(fs::directory_entry sharedLibraryToLoad);
|
||||
std::function<SerialDevice*()> loadDevice = NULL;
|
||||
std::function<SubNode*()> loadNode = NULL;
|
||||
std::function<std::vector<DeviceCommand*>()> loadCommands = NULL;
|
||||
};
|
@ -0,0 +1,45 @@
|
||||
#include "PluginManager.hpp"
|
||||
#include "../pipeline/pipeline.hpp"
|
||||
#include <iostream>
|
||||
|
||||
PluginManager::PluginManager(Pipeline& pi){
|
||||
// Path to the folder
|
||||
fs::path folder_path = "./plugins";
|
||||
|
||||
// Check if the folder exists
|
||||
if (fs::exists(folder_path) && fs::is_directory(folder_path)) {
|
||||
std::cout << "Folder exists\n";
|
||||
|
||||
// Iterate over the files in the folder
|
||||
for (const auto& file : fs::directory_iterator(folder_path)) {
|
||||
// Check if the file is a regular file and a dynamic shared object file
|
||||
if (fs::is_regular_file(file.path()) && file.path().filename().string().substr(file.path().filename().string().size() - 3) == ".so") {
|
||||
Plugin* pl = new Plugin(file);
|
||||
if(pl->manifest == "") delete pl;
|
||||
else
|
||||
{
|
||||
this->plugins[pl->identifier] = pl;
|
||||
if(pl->loadDevice != NULL){
|
||||
SerialDevice* sd = pl->loadDevice();
|
||||
//add to serial device manager
|
||||
}
|
||||
if(pl->loadNode != NULL){
|
||||
pi.getNodes().at(PIPELINE_UI_DRAWER_NODE)->addSubNode(pl->loadNode());
|
||||
}
|
||||
if(pl->loadCommands != NULL){
|
||||
std::vector<DeviceCommand*> comms = pl->loadCommands();
|
||||
pl->commands = comms;
|
||||
for(auto c : pl->commands){
|
||||
if(pl->identifier == "refresh"){
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
else {
|
||||
std::cout << "Folder does not exist\n";
|
||||
}
|
||||
}
|
@ -0,0 +1,9 @@
|
||||
#include "Plugin.hpp"
|
||||
#include <map>
|
||||
class Pipeline;
|
||||
|
||||
class PluginManager{
|
||||
public:
|
||||
std::map<std::string, Plugin*> plugins;
|
||||
PluginManager(Pipeline& p);
|
||||
};
|
@ -1,3 +1,3 @@
|
||||
CMAKE_PROGRESS_1 = 43
|
||||
CMAKE_PROGRESS_2 = 44
|
||||
CMAKE_PROGRESS_1 = 46
|
||||
CMAKE_PROGRESS_2 = 47
|
||||
|
||||
|
@ -1,3 +1,3 @@
|
||||
CMAKE_PROGRESS_1 = 38
|
||||
CMAKE_PROGRESS_2 = 39
|
||||
CMAKE_PROGRESS_1 = 41
|
||||
CMAKE_PROGRESS_2 = 42
|
||||
|
||||
|
@ -1,3 +1,3 @@
|
||||
CMAKE_PROGRESS_1 = 36
|
||||
CMAKE_PROGRESS_2 = 37
|
||||
CMAKE_PROGRESS_1 = 39
|
||||
CMAKE_PROGRESS_2 = 40
|
||||
|
||||
|
Loading…
Reference in new issue