{"action":"created","issue":{"url":"https://api.github.com/repos/khaledhosny/ots/issues/73","labels_url":"https://api.github.com/repos/khaledhosny/ots/issues/73/labels{/name}","comments_url":"https://api.github.com/repos/khaledhosny/ots/issues/73/comments","events_url":"https://api.github.com/repos/khaledhosny/ots/issues/73/events","html_url":"https://github.com/khaledhosny/ots/issues/73","id":99037546,"number":73,"title":"[build] ots/test/cff_type2_charstring_test.cc:7:10: fatal error: 'gtest/gtest.h' file not found #include <gtest/gtest.h>","user":{"login":"twardoch","id":519108,"avatar_url":"https://avatars.githubusercontent.com/u/519108?v=3","gravatar_id":"","url":"https://api.github.com/users/twardoch","html_url":"https://github.com/twardoch","followers_url":"https://api.github.com/users/twardoch/followers","following_url":"https://api.github.com/users/twardoch/following{/other_user}","gists_url":"https://api.github.com/users/twardoch/gists{/gist_id}","starred_url":"https://api.github.com/users/twardoch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/twardoch/subscriptions","organizations_url":"https://api.github.com/users/twardoch/orgs","repos_url":"https://api.github.com/users/twardoch/repos","events_url":"https://api.github.com/users/twardoch/events{/privacy}","received_events_url":"https://api.github.com/users/twardoch/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-08-04T18:58:28Z","updated_at":"2015-08-05T00:50:21Z","closed_at":null,"body":"I'm on OS X 10.10.4, and I'm trying to build several different versions of ots using the \"chrome\" tags in order to track a specific problem where a certain font would fail sanitization with older versions of ots but pass it in newer versions. And I'm having a problem building ots version chrome-42. Here's what I do -- can you help? \r\n\r\n```\r\n$ git clone --recursive --branch chrome-42 https://github.com/khaledhosny/ots.git\r\n$ cd ots\r\n$ ./gyp_ots\r\n$ xcodebuild\r\n\r\nCompileC build/ots-standalone.build/Default/cff_type2_charstring_test.build/Objects-normal/x86_64/cff_type2_charstring_test.o test/cff_type2_charstring_test.cc normal x86_64 c++ com.apple.compilers.llvm.clang.1_0.compiler\r\n    cd /Users/adam/Developer/vcs/github/khaledhosny/ots-chrome-42/ots\r\n    export LANG=en_US.US-ASCII\r\n    /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x c++ -arch x86_64 -fmessage-length=171 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit=0 -fcolor-diagnostics -Wno-trigraphs -fpascal-strings -Os -Wno-missing-field-initializers -Wno-missing-prototypes -Wno-return-type -Wno-non-virtual-dtor -Wno-overloaded-virtual -Wno-exit-time-destructors -Wno-missing-braces -Wparentheses -Wswitch -Wno-unused-function -Wno-unused-label -Wno-unused-parameter -Wno-unused-variable -Wunused-value -Wno-empty-body -Wno-uninitialized -Wno-unknown-pragmas -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wno-constant-conversion -Wno-int-conversion -Wno-bool-conversion -Wno-enum-conversion -Wno-shorten-64-to-32 -Wno-newline-eof -Wno-c++11-extensions -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk -fasm-blocks -fstrict-aliasing -Wdeprecated-declarations -Winvalid-offsetof -mmacosx-version-min=10.10 -g -fvisibility=hidden -fvisibility-inlines-hidden -Wno-sign-conversion -I/Users/adam/Developer/vcs/github/khaledhosny/ots-chrome-42/ots/build/ots-standalone.build/Default/cff_type2_charstring_test.build/cff_type2_charstring_test.hmap -I/Users/adam/Developer/vcs/github/khaledhosny/ots-chrome-42/ots/build/Default/include -I. -Ithird_party/brotli/dec -Isrc -Iinclude -I/Users/adam/Developer/vcs/github/khaledhosny/ots-chrome-42/ots/build/ots-standalone.build/Default/cff_type2_charstring_test.build/DerivedSources/x86_64 -I/Users/adam/Developer/vcs/github/khaledhosny/ots-chrome-42/ots/build/ots-standalone.build/Default/cff_type2_charstring_test.build/DerivedSources -F/Users/adam/Developer/vcs/github/khaledhosny/ots-chrome-42/ots/build/Default -ggdb -W -Wall -Wshadow -Wno-unused-parameter -fPIE -fstack-protector -MMD -MT dependencies -MF /Users/adam/Developer/vcs/github/khaledhosny/ots-chrome-42/ots/build/ots-standalone.build/Default/cff_type2_charstring_test.build/Objects-normal/x86_64/cff_type2_charstring_test.d --serialize-diagnostics /Users/adam/Developer/vcs/github/khaledhosny/ots-chrome-42/ots/build/ots-standalone.build/Default/cff_type2_charstring_test.build/Objects-normal/x86_64/cff_type2_charstring_test.dia -c /Users/adam/Developer/vcs/github/khaledhosny/ots-chrome-42/ots/test/cff_type2_charstring_test.cc -o /Users/adam/Developer/vcs/github/khaledhosny/ots-chrome-42/ots/build/ots-standalone.build/Default/cff_type2_charstring_test.build/Objects-normal/x86_64/cff_type2_charstring_test.o\r\n/Users/adam/Developer/vcs/github/khaledhosny/ots-chrome-42/ots/test/cff_type2_charstring_test.cc:7:10: fatal error: 'gtest/gtest.h' file not found\r\n#include <gtest/gtest.h>\r\n         ^\r\n1 error generated.\r\n\r\n** BUILD FAILED **\r\n\r\n\r\nThe following build commands failed:\r\n\tCompileC build/ots-standalone.build/Default/cff_type2_charstring_test.build/Objects-normal/x86_64/cff_type2_charstring_test.o test/cff_type2_charstring_test.cc normal x86_64 c++ com.apple.compilers.llvm.clang.1_0.compiler\r\n```"},"comment":{"url":"https://api.github.com/repos/khaledhosny/ots/issues/comments/127805993","html_url":"https://github.com/khaledhosny/ots/issues/73#issuecomment-127805993","issue_url":"https://api.github.com/repos/khaledhosny/ots/issues/73","id":127805993,"user":{"login":"twardoch","id":519108,"avatar_url":"https://avatars.githubusercontent.com/u/519108?v=3","gravatar_id":"","url":"https://api.github.com/users/twardoch","html_url":"https://github.com/twardoch","followers_url":"https://api.github.com/users/twardoch/followers","following_url":"https://api.github.com/users/twardoch/following{/other_user}","gists_url":"https://api.github.com/users/twardoch/gists{/gist_id}","starred_url":"https://api.github.com/users/twardoch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/twardoch/subscriptions","organizations_url":"https://api.github.com/users/twardoch/orgs","repos_url":"https://api.github.com/users/twardoch/repos","events_url":"https://api.github.com/users/twardoch/events{/privacy}","received_events_url":"https://api.github.com/users/twardoch/received_events","type":"User","site_admin":false},"created_at":"2015-08-05T00:50:21Z","updated_at":"2015-08-05T00:50:21Z","body":"Thanks. I got enough different versions to build that I could track down the problem. And yes, thanks for switching to autotools, it's much more sensible. "}}