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

Problem with build on node 8 #311

Open
anagami opened this issue Oct 28, 2017 · 3 comments
Open

Problem with build on node 8 #311

anagami opened this issue Oct 28, 2017 · 3 comments

Comments

@anagami
Copy link

anagami commented Oct 28, 2017

Hi!
i use fork from @mixer and try install lwip on Ubuntu node 8.7.0
build failing with error
../src/decoder/png_decoder.cpp:6:34: error: ‘png_const_bytep’ was not declared in this scope

@jwater7
Copy link

jwater7 commented Nov 17, 2017

I'm getting a build error with latest Ubuntu as well..but looks a little different but still I think it's a problem with the libpng dependency.

  CC(target) Release/obj.target/lwip_decoder/src/lib/png/png.o
In file included from ../src/lib/png/png.c:14:0:
../src/lib/png/pngpriv.h:805:4: error: #error ZLIB_VERNUM != PNG_ZLIB_VERNUM "-I
 (include path) error: see the notes in pngpriv.h"
 #  error ZLIB_VERNUM != PNG_ZLIB_VERNUM \
    ^~~~~
lwip_decoder.target.mk:165: recipe for target 'Release/obj.target/lwip_decoder/src/lib/png/png.o' failed
make: *** [Release/obj.target/lwip_decoder/src/lib/png/png.o] Error 1
make: Leaving directory '/home/johnny/proj/example/node_modules/lwip/build'
gyp ERR! build error

@dmitryt
Copy link

dmitryt commented Mar 15, 2018

The same on MacOS node 8.2.1, even though it works well under node 7.5

@D0bhareach
Copy link

I was able to install with node 6.9.1

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

4 participants