Coder Social home page Coder Social logo

scheckmedia / cameracontrollerapi Goto Github PK

View Code? Open in Web Editor NEW
112.0 31.0 24.0 1.48 MB

The CameraControlerApi is an attempt to control a DSLR via REST functionality.

C++ 60.24% Objective-C 3.61% C 2.53% JavaScript 20.27% CSS 6.51% HTML 6.23% Makefile 0.61%
dslr-camera dslr camera gphoto2 raspberrypi linux photography

cameracontrollerapi's People

Contributors

hjanuschka avatar scheckmedia avatar tpxtron avatar yanniks avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

cameracontrollerapi's Issues

Make Error

Hi,
I've downloaded your Api on my raspberry pi with 'git clone https://github.com/scheckmedia/CameraControllerApi.git'
Then i'd downloaded the dependencies with 'apt-get install libboost-dev libboost-system-dev libmicrohttpd-dev libgphoto2-dev libexif-dev' but libgphoto2-dev coulnd't be found, otherwise in your readme.md there is a mistake, you'd wrote libghoto2-dev
So i'd done an 'apt-cache search libgphoto2' and i'd founded libgphoto2-2-dev, so i've installed it.
Then i'd try to do a make and i've some warning :
'g++ -g -c -Wall -std=c++0x main.cpp -o main.o
g++ -g -c -Wall -std=c++0x Api.cpp -o Api.o
Api.cpp: In member function ‘bool CameraControllerApi::Api::get_settings_by_key(std::string, CameraControllerApi::CCA_API_OUTPUT_TYPE, std::string&)’:
Api.cpp:70:41: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
g++ -g -c -Wall -std=c++0x Base64.cpp -o Base64.o
g++ -g -c -Wall -std=c++0x CameraController.cpp -o CameraController.o
CameraController.cpp: In member function ‘int CameraControllerApi::CameraController::_wait_and_handle_event(useconds_t, CameraEventType*, int)’:
CameraController.cpp:528:18: warning: variable ‘path’ set but not used [-Wunused-but-set-variable]
CameraController.cpp: In member function ‘void CameraControllerApi::CameraController::_set_capturetarget(int)’:
CameraController.cpp:570:36: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
g++ -g -c -Wall -std=c++0x Command.cpp -o Command.o
g++ -g -c -Wall -std=c++0x Helper.cpp -o Helper.o
g++ -g -c -Wall -std=c++0x Server.cpp -o Server.o
g++ -g -c -Wall -std=c++0x Settings.cpp -o Settings.o
g++ -g -lboost_system -lgphoto2 -lmicrohttpd -lexif -lpthread main.o Api.o Base64.o CameraController.o Command.o Helper.o Server.o Settings.o -o CameraControllerApi'

liveview problem

hello

i want to display the liveview mpjpeg.
and do a capture.

but once a browser has liveview open - and streams (this works)
you cannot capture.

/capture?action=shot returns.

{
    "cca_response": {
        "state": "fail",
        "message": "Not enough url parameter"
    }
}

@scheckmedia

any idea where i can start looking into it?

regards

LiveView

Hello,

first thanks for the brilliant application. Everything works fine for me....
But i have one issue:
The LiveView ist working properly for me but it is always on, is there a solution that i can turn of the liveview?

Thanks!

Ubuntu 14.04 LTS make error

Hi,

