-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Description
I am having issues making in my environment. I have built and installed libusbx and yet when i use make to build libEasyPTP i get the following:
g++ -fPIC -Wall -I./include/ -lusb-1.0 -c -o lib/PTPUSB.o lib/PTPUSB.cpp
lib/PTPUSB.cpp: In constructor ‘EasyPTP::PTPUSB::PTPUSB()’:
lib/PTPUSB.cpp:31:20: error: type ‘EasyPTP::PTPUSB’ is not a direct base of ‘EasyPTP::PTPUSB’
lib/PTPUSB.cpp: In static member function ‘static libusb_device* EasyPTP::PTPUSB::find_first_camera()’:
lib/PTPUSB.cpp:85:9: warning: unused variable ‘err’ [-Wunused-variable]
lib/PTPUSB.cpp: In member function ‘bool EasyPTP::PTPUSB::open(libusb_device*)’:
lib/PTPUSB.cpp:173:70: warning: suggest parentheses around comparison in operand of ‘&’ [-Wparentheses]
make: *** [lib/PTPUSB.o] Error 1
I am unsure how to properly remedy this error but for now simply commenting out said line (31 in PTPUSB.cpp) has allowed me to still build the library.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels