Skip to content

Instantly share code, notes, and snippets.

@akshitj1
Created November 11, 2019 10:24
Show Gist options
  • Select an option

  • Save akshitj1/df46493037bf36b0da98b177881205d4 to your computer and use it in GitHub Desktop.

Select an option

Save akshitj1/df46493037bf36b0da98b177881205d4 to your computer and use it in GitHub Desktop.
drake include error
ERROR: /Volumes/external/repos/drake/bar/BUILD.bazel:1:1: C++ compilation of rule '//bar:bar' failed (Exit 1) wrapped_clang failed: error executing command
(cd /Volumes/external/.cache/bazel/3abb13651c12473ffdebbe1237e5a120/sandbox/darwin-sandbox/10/execroot/drake && \
exec env - \
APPLE_SDK_PLATFORM=MacOSX \
APPLE_SDK_VERSION_OVERRIDE=10.15 \
CCACHE_DISABLE=1 \
DRAKE_PYTHON_BIN_PATH=/usr/local/bin/python3 \
PATH=/usr/local/bin:/usr/bin:/bin \
XCODE_VERSION_OVERRIDE=11.2.0.11B52 \
external/local_config_cc/wrapped_clang '-D_FORTIFY_SOURCE=1' -fstack-protector -fcolor-diagnostics -Wall -Wthread-safety -Wself-assign -fno-omit-frame-pointer -g0 -O2 '-D_FORTIFY_SOURCE=1' -DNDEBUG '-std=c++11' -iquote . -iquote bazel-out/darwin-opt/bin -iquote external/tinyxml -iquote bazel-out/darwin-opt/bin/external/tinyxml -iquote external/bazel_tools -iquote bazel-out/darwin-opt/bin/external/bazel_tools -isystem external/tinyxml/include/_usr_local_opt_tinyxml_include -isystem bazel-out/darwin-opt/bin/external/tinyxml/include/_usr_local_opt_tinyxml_include -MD -MF bazel-out/darwin-opt/bin/bar/_objs/bar/bar.pic.d -fPIC '-frandom-seed=bazel-out/darwin-opt/bin/bar/_objs/bar/bar.pic.o' -isysroot __BAZEL_XCODE_SDKROOT__ -F__BAZEL_XCODE_SDKROOT__/System/Library/Frameworks -F__BAZEL_XCODE_DEVELOPER_DIR__/Platforms/MacOSX.platform/Developer/Library/Frameworks '-mmacosx-version-min=10.15' -fno-stack-check '-std=c++17' -no-canonical-prefixes -Wno-builtin-macro-redefined '-D__DATE__="redacted"' '-D__TIMESTAMP__="redacted"' '-D__TIME__="redacted"' -c bar/bar.cc -o bazel-out/darwin-opt/bin/bar/_objs/bar/bar.pic.o)
Execution platform: @local_config_platform//:host
Use --sandbox_debug to see verbose messages from the sandbox
bar/bar.cc:1:9: fatal error: 'tinyxml.h' file not found
#include<tinyxml.h>
^~~~~~~~~~~
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment