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

GPhoto2 : File Missings #12

Open
kopierreko opened this issue Jan 3, 2021 · 2 comments
Open

GPhoto2 : File Missings #12

kopierreko opened this issue Jan 3, 2021 · 2 comments

Comments

@kopierreko
Copy link

kopierreko commented Jan 3, 2021

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

@kopierreko
Copy link
Author

kopierreko commented Jan 3, 2021 via email

@cyberbobs
Copy link
Member

Well, it's pretty amazing it works since I haven't tested this plugin on macOS at all :) Will try to look into this when I can get my hands on Mac.

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

2 participants