c++ - Qt + OpenCV + Mac OS -> Can't fid libpng -
i trying use opencv within qt creator. know both correctly installed can run them independently. however, when launch qt creator nice green arrow, error saying can't find so-called libpng16.16:
dyld: symbol not found: __cg_png_create_info_struct referenced from: /system/library/frameworks/imageio.framework/versions/a/imageio expected in: /usr/local/lib/libpng16.16.dylib in /system/library/frameworks/imageio.framework/versions/a/imageio
i tried reinstall library using hombrew, , add dyld_library_path and/or dyld_fallback_library_path recommended here: import matplotlib.pyplot gives importerror: dlopen(...) library not loaded libpng15.15.dylib obviously, asking here, didn't work me...
i must admit kind of desperate, can me ?
you not provide detailed information on how installed opencv , version of frameworks using.
have tried adding
libs += -l/usr/local/lib
to project file?
Comments
Post a Comment