when running make I get this output:
g++ -g -lboost_system -lgphoto2 -lmicrohttpd -lpthread -lexiv2 -o bin/CameraControllerApi obj/Api.o obj/Base64.o obj/CameraController.o obj/Command.o obj/Helper.o obj/main.o obj/Server.o obj/Settings.o obj/CameraController.o: In functionCameraControllerApi::CameraController::release()':
/CameraControllerApi-master/src/CameraController.cpp:46: undefined reference to gp_camera_exit' obj/CameraController.o: In functionCameraControllerApi::CameraController::init_camera()':
/CameraControllerApi-master/src/CameraController.cpp:85: undefined reference to gp_camera_new' /CameraControllerApi-master/src/CameraController.cpp:86: undefined reference togp_context_new'
/CameraControllerApi-master/src/CameraController.cpp:87: undefined reference to gp_context_set_error_func' /CameraControllerApi-master/src/CameraController.cpp:88: undefined reference togp_context_set_message_func'
/CameraControllerApi-master/src/CameraController.cpp:90: undefined reference to gp_camera_init' /CameraControllerApi-master/src/CameraController.cpp:92: undefined reference togp_camera_free'
obj/CameraController.o: In function CameraControllerApi::CameraController::~CameraController()': /CameraControllerApi-master/src/CameraController.cpp:100: undefined reference togp_camera_exit'
/CameraControllerApi-master/src/CameraController.cpp:101: undefined reference to gp_context_unref' obj/CameraController.o: In functionCameraControllerApi::CameraController::capture(char const
, std::string&)':
/CameraControllerApi-master/src/CameraController.cpp:130: undefined reference to gp_camera_capture' /CameraControllerApi-master/src/CameraController.cpp:136: undefined reference togp_file_new'
/CameraControllerApi-master/src/CameraController.cpp:139: undefined reference to gp_file_new_from_fd' /CameraControllerApi-master/src/CameraController.cpp:147: undefined reference togp_camera_file_get'
/CameraControllerApi-master/src/CameraController.cpp:157: undefined reference to gp_camera_file_delete' /CameraControllerApi-master/src/CameraController.cpp:172: undefined reference togp_camera_wait_for_event'
/CameraControllerApi-master/src/CameraController.cpp:185: undefined reference to gp_file_free' obj/CameraController.o: In functionCameraControllerApi::CameraController::preview(char const__)':
/CameraControllerApi-master/src/CameraController.cpp:198: undefined reference to gp_file_new' /CameraControllerApi-master/src/CameraController.cpp:204: undefined reference togp_camera_capture_preview'
/CameraControllerApi-master/src/CameraController.cpp:213: undefined reference to gp_file_get_data_and_size' /CameraControllerApi-master/src/CameraController.cpp:222: undefined reference togp_file_unref'
obj/CameraController.o: In function CameraControllerApi::CameraController::get_file(char const_, char const_, std::string&)': /CameraControllerApi-master/src/CameraController.cpp:270: undefined reference to gp_file_new'
/CameraControllerApi-master/src/CameraController.cpp:276: undefined reference togp_camera_file_get' obj/CameraController.o: In function CameraControllerApi::CameraController::get_files(boost::property_tree::basic_ptree<std::string, std::string, std::lessstd::string >&, char const)':
/CameraControllerApi-master/src/CameraController.cpp:301: undefined reference to gp_list_new' /CameraControllerApi-master/src/CameraController.cpp:305: undefined reference togp_camera_folder_list_folders'
/CameraControllerApi-master/src/CameraController.cpp:309: undefined reference to gp_list_count' /CameraControllerApi-master/src/CameraController.cpp:313: undefined reference togp_list_get_name'
/CameraControllerApi-master/src/CameraController.cpp:324: undefined reference to gp_list_new' /CameraControllerApi-master/src/CameraController.cpp:328: undefined reference togp_camera_folder_list_files'
/CameraControllerApi-master/src/CameraController.cpp:332: undefined reference to gp_list_count' /CameraControllerApi-master/src/CameraController.cpp:342: undefined reference togp_list_get_name'
/CameraControllerApi-master/src/CameraController.cpp:358: undefined reference to gp_file_new' /CameraControllerApi-master/src/CameraController.cpp:363: undefined reference togp_camera_file_get'
/CameraControllerApi-master/src/CameraController.cpp:368: undefined reference to gp_file_get_data_and_size' /CameraControllerApi-master/src/CameraController.cpp:380: undefined reference togp_file_free'
/CameraControllerApi-master/src/CameraController.cpp:389: undefined reference to gp_list_free' /CameraControllerApi-master/src/CameraController.cpp:392: undefined reference togp_list_free'
obj/CameraController.o: In function CameraControllerApi::CameraController::get_settings(boost::property_tree::basic_ptree<std::string, std::string, std::less<std::string> >&)': /CameraControllerApi-master/src/CameraController.cpp:402: undefined reference togp_camera_get_config'
/CameraControllerApi-master/src/CameraController.cpp:408: undefined reference to gp_widget_get_child_by_name' obj/CameraController.o: In functionCameraControllerApi::CameraController::get_settings_choices(char const_, std::vector<std::string, std::allocatorstd::string >&)':
/CameraControllerApi-master/src/CameraController.cpp:424: undefined reference to gp_camera_get_config' /CameraControllerApi-master/src/CameraController.cpp:430: undefined reference togp_widget_get_child_by_name'
/CameraControllerApi-master/src/CameraController.cpp:436: undefined reference to gp_widget_count_choices' /CameraControllerApi-master/src/CameraController.cpp:439: undefined reference togp_widget_get_choice'
obj/CameraController.o: In function CameraControllerApi::CameraController::get_settings_value(char const_, std::string&)': /CameraControllerApi-master/src/CameraController.cpp:457: undefined reference to gp_camera_get_config'
/CameraControllerApi-master/src/CameraController.cpp:463: undefined reference togp_widget_get_child_by_name' /CameraControllerApi-master/src/CameraController.cpp:470: undefined reference to gp_widget_get_value'
obj/CameraController.o: In functionCameraControllerApi::CameraController::set_settings_value(char const_, char const_)': /CameraControllerApi-master/src/CameraController.cpp:486: undefined reference to gp_camera_get_config'
/CameraControllerApi-master/src/CameraController.cpp:492: undefined reference togp_widget_get_child_by_name' /CameraControllerApi-master/src/CameraController.cpp:498: undefined reference to gp_widget_set_value'
/CameraControllerApi-master/src/CameraController.cpp:505: undefined reference togp_camera_set_config' /CameraControllerApi-master/src/CameraController.cpp:510: undefined reference to gp_widget_free'
obj/CameraController.o: In functionCameraControllerApi::CameraController::_wait_and_handle_event(unsigned int, CameraEventType_, int)': /CameraControllerApi-master/src/CameraController.cpp:530: undefined reference to gp_camera_wait_for_event'
obj/CameraController.o: In functionCameraControllerApi::CameraController::_read_widget(_CameraWidget_, boost::property_tree::basic_ptree<std::string, std::string, std::less<std::string> >&, std::string)': /CameraControllerApi-master/src/CameraController.cpp:578: undefined reference to gp_widget_get_name'
/CameraControllerApi-master/src/CameraController.cpp:581: undefined reference togp_widget_count_children' /CameraControllerApi-master/src/CameraController.cpp:585: undefined reference to gp_widget_get_child'
obj/CameraController.o: In functionCameraControllerApi::CameraController::_get_item_value(_CameraWidget_, boost::property_tree::basic_ptree<std::string, std::string, std::less<std::string> >&)': /CameraControllerApi-master/src/CameraController.cpp:603: undefined reference to gp_widget_get_id'
/CameraControllerApi-master/src/CameraController.cpp:604: undefined reference togp_widget_get_label' /CameraControllerApi-master/src/CameraController.cpp:605: undefined reference to gp_widget_get_name'
/CameraControllerApi-master/src/CameraController.cpp:606: undefined reference togp_widget_get_value' /CameraControllerApi-master/src/CameraController.cpp:607: undefined reference to gp_widget_get_type'
/CameraControllerApi-master/src/CameraController.cpp:612: undefined reference togp_widget_count_choices' /CameraControllerApi-master/src/CameraController.cpp:617: undefined reference to gp_widget_get_choice'
obj/CameraController.o: In functionCameraControllerApi::CameraController::_file_to_base64(_CameraFile_, std::string&)': /CameraControllerApi-master/src/CameraController.cpp:660: undefined reference to gp_file_get_data_and_size'
/CameraControllerApi-master/src/CameraController.cpp:665: undefined reference togp_file_get_mime_type' obj/CameraController.o: In function static_initialization_and_destruction_0':
/usr/include/boost/system/error_code.hpp:222: undefined reference toboost::system::generic_category()' /usr/include/boost/system/error_code.hpp:223: undefined reference to boost::system::generic_category()'
/usr/include/boost/system/error_code.hpp:224: undefined reference toboost::system::system_category()' obj/CameraController.o: In function boost::asio::error::get_system_category()':
/usr/include/boost/asio/error.hpp:216: undefined reference toboost::system::system_category()' obj/Helper.o: In function CameraControllerApi::Helper::get_thumbnail_from_exif(char const*, unsigned long, std::string&, CameraControllerApi::Helper::ImageType)':
/CameraControllerApi-master/src/Helper.cpp:23: undefined reference toExiv2::ImageFactory::open(unsigned char const_, long)' /CameraControllerApi-master/src/Helper.cpp:33: undefined reference to Exiv2::PreviewManager::PreviewManager(Exiv2::Image const&)'
/CameraControllerApi-master/src/Helper.cpp:34: undefined reference toExiv2::PreviewManager::getPreviewProperties() const' /CameraControllerApi-master/src/Helper.cpp:49: undefined reference to Exiv2::PreviewManager::getPreviewImage(Exiv2::PreviewProperties const&) const'
/CameraControllerApi-master/src/Helper.cpp:50: undefined reference toExiv2::PreviewImage::size() const' /CameraControllerApi-master/src/Helper.cpp:55: undefined reference to Exiv2::PreviewImage::copy() const'
/CameraControllerApi-master/src/Helper.cpp:60: undefined reference toExiv2::DataBuf::release()' /CameraControllerApi-master/src/Helper.cpp:49: undefined reference to Exiv2::PreviewImage::~PreviewImage()'
/CameraControllerApi-master/src/Helper.cpp:49: undefined reference toExiv2::PreviewImage::~PreviewImage()' obj/Helper.o: In function Exiv2::DataBuf::operator Exiv2::DataBufRef()':
/usr/include/exiv2/types.hpp:246: undefined reference toExiv2::DataBuf::release()' obj/Helper.o:(.rodata._ZTIN5Exiv210BasicErrorIcEE[_ZTIN5Exiv210BasicErrorIcEE]+0x10): undefined reference to typeinfo for Exiv2::AnyError'
obj/main.o: In function__static_initialization_and_destruction_0': /usr/include/boost/system/error_code.hpp:222: undefined reference to boost::system::generic_category()'
/usr/include/boost/system/error_code.hpp:223: undefined reference toboost::system::generic_category()' /usr/include/boost/system/error_code.hpp:224: undefined reference to boost::system::system_category()'
obj/Server.o: In functionCameraControllerApi::Server::run(int)': /CameraControllerApi-master/src/Server.cpp:64: undefined reference to pthread_create'
/CameraControllerApi-master/src/Server.cpp:68: undefined reference topthread_join' obj/Server.o: In function CameraControllerApi::Server::send_bad_response(MHD_Connection
)':
/CameraControllerApi-master/src/Server.cpp:98: undefined reference to MHD_create_response_from_buffer' /CameraControllerApi-master/src/Server.cpp:102: undefined reference toMHD_queue_response'
/CameraControllerApi-master/src/Server.cpp:103: undefined reference to MHD_destroy_response' obj/Server.o: In functionCameraControllerApi::Server::send_auth_fail(MHD_Connection
)':
/CameraControllerApi-master/src/Server.cpp:115: undefined reference to MHD_create_response_from_buffer' /CameraControllerApi-master/src/Server.cpp:119: undefined reference toMHD_queue_basic_auth_fail_response'
/CameraControllerApi-master/src/Server.cpp:120: undefined reference to MHD_destroy_response' obj/Server.o: In functionCameraControllerApi::Server::url_handler(void_, MHD_Connection_, char const_, char const_, char const_, char const_, unsigned long_, void**)':
/CameraControllerApi-master/src/Server.cpp:175: undefined reference to MHD_basic_auth_get_username_password' /CameraControllerApi-master/src/Server.cpp:182: undefined reference toMHD_get_connection_values'
/CameraControllerApi-master/src/Server.cpp:191: undefined reference to MHD_create_response_from_callback' /CameraControllerApi-master/src/Server.cpp:192: undefined reference toMHD_add_response_header'
/CameraControllerApi-master/src/Server.cpp:198: undefined reference to MHD_queue_response' /CameraControllerApi-master/src/Server.cpp:199: undefined reference toMHD_destroy_response'
obj/Server.o: In function CameraControllerApi::Server::handle_webif(void*, MHD_Connection*, char const*)': /CameraControllerApi-master/src/Server.cpp:238: undefined reference toMHD_create_response_from_fd'
/CameraControllerApi-master/src/Server.cpp:239: undefined reference to MHD_add_response_header' obj/Server.o: In functionCameraControllerApi::Server::handle_api(void_, char const_, std::map<std::string, std::string, std::lessstd::string, std::allocator<std::pair<std::string const, std::string> > >, std::string, void**)':
/CameraControllerApi-master/src/Server.cpp:296: undefined reference to MHD_create_response_from_buffer' /CameraControllerApi-master/src/Server.cpp:309: undefined reference toMHD_add_response_header'
/CameraControllerApi-master/src/Server.cpp:312: undefined reference to MHD_add_response_header' /CameraControllerApi-master/src/Server.cpp:316: undefined reference toMHD_add_response_header'
obj/Server.o: In function CameraControllerApi::Server::http()': /CameraControllerApi-master/src/Server.cpp:323: undefined reference toMHD_start_daemon'
/CameraControllerApi-master/src/Server.cpp:333: undefined reference to MHD_stop_daemon' collect2: error: ld returned 1 exit status make: *** [bin/CameraControllerApi] Error 1

