Re: [Chessx-users] [1.1.0] several compilation error
Chess Database and PGN viewer
Brought to you by:
hognose
From: Louis Z. <zu...@la...> - 2014-07-26 10:08:06
|
On Jul 25, 2014, at 5:14 AM, Pietro wrote: > Hi all, > > I am trying to compile version 1.1.0 on ubuntu 14.04 laptop. I have Qt5.3. > > I find so many error in compilation that I start wondering if the tar.gz uploaded in the web-site is the right one! > > First, the make process couldn't find the file chessx_de.qm in the directory /i18n. I looked at it and there is no such file, but chessx_de.ts, so I modified the file resource.h to find that. This issue has existed for a long time. Just create an empty file with the name. I reported this issue. Here's the reply: >> Hello Louis, >> >> you can simply touch all non-existing files or create arbitrary files by whatever means, they will be overwritten by the build process. >> i.e., >> >> touch i18n/chessx_de.qm >> touch i18n/chessx_fr.qm >> touch i18n/chessx_da.qm >> >> The latter file is needed in case you get the latest sources from svn > > Then I started again the compilation, but this time I receive the following error > > In file included from src/quazip/quazip.h:31:0, > from src/gui/mainwindow.cpp:38: > src/quazip/zip.h:56:18: fatal error: zlib.h: No such file or directory > #include <zlib.h> > ^ > compilation terminated. > make: *** [obj_rel/mainwindow.o] Error 1 > > > and, in fact, I looked for that file through all the src but it's not anywhere. For the missing zlib header, try this at a command line: sudo apt-get install zlib1g-dev Louis |