ofxDlib
                                
                                 ofxDlib copied to clipboard
                                
                                    ofxDlib copied to clipboard
                            
                            
                            
                        dlib::image_load_error: Error, unable to allocate png structure while opening file
I'm on macOS 10.12.6 with Xcode 9.2 and OF 0.10.1 (stable) and the ofxDlib develop branch.
running in to this problem when trying to run face regoncitnion example:
libc++abi.dylib: terminating with uncaught exception of type dlib::image_load_error: Error, unable to allocate png structure while opening file /Applications/of_v0.10.1_osx_release/addons/ofxDlib/example_dlib_dnn_face_recognition/bin/data/bald_guys.png This is happening because you compiled against one version of libpng, but then linked to another. Compiled against libpng version: 1.4.12 Linking to this version of libpng: 1.6.16
https://forum.openframeworks.cc/t/dlib-face-recognition-detect-faces-from-multiple-images/26640/6?u=bakercp
Thanks again. You old post in the torch thread helped https://github.com/torch/image/issues/137#issuecomment-169689762
Move the /Library/Frameworks/Mono.framework folder to a temporary folder
And after I ran the bootstrap.h again.
Now app runs just fine. :)