Got any ideas how to resolve this? I've installed all dependencies according to the readme and am a bit helpless now... :-(

undefined reference to symbol 'pthread_getspecific@@GLIBC_2.4'

Hello,
when running "make" I get the error below:
g++ -g -c -Wall -std=c++0x main.cpp -o main.o
g++ -g -c -Wall -std=c++0x Api.cpp -o Api.o
Api.cpp: In member function ‘bool CameraControllerApi::Api::get_settings_by_key(std::string, CameraControllerApi::CCA_API_OUTPUT_TYPE, std::string&)’:
Api.cpp:70:41: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
g++ -g -c -Wall -std=c++0x Base64.cpp -o Base64.o
g++ -g -c -Wall -std=c++0x CameraController.cpp -o CameraController.o
CameraController.cpp: In member function ‘int CameraControllerApi::CameraController::wait_and_handle_event(useconds_t, CameraEventType, int)’:
CameraController.cpp:528:18: warning: variable ‘path’ set but not used [-Wunused-but-set-variable]
CameraController.cpp: In member function ‘void CameraControllerApi::CameraController::set_capturetarget(int)’:
CameraController.cpp:570:36: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
g++ -g -c -Wall -std=c++0x Command.cpp -o Command.o
g++ -g -c -Wall -std=c++0x Helper.cpp -o Helper.o
g++ -g -c -Wall -std=c++0x Server.cpp -o Server.o
g++ -g -c -Wall -std=c++0x Settings.cpp -o Settings.o
g++ -g -lboost_system -lgphoto2 -lmicrohttpd -lexif main.o Api.o Base64.o CameraController.o Command.o Helper.o Server.o Settings.o -o CameraControllerApi
/usr/bin/ld: CameraController.o: undefined reference to symbol 'pthread_getspecific@@GLIBC_2.4'
//lib/arm-linux-gnueabihf/libpthread.so.0: error adding symbols: DSO missing from command line
collect2: ld returned 1 exit status
Makefile:11: recipe for target 'CameraControllerApi' failed
make: *
* [CameraControllerApi] Error 1

Leak memory

Hello, I have many problems of leak memory. After about 60 picture my ram is full.

Makefile incompatibility

I just realized that g++ linker options must be specified AFTER object files in my environment (Ubuntu 15.10) otherwise link errors will happen.

For compatibility, it might be better to swap $(OBJECTS) and $(LDFLAGS).

Problems during installation

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.