Skip to content
This repository has been archived by the owner on May 30, 2023. It is now read-only.

Problem with building current sources on Windows #14432

Closed
mschlebusch opened this issue Jul 28, 2016 · 4 comments
Closed

Problem with building current sources on Windows #14432

mschlebusch opened this issue Jul 28, 2016 · 4 comments
Assignees

Comments

@mschlebusch
Copy link

The build of qtwebkit fails on Windows.

  1. Which version of PhantomJS are you using? Tip: run phantomjs --version.
    Current Sources
  2. What steps will reproduce the problem?
    Follow instructions on http://phantomjs.org/build.html
  3. Which operating system are you using?
    Windows 7
  4. Did you use binary PhantomJS or did you compile it from source?
    Compile it from current source
  5. Please provide any additional information below.

Output of the build process:

Creating library ....\bin\ImageDiff.lib and object ....\bin\ImageDiff.exp
Qt5Gui.lib(png.obj) : error LNK2019: unresolved external symbol _inflateReset referenced in function _png_reset_zstream
Qt5Gui.lib(pngrutil.obj) : error LNK2001: unresolved external symbol _inflateReset
Qt5Gui.lib(png.obj) : error LNK2019: unresolved external symbol _adler32 referenced in function _png_compare_ICC_profile_with_sRGB
Qt5Gui.lib(png.obj) : error LNK2019: unresolved external symbol _crc32 referenced in function _png_calculate_crc
Qt5Gui.lib(pngread.obj) : error LNK2019: unresolved external symbol _inflateEnd referenced in function _png_read_destroy
Qt5Gui.lib(pngwrite.obj) : error LNK2019: unresolved external symbol _deflateEnd referenced in function _png_write_destroy
Qt5Gui.lib(pngwutil.obj) : error LNK2001: unresolved external symbol _deflateEnd
Qt5Gui.lib(pngwutil.obj) : error LNK2019: unresolved external symbol _deflate referenced in function _png_compress_IDAT
Qt5Gui.lib(pngwutil.obj) : error LNK2019: unresolved external symbol _deflateReset referenced in function _png_deflate_claim
Qt5Gui.lib(pngwutil.obj) : error LNK2019: unresolved external symbol deflateInit2 referenced in function _png_deflate_claim
Qt5Gui.lib(pngrutil.obj) : error LNK2019: unresolved external symbol _inflate referenced in function _png_inflate
Qt5Gui.lib(pngrutil.obj) : error LNK2019: unresolved external symbol inflateInit referenced in function _png_inflate_claim
....\bin\ImageDiff.exe : fatal error LNK1120: 10 unresolved externals
NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\BIN\link.EXE"' : return code '0x460'
Stop.
NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\BIN\nmake.exe"' : return code '0x2'
Stop.
NMAKE : fatal error U1077: 'cd' : return code '0x2'
Stop.
NMAKE : fatal error U1077: 'cd' : return code '0x2'
Stop.

ERROR: Failed to build PhantomJS! Building Qt WebKit failed.

The same issue was already reported here:
https://groups.google.com/forum/#!topic/phantomjs/n8XnupRLQRE

@vitallium
Copy link
Collaborator

Looks like zlib is missing.

@mschlebusch
Copy link
Author

Is it missing in any dependency of the sources or do I need to put it anywhere for the build process?

@mschlebusch
Copy link
Author

I've found zlib in the following folder as 3rdparty dependency: ..\src\qt\3rdparty\zlib
Threfore it is generally available for the build process.

@ghost ghost removed the Build system label Jan 10, 2018
@stale stale bot added the stale label Dec 25, 2019
@stale
Copy link

stale bot commented Dec 28, 2019

Due to our very limited maintenance capacity (see #14541 for more details), we need to prioritize our development focus on other tasks. Therefore, this issue will be automatically closed. In the future, if we see the need to attend to this issue again, then it will be reopened. Thank you for your contribution!

@stale stale bot closed this as completed Dec 28, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants