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
Do you know if there is a specific way to install / compile it on MacOS ? I have some troubles (functions missing).
I have installed the libgphoto2 with brew, I found the headers in usr/local/include/gphoto2 and the dylib in usr/local/bin
I modified the .pro : LIBS += -L/usr/local/lib -lgphoto2 INCLUDEPATH += /usr/local/include
And here is the error : Undefined symbols for architecture x86_64: "_gp_port_info_list_count", referenced from: GPhotoWorker::init() in gphotoworker.o "_gp_port_info_list_free", referenced from: GPhotoWorker::GPhotoWorker() in gphotoworker.o "_gp_port_info_list_get_info", referenced from: GPhotoWorker::getPortInfo(int, bool*) in gphotoworker.o "_gp_port_info_list_load", referenced from: GPhotoWorker::init() in gphotoworker.o "_gp_port_info_list_lookup_path", referenced from: GPhotoWorker::getPortInfo(int, bool*) in gphotoworker.o "_gp_port_info_list_new", referenced from: GPhotoWorker::GPhotoWorker() in gphotoworker.o "_gp_port_info_new", referenced from: GPhotoWorker::getPortInfo(int, bool*) in gphotoworker.o ld: symbol(s) not found for architecture x86_64 clang: error: linker command failed with exit code 1 (use -v to see invocation) make: *** [libgphoto.dylib] Error 1
I will continue to search if I find a solution...
Thanks
The text was updated successfully, but these errors were encountered:
We just found the solution by comparing with a friend ; I had to modify the .pro with LIBS += -L/usr/local/lib -lbgphoto2 -lbgphoto2_port to have no error on Catalina.
Specifically, I also have to add INCLUDEPATH += /usr/local/include but it is another problem.
So here is the .pro to compile it on MacOS (Cataline and Mojave tested) after running "brew install gphoto2"
[gphoto.pro.zip](https://github.com/dept2/qtmultimedia-gphoto/files/5766973/gphoto.pro.zip)
Le 3 janv. 2021 à 20:10, Christian Bauer ***@***.***> a écrit :
Did you install the devlib too?
sudo apt-get install git gphoto2 libgphoto2-dev
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or unsubscribe.
Hello,
Do you know if there is a specific way to install / compile it on MacOS ? I have some troubles (functions missing).
I have installed the libgphoto2 with brew, I found the headers in usr/local/include/gphoto2 and the dylib in usr/local/bin
I modified the .pro :
LIBS += -L/usr/local/lib -lgphoto2 INCLUDEPATH += /usr/local/include
And here is the error :
Undefined symbols for architecture x86_64: "_gp_port_info_list_count", referenced from: GPhotoWorker::init() in gphotoworker.o "_gp_port_info_list_free", referenced from: GPhotoWorker::GPhotoWorker() in gphotoworker.o "_gp_port_info_list_get_info", referenced from: GPhotoWorker::getPortInfo(int, bool*) in gphotoworker.o "_gp_port_info_list_load", referenced from: GPhotoWorker::init() in gphotoworker.o "_gp_port_info_list_lookup_path", referenced from: GPhotoWorker::getPortInfo(int, bool*) in gphotoworker.o "_gp_port_info_list_new", referenced from: GPhotoWorker::GPhotoWorker() in gphotoworker.o "_gp_port_info_new", referenced from: GPhotoWorker::getPortInfo(int, bool*) in gphotoworker.o ld: symbol(s) not found for architecture x86_64 clang: error: linker command failed with exit code 1 (use -v to see invocation) make: *** [libgphoto.dylib] Error 1
I will continue to search if I find a solution...
Thanks
The text was updated successfully, but these errors were encountered: