From 6d08e4e0495c31b01e749d8a86fc8d0b68537477 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=BB=BB=E7=AB=8B=E6=96=B0?= Date: Wed, 12 Jan 2022 15:54:58 +0800 Subject: [PATCH] intaller compelet --- othersoft/install.sh | 4 ++-- othersoft/shuttercali/project/LocationCali/CMakeLists.txt | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/othersoft/install.sh b/othersoft/install.sh index 7d392bc..6b732b9 100644 --- a/othersoft/install.sh +++ b/othersoft/install.sh @@ -12,7 +12,7 @@ mkdir shuttercali cd shuttercali cmake ../../shuttercali/project/LocationCali make -j4 -cp ./shuttercali /home/pi/bin -cd ../../ +cp ./shutter_calibrate /home/pi/bin +cd ../../../ cp -r ./html/* /var/www/html chmod +x /var/www/html/php/*.sh diff --git a/othersoft/shuttercali/project/LocationCali/CMakeLists.txt b/othersoft/shuttercali/project/LocationCali/CMakeLists.txt index 966594f..357bfe2 100644 --- a/othersoft/shuttercali/project/LocationCali/CMakeLists.txt +++ b/othersoft/shuttercali/project/LocationCali/CMakeLists.txt @@ -35,10 +35,10 @@ add_executable( shutter_calibrate main.cpp ${SRC_LIST1} ) qt5_use_modules(shutter_calibrate ${QT}) -target_link_libraries(shutter_calibrate SeaBreeze) -IF (WIN32) #target_link_libraries(shutter_calibrate SeaBreeze) -target_link_libraries(shutter_calibrate seabreeze usb stdc++ m) +IF (WIN32) +target_link_libraries(shutter_calibrate SeaBreeze) +#target_link_libraries(shutter_calibrate seabreeze usb stdc++ m) ELSE () target_link_libraries(shutter_calibrate seabreeze usb stdc++ m) ENDIF ()