Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problems during installation #10

Open
lumizy opened this issue Nov 29, 2016 · 0 comments
Open

Problems during installation #10

lumizy opened this issue Nov 29, 2016 · 0 comments

Comments

@lumizy
Copy link

lumizy commented Nov 29, 2016

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant