On Fri, Feb 21, 2014 at 5:04 AM, Georg Zotti <[email protected]> wrote: > I added the path to gettext programs in CMakeCache.txt. Zlib was found in > GnuWin32 dir. However, and after disabling all plugins for now, I get > another error: > > c:\program files (x86)\gnuwin32\include\zconf.h(289): fata error C1083: > File (Include) cannot be opened: "unistd.h": No such file or directory.
The zlib issue is always tricky on Windows, because there are different versions of the headers being distributed. For compiling with msvc, the one that I use is zlib128-dll.zip, directly from the zlib website: http://www.zlib.net. Direct link: http://prdownloads.sourceforge.net/libpng/zlib128-dll.zip?download Once you have it you need to unzip it somewhere on your filesystem, and modify CMakeCache.txt to point to it, as I mentioned in my previous email. Only for msvc build! At some point I actually suggested that we compile zlib sources along with the other external dependencies, so that we don't have all those issues, maybe it's time to reconsider that solution again? guillaume -- Guillaume [email protected] +886 970422910 ------------------------------------------------------------------------------ Managing the Performance of Cloud-Based Applications Take advantage of what the Cloud has to offer - Avoid Common Pitfalls. Read the Whitepaper. http://pubads.g.doubleclick.net/gampad/clk?id=121054471&iu=/4140/ostg.clktrk _______________________________________________ Stellarium-pubdevel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/stellarium-pubdevel
