New user registration is currently disabled due to spam abuse / Регистрация новых пользователей в настоящее время приостановлена из-за злоупотреблений спаммерами

Unable to build in Qt Creator

Report bugs here

Unable to build in Qt Creator

Postby emil1532 » Wed Mar 13, 2013 1:35 pm

Hi,

I'm getting the following compile error in Qt Creator:
Code: Select all
g++ -mthreads -Wl,-subsystem,windows -o debug\goldendict.exe object_script.goldendict.Debug  -L"c:\QtSDK\Desktop\Qt\4.8.4\MinGW\lib" -lmingw32 -lqtmaind build\goldendict_res.o -lz -liconv -lwsock32 -lwinmm -lpsapi -lvorbisfile -lvorbis -logg -lhunspell-1.2 -Lwinlibs/lib -lQtWebKitd4 -lphonond4 -lQtXmld4 -lQtGuid4 -lQtNetworkd4 -lQtCored4
mingw32-make.exe[1]: Leaving directory `D:/Documents/sandbox/goldendict-build-desktop-Qt_4_8_4__MinGW__Debug'
c:/qtsdk/mingw/bin/../lib/gcc/mingw32/4.4.0/../../../../mingw32/bin/ld.exe: cannot find -lz

I'm on Windows 7 32-bit, with Qt 4.8.4 for MinGW. I'm trying to build the source package downloaded from GoldenDict website (1.0.1).

However, I'm able to successfully build GoldenDict on command line by running "qmake goldendict.pro" and "make". What do you think could be the problem?
emil1532
 
Posts: 2
Joined: Thu Feb 21, 2013 11:22 am

Re: Unable to build in Qt Creator

Postby Tvangeste » Wed Mar 13, 2013 2:00 pm

1.0.1 version is very old, you'd better use the latest source from Github, it should compile on Windows with no problems.

https://github.com/goldendict/goldendict

Just clone the repository like this: git clone git://github.com/goldendict/goldendict.git

Alternatively, you could download the sources from here: https://github.com/goldendict/goldendic ... master.zip , but I'd recommend to get the proper clone so that you could get source updates any time.
Tvangeste
 
Posts: 893
Joined: Thu Jun 02, 2011 11:42 am


Return to Bugs

Who is online

Users browsing this forum: No registered users and 1 guest

cron