Product: PDFNetRuby MAc M1 PDF sdk library integration
Product Version: PDFNetWrappers Ruby
Please give a brief summary of your issue: make install failing
(Think of this as an email subject)
Please describe your issue and provide steps to reproduce it:
I have problem to install PDFNetRuby in macOS
Using:
Ruby 2.7.3
operating system: macOS M1 13.1 (22C65)
Message:
[krshnavi@krshnavis-MacBook-Air Build (master=)]$ make
[ 50%] Building CXX object PDFNetRuby/CMakeFiles/PDFNetRuby.dir/PDFNetRuby.cpp.o
clang: warning: no such sysroot directory: ‘/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk’ [-Wmissing-sysroot]
In file included from /Users/krshnavi/Downloads/wrappers_build/PDFNetWrappers/Build/PDFNetRuby/PDFNetRuby.cpp:446:
/Library/Developer/CommandLineTools/usr/bin/…/include/c++/v1/string.h:60:15: fatal error: ‘string.h’ file not found
#include_next <string.h>
^~~~~~~~~~
1 error generated.
make[2]: *** [PDFNetRuby/CMakeFiles/PDFNetRuby.dir/PDFNetRuby.cpp.o] Error 1
make[1]: *** [PDFNetRuby/CMakeFiles/PDFNetRuby.dir/all] Error 2
make: *** [all] Error 2
Please provide a link to a minimal sample where the issue is reproducible: