Coder Social home page Coder Social logo

bazel-python-cpp-example's People

Contributors

psigen avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

bazel-python-cpp-example's Issues

how to build?

I am new to bazel and when I use "bazel build ... ",The following error occurs:

Starting local Bazel server and connecting to it...
INFO: Analyzed 4 targets (43 packages loaded, 419 targets configured).
INFO: Found 4 targets...
ERROR: /root/bazel-python-cpp-example/binding/BUILD.bazel:2:10: Compiling binding/binding.cpp failed: (Exit 1): gcc failed: error executing command (from target //binding:binding.so) /usr/bin/gcc -U_FORTIFY_SOURCE -fstack-protector -Wall -Wunused-but-set-parameter -Wno-free-nonheap-object -fno-omit-frame-pointer '-std=c++0x' -MD -MF ... (remaining 26 arguments skipped)

Use --sandbox_debug to see verbose messages from the sandbox and retain the sandbox build root for debugging
In file included from external/pybind11/include/pybind11/pytypes.h:12,
from external/pybind11/include/pybind11/cast.h:13,
from external/pybind11/include/pybind11/attr.h:13,
from external/pybind11/include/pybind11/pybind11.h:49,
from binding/binding.cpp:1:
external/pybind11/include/pybind11/detail/common.h:112:10: fatal error: Python.h: No such file or directory
112 | #include <Python.h>
| ^~~~~~~~~~
compilation terminated.
INFO: Elapsed time: 2.601s, Critical Path: 0.15s
INFO: 14 processes: 13 internal, 1 linux-sandbox.

Thanks~

License

@psigen this repository doesn't have a license, could you add one? (Preferably MIT)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.