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

Building GoldenDict on Windows

General discussion

Building GoldenDict on Windows

Postby tosbaha » Mon Dec 27, 2010 1:33 pm

I have downloaded msysgit and cloned git from git://gitorious.org/goldendict/goldendict.git. I have installed MinGW and qt-sdk-win-opensource-2010.05.exe. I opened goldendict.pro with Qt Creator and hit Run button and it says

Code: Select all
Running build steps for project goldendict...
Configuration unchanged, skipping qmake step.
Starting: "C:/Qt/2010.05/mingw/bin/mingw32-make.exe" -w
mingw32-make: Entering directory `D:/goldendict-build-desktop'

mingw32-make: Leaving directory `D:/goldendict-build-desktop'

mingw32-make: *** No rule to make target `../goldendict-goldendict/goldendict.pro', needed by `makefile'.  Stop.

The process "C:/Qt/2010.05/mingw/bin/mingw32-make.exe" exited with code %2.
Error while building project goldendict (target: Desktop)
When executing build step 'Make'


I changed build from debug to release and try to rebuild it again and here is the output.

Code: Select all
Running build steps for project goldendict...
Starting: "c:/qt/2010.05/qt/bin/qmake.exe" D:/goldendict/goldendict.pro -r -spec win32-g++ CONFIG+=release
The process "c:/qt/2010.05/qt/bin/qmake.exe" exited normally.
Starting: "C:/Qt/2010.05/mingw/bin/mingw32-make.exe" -w
mingw32-make: Entering directory `D:/goldendict-build-desktop'

C:/Qt/2010.05/mingw/bin/mingw32-make -f Makefile.Release

mingw32-make[1]: Entering directory `D:/goldendict-build-desktop'

mingw32-make[1]: Leaving directory `D:/goldendict-build-desktop'

mingw32-make: Leaving directory `D:/goldendict-build-desktop'

mingw32-make[1]: *** No rule to make target `folding.cc', needed by `version.txt'.  Stop.

mingw32-make: *** [release] Error 2

The process "C:/Qt/2010.05/mingw/bin/mingw32-make.exe" exited with code %2.
Error while building project goldendict (target: Desktop)
When executing build step 'Make'


I really don't know what is the problem. Is it PATH problem or version problem?
What is the proper way to compile goldendict on windows? If you write step by step for a noob person like me I will appreciate. Thanks.
tosbaha
 
Posts: 11
Joined: Mon Dec 27, 2010 12:54 pm

Re: Building GoldenDict on Windows

Postby Abs62 » Mon Dec 27, 2010 2:23 pm

tosbaha
Proiect -> Build settings -> Build directory -> change "D:\goldendict-build-desktop" to "D:\goldendict".
Abs62
 
Posts: 631
Joined: Mon Jun 14, 2010 11:51 am

Re: Building GoldenDict on Windows

Postby tosbaha » Mon Dec 27, 2010 2:46 pm

Thanks for the reply. Yes now it works but now it always build Debug not Release even though I select release from Build dialog.

Edit: I changed project file from fresh source now it works! Thanks so much.
tosbaha
 
Posts: 11
Joined: Mon Dec 27, 2010 12:54 pm


Return to General

Who is online

Users browsing this forum: No registered users and 14 guests