You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If you can help, i would be very graceful and maybe we could work together.
best regards, and thanks
Lumizy
### g++ -g -c -Wall -I include -std=c++0x -c -o obj/Server.o src/Server.cpp src/Server.cpp: In static member function ‘static ssize_t CameraControllerApi::Server::handle_mjpeg(void*, uint64_t, char*, size_t)’: src/Server.cpp:257:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if(available < max) { ^ g++ -g -c -Wall -I include -std=c++0x -c -o obj/Api.o src/Api.cpp src/Api.cpp: In member function ‘bool CameraControllerApi::Api::get_settings_by_key(std::string, CameraControllerApi::CCA_API_OUTPUT_TYPE, std::string&)’: src/Api.cpp:70:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int i = 0; i < choices.size(); i++){ ^ g++ -g -c -Wall -I include -std=c++0x -c -o obj/Command.o src/Command.cpp g++ -g -c -Wall -I include -std=c++0x -c -o obj/Settings.o src/Settings.cpp g++ -g -c -Wall -I include -std=c++0x -c -o obj/Base64.o src/Base64.cpp g++ -g -c -Wall -I include -std=c++0x -c -o obj/Helper.o src/Helper.cpp g++ -g -c -Wall -I include -std=c++0x -c -o obj/CameraController.o src/CameraController.cpp In file included from src/CameraController.cpp:9:0: include/CameraController.h: In constructor ‘CameraControllerApi::CameraController::CameraController()’: include/CameraController.h:56:14: warning: ‘CameraControllerApi::CameraController::_camera_found’ will be initialized after [-Wreorder] bool _camera_found; ^ include/CameraController.h:54:14: warning: ‘bool CameraControllerApi::CameraController::_is_busy’ [-Wreorder] bool _is_busy; ^ src/CameraController.cpp:55:1: warning: when initialized here [-Wreorder] CameraController::CameraController() : ^ In file included from src/CameraController.cpp:9:0: include/CameraController.h:57:14: warning: ‘CameraControllerApi::CameraController::_is_initialized’ will be initialized after [-Wreorder] bool _is_initialized; ^ include/CameraController.h:55:14: warning: ‘bool CameraControllerApi::CameraController::_liveview_running’ [-Wreorder] bool _liveview_running; ^ src/CameraController.cpp:55:1: warning: when initialized here [-Wreorder] CameraController::CameraController() : ^ In file included from src/CameraController.cpp:9:0: include/CameraController.h:55:14: warning: ‘CameraControllerApi::CameraController::_liveview_running’ will be initialized after [-Wreorder] bool _liveview_running; ^ include/CameraController.h:52:17: warning: ‘Camera* CameraControllerApi::CameraController::_camera’ [-Wreorder] Camera *_camera; ^ src/CameraController.cpp:55:1: warning: when initialized here [-Wreorder] CameraController::CameraController() : ^ src/CameraController.cpp: In member function ‘int CameraControllerApi::CameraController::_wait_and_handle_event(useconds_t, CameraEventType*, int)’: src/CameraController.cpp:526:18: warning: variable ‘path’ set but not used [-Wunused-but-set-variable] CameraFilePath *path; ^ src/CameraController.cpp: In member function ‘void CameraControllerApi::CameraController::_set_capturetarget(int)’: src/CameraController.cpp:568:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if(ret && index < choices.size()){ ^ g++ -g -c -Wall -I include -std=c++0x -c -o obj/main.o src/main.cpp g++ -g -lboost_system -lgphoto2 -lmicrohttpd -lpthread -lexiv2 -o bin/CameraControllerApi obj/Server.o obj/Api.o obj/Command.o obj/Settings.o obj/Base64.o obj/Helper.o obj/CameraController.o obj/main.o -lboost_system -lgphoto2 -lmicrohttpd -lpthread -lexiv2
The text was updated successfully, but these errors were encountered:
Hi, i experiment some issues during installation
I'm running your script on a Raspberry PI 3 B 64 Mo sd Card
On the latest version of Raspian (11/2016)
My camera is a Canon 700D
here is the error shown during compilation and after the launch by ./CameraControllerApi , i've get this in my browser.
### {
"cca_response":
{
"state": "fail",
"message": "Camera not found"
}
}
If you can help, i would be very graceful and maybe we could work together.
best regards, and thanks
Lumizy
###
g++ -g -c -Wall -I include -std=c++0x -c -o obj/Server.o src/Server.cpp src/Server.cpp: In static member function ‘static ssize_t CameraControllerApi::Server::handle_mjpeg(void*, uint64_t, char*, size_t)’: src/Server.cpp:257:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if(available < max) { ^ g++ -g -c -Wall -I include -std=c++0x -c -o obj/Api.o src/Api.cpp src/Api.cpp: In member function ‘bool CameraControllerApi::Api::get_settings_by_key(std::string, CameraControllerApi::CCA_API_OUTPUT_TYPE, std::string&)’: src/Api.cpp:70:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int i = 0; i < choices.size(); i++){ ^ g++ -g -c -Wall -I include -std=c++0x -c -o obj/Command.o src/Command.cpp g++ -g -c -Wall -I include -std=c++0x -c -o obj/Settings.o src/Settings.cpp g++ -g -c -Wall -I include -std=c++0x -c -o obj/Base64.o src/Base64.cpp g++ -g -c -Wall -I include -std=c++0x -c -o obj/Helper.o src/Helper.cpp g++ -g -c -Wall -I include -std=c++0x -c -o obj/CameraController.o src/CameraController.cpp In file included from src/CameraController.cpp:9:0: include/CameraController.h: In constructor ‘CameraControllerApi::CameraController::CameraController()’: include/CameraController.h:56:14: warning: ‘CameraControllerApi::CameraController::_camera_found’ will be initialized after [-Wreorder] bool _camera_found; ^ include/CameraController.h:54:14: warning: ‘bool CameraControllerApi::CameraController::_is_busy’ [-Wreorder] bool _is_busy; ^ src/CameraController.cpp:55:1: warning: when initialized here [-Wreorder] CameraController::CameraController() : ^ In file included from src/CameraController.cpp:9:0: include/CameraController.h:57:14: warning: ‘CameraControllerApi::CameraController::_is_initialized’ will be initialized after [-Wreorder] bool _is_initialized; ^ include/CameraController.h:55:14: warning: ‘bool CameraControllerApi::CameraController::_liveview_running’ [-Wreorder] bool _liveview_running; ^ src/CameraController.cpp:55:1: warning: when initialized here [-Wreorder] CameraController::CameraController() : ^ In file included from src/CameraController.cpp:9:0: include/CameraController.h:55:14: warning: ‘CameraControllerApi::CameraController::_liveview_running’ will be initialized after [-Wreorder] bool _liveview_running; ^ include/CameraController.h:52:17: warning: ‘Camera* CameraControllerApi::CameraController::_camera’ [-Wreorder] Camera *_camera; ^ src/CameraController.cpp:55:1: warning: when initialized here [-Wreorder] CameraController::CameraController() : ^ src/CameraController.cpp: In member function ‘int CameraControllerApi::CameraController::_wait_and_handle_event(useconds_t, CameraEventType*, int)’: src/CameraController.cpp:526:18: warning: variable ‘path’ set but not used [-Wunused-but-set-variable] CameraFilePath *path; ^ src/CameraController.cpp: In member function ‘void CameraControllerApi::CameraController::_set_capturetarget(int)’: src/CameraController.cpp:568:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if(ret && index < choices.size()){ ^ g++ -g -c -Wall -I include -std=c++0x -c -o obj/main.o src/main.cpp g++ -g -lboost_system -lgphoto2 -lmicrohttpd -lpthread -lexiv2 -o bin/CameraControllerApi obj/Server.o obj/Api.o obj/Command.o obj/Settings.o obj/Base64.o obj/Helper.o obj/CameraController.o obj/main.o -lboost_system -lgphoto2 -lmicrohttpd -lpthread -lexiv2
The text was updated successfully, but these errors were encountered: