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

tlRender build fails on osx - ZLIB_VERNUM != PNG_ZLIB_VERNUM #134

Open
djacobs7 opened this issue Apr 18, 2024 · 1 comment
Open

tlRender build fails on osx - ZLIB_VERNUM != PNG_ZLIB_VERNUM #134

djacobs7 opened this issue Apr 18, 2024 · 1 comment
Labels
bug Something isn't working
Milestone

Comments

@djacobs7
Copy link

Build is failing on mac os x. This this the error message ( it's right in the middle of the log that I attached below)

Command line:

 build % uname -a
Darwin MacBook-Air-7.local 22.1.0 Darwin Kernel Version 22.1.0: Sun Oct  9 20:14:30 PDT 2022; root:xnu-8792.41.9~2/RELEASE_ARM64_T8103 arm64

djacobs7@MacBook-Air-7 build % sw_vers
ProductName:		macOS
ProductVersion:		13.0.1
BuildVersion:		22A400


djacobs7@MacBook-Air-7 build % pwd
/Users/djacobs7/git/theboyjones/tlRender/build
djacobs7@MacBook-Air-7 build % cmake ../etc/SuperBuild -DCMAKE_INSTALL_PREFIX=$PWD/install -DCMAKE_PREFIX_PATH=$PWD/install -DCMAKE_BUILD_TYPE=Debug    

Error message:

In file included from /Users/djacobs7/git/theboyjones/tlRender/build/PNG/src/PNG/scripts/intprefix.c:21:
/Users/djacobs7/git/theboyjones/tlRender/build/PNG/src/PNG/scripts/../pngpriv.h:911:4: error: ZLIB_VERNUM != PNG_ZLIB_VERNUM       "-I (include path) error: see the notes in pngpriv.h"
#  error ZLIB_VERNUM != PNG_ZLIB_VERNUM \
   ^
1 error generated.
CMake Error at scripts/genout.cmake:78 (message):
  Failed to generate
  /Users/djacobs7/git/theboyjones/tlRender/build/PNG/src/PNG-build/scripts/intprefix.out.tf1

Full build log:
log.txt

@darbyjohnston
Copy link
Owner

Hi, thanks for the detailed information. It looks like some of the dependencies are being picked up from homebrew instead of using the internal tlRender dependencies. I'll look into how to fix this.

@darbyjohnston darbyjohnston added the bug Something isn't working label Apr 20, 2024
@darbyjohnston darbyjohnston added this to the 1.0 milestone Apr 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants