Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

problems compiling on osx with bazel #72

Open
cpietsch opened this issue Mar 18, 2017 · 2 comments
Open

problems compiling on osx with bazel #72

cpietsch opened this issue Mar 18, 2017 · 2 comments

Comments

@cpietsch
Copy link

I ran into some errors compiling guetzli with bazel on osx 10.11.
These changes to WORKSPACE fixed it for me:

  1. change http://github.com/glennrp/libpng/archive/v1.2.57.zip to https://github.com/glennrp/libpng/archive/v1.2.57.zip
  2. change third_party/butteraugli/ to the absolute path e.g. /Users/chris/guetzli/third_party/butteraugli/
@robryk
Copy link
Contributor

robryk commented Mar 18, 2017

Could you provide the errors that you were getting before you made those changes?

@cpietsch
Copy link
Author

INFO: Elapsed time: 1,618s
java.lang.RuntimeException: Unrecoverable error while evaluating node 'REPOSITORY_DIRECTORY:@png_archive' (requested by nodes 'REPOSITORY:@png_archive')
	at com.google.devtools.build.skyframe.ParallelEvaluator$Evaluate.run(ParallelEvaluator.java:1003)
ERROR: /Users/chris/Documents/projekte/guetzli/guetzli/BUILD:4:1: no such package '@butteraugli//': local_repository rule //external:butteraugli must specify an existing directory and referenced by '//:guetzli_lib'.
ERROR: Loading failed; build aborted.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants