cpp-serializers icon indicating copy to clipboard operation
cpp-serializers copied to clipboard

zlib dependency not included

Open dev-joss opened this issue 8 years ago • 5 comments

zlib is not included.

"This project does not have any external library dependencies. All (boost, thrift etc.) needed libraries are downloaded and built automatically, but you need enough free disk space to build all components"

Fails to build on Windows using CMake 3.7.2, MSVC 2015 x64

dev-joss avatar Mar 21 '17 11:03 dev-joss

Which component (serialization library?) fails to build?

thekvs avatar Mar 21 '17 11:03 thekvs

Sorry, I mean't cmake fails.

The C compiler identification is MSVC 19.0.24215.1
The CXX compiler identification is MSVC 19.0.24215.1
Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio 14.0/VC/bin/x86_amd64/cl.exe
Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio 14.0/VC/bin/x86_amd64/cl.exe -- works
Detecting C compiler ABI info
Detecting C compiler ABI info - done
Check for working CXX compiler: C:/Program Files (x86)/Microsoft Visual Studio 14.0/VC/bin/x86_amd64/cl.exe
Check for working CXX compiler: C:/Program Files (x86)/Microsoft Visual Studio 14.0/VC/bin/x86_amd64/cl.exe -- works
Detecting CXX compiler ABI info
Detecting CXX compiler ABI info - done
Detecting CXX compile features
Detecting CXX compile features - done
Looking for pthread.h
Looking for pthread.h - not found
Found Threads: TRUE  
Performing Test CXX11
Performing Test CXX11 - Success
Looking for include file inttypes.h
Looking for include file inttypes.h - found
Looking for include file netinet/in.h
Looking for include file netinet/in.h - not found
Could NOT find ZLIB (missing:  ZLIB_LIBRARY) (found version "1.2.8")
CMake Error at CMakeLists.txt:39 (message):
  Couldn't find zlib library


Configuring incomplete, errors occurred!
See also "C:/Users/Joss/Documents/src/cpp-serializers/build/CMakeFiles/CMakeOutput.log".
See also "C:/Users/Joss/Documents/src/cpp-serializers/build/CMakeFiles/CMakeError.log".

dev-joss avatar Mar 21 '17 11:03 dev-joss

Oh. Sorry, don't know much about Windows world. Do they have zlib at all? Any patches are welcome!

thekvs avatar Mar 21 '17 12:03 thekvs

Cool, will submit one at some point

dev-joss avatar Mar 21 '17 14:03 dev-joss

@jossgray got a patch for this by any chance? I'm having the same issue trying to build on windows

Ghospel avatar Oct 12 '17 13:10 Ghospel