Skip to content

Instantly share code, notes, and snippets.

@walling
Created December 10, 2013 12:43
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save walling/7890022 to your computer and use it in GitHub Desktop.
Save walling/7890022 to your computer and use it in GitHub Desktop.
Reduced test case for segmentation fault for libvips VImage() constructor on Mac OS X
#include <vips/vips>
int main(int argc, char** argv) {
vips::VImage image;
return 0;
}
main: main.cc
$(CXX) $< `PKG_CONFIG_PATH=/usr/local/opt/libxml2/lib/pkgconfig pkg-config --cflags --libs vipsCC` -o $@
@walling
Copy link
Author

walling commented Dec 10, 2013

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment