mjbots / bazel_deps Goto Github PK
View Code? Open in Web Editor NEWBazel build files for open-source projects
License: Apache License 2.0
Bazel build files for open-source projects
License: Apache License 2.0
I'm getting this when I follow the readme.
Hi all, thank you so much for the effort of opencv bazel build, I found it extremely useful.
Is there someone who work on opencv 4? Or is there any plan to support opencv 4? Currently compile for opencv 4 is failed.
I'll do this one.
I'm thinking of adding @boost://log_with_syslog or something. What do you think?
Looks like this repo needs a refresh, some dependencies fail to download:
❯ bazel build @com_github_mjbots_bazel_deps//...
WARNING: Download from https://zlib.net/zlib-1.2.11.tar.gz failed: class java.io.FileNotFoundException GET returned 404 Not Found
ERROR: /home/xxx/.cache/bazel/_bazel_xxx/xxx/external/libxcb/BUILD.bazel:99:11: configurable attribute "copts" in @libxcb//:libxcb doesn't match this configuration. Would a default condition help?
Conditions checked:
@com_github_mjbots_bazel_deps//conditions:gcc
@com_github_mjbots_bazel_deps//conditions:clang
To see a condition's definition, run: bazel query --output=build <condition label>.
This instance of @libxcb//:libxcb has configuration identifier f51144e. To inspect its configuration, run: bazel config f51144e.
For more help, see https://bazel.build/docs/configurable-attributes#faq-select-choose-condition.
WARNING: Download from https://ftp.pcre.org/pub/pcre/pcre-8.42.tar.bz2 failed: class com.google.devtools.build.lib.bazel.repository.downloader.UnrecoverableHttpException Unknown host: ftp.pcre.org
ERROR: Analysis of target '@com_github_mjbots_bazel_deps//:everything' failed; build aborted:
INFO: Elapsed time: 0.140s
INFO: 0 processes.
FAILED: Build did NOT complete successfully (25 packages loaded, 201 targets configured)
I might be able to undo this but vsomeip, which appears to build itself as a shared library, seems to want Boost to be dynamically rather than statically linked. Does bazel_deps build static or dynamic libraries?
Unable to build with @FFmpeg or @opencv//:videoio.
bazel-out/k8-fastbuild/bin/_solib_k8/_U@ffmpeg_S_S_Cavcodec_Ulib___Uexternal_Sffmpeg/libavcodec.so: error: undefined reference to 'dlclose'
bazel-out/k8-fastbuild/bin/_solib_k8/_U@ffmpeg_S_S_Cavcodec_Ulib___Uexternal_Sffmpeg/libavcodec.so: error: undefined reference to 'dlopen'
bazel-out/k8-fastbuild/bin/_solib_k8/_U@ffmpeg_S_S_Cavcodec_Ulib___Uexternal_Sffmpeg/libavcodec.so: error: undefined reference to 'dlsym'
I'm building on linux for windows subsystem, ubuntu distro.
Thanks for working on this project. It is very useful.
Release version 3.4.2 is used for the FFmpeg build. The latest release is version 5.1. There has been a lot of changes between these. It would be great to upgrade the version for the build.
I got this error when following the readme.
The fix is:
load("//tools/workspace:default.bzl", "add_default_repositories"
I added "@boost//:log" as a dependency to https://github.com/dev-guy/bazel-deps-example/blob/master/test/BUILD
It looks like the Boost Detail package needs to be added.
bazel-out/k8-fastbuild/bin/_solib_k8/libexternal_Sboost_Sliblog.so: error: undefined reference to 'boost::detail::add_thread_exit_function(boost::detail::thread_exit_function_base*)'
bazel-out/k8-fastbuild/bin/_solib_k8/libexternal_Sboost_Sliblog.so: error: undefined reference to 'boost::detail::set_tss_data(void const*, boost::shared_ptr<boost::detail::tss_cleanup_function>, void*, bool)'
bazel-out/k8-fastbuild/bin/_solib_k8/libexternal_Sboost_Sliblog.so: error: undefined reference to 'boost::detail::get_tss_data(void const*)'
Legally nobody can use this without some sort of a license. No big deal for private/experimental use, but legal needs provenance and license of everything usually in any kind of a commercial setting.
Hey all,
I forked this repos and added the opencv highgui library. It currently only compiles with QT and relies on QT already installed to the os. If you all are interested I can make a pull request.
Hi there, new to bazel - When I try to build opencv using your bazel rules, this is what I run into. Any pointers would be super helpful, thanks!
FWIW - here's my WORKSPACE
ERROR: /home/parallels/.cache/bazel/_bazel_parallels/027ce54689e4889bebc5f3a695364635/external/opencv/BUILD:36:12: configurable attribute "content" in @opencv//:cv_cpu_config.h doesn't match this configuration. Would a default condition help?
Conditions checked:
@com_github_mjbots_bazel_deps//conditions:arm
@com_github_mjbots_bazel_deps//conditions:x86_64
To see a condition's definition, run: bazel query --output=build <condition label>.
This instance of @opencv//:cv_cpu_config.h has configuration identifier 815a8a9. To inspect its configuration, run: bazel config 815a8a9.
For more help, see https://bazel.build/docs/configurable-attributes#faq-select-choose-condition.
ERROR: Analysis of target '//example/sample_cpp:_test_shim.cc' failed; build aborted:
INFO: Elapsed time: 0.214s
INFO: 0 processes.
FAILED: Build did NOT complete successfully (0 packages loaded, 1 target configured)
Could you add support for opencv HighGUI?
repository.bzl needs to use bazel_deps instead of bazel-deps
When using glib, there are missing objects in the deprecated folder.
bazel formatter changed more than it should have...
I am using Bazel 0.28.1. I get this error when I follow the README.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.