problems in compiling qrpgengine, not able to build :(
Hi all,
This is after the latest update, unable to build :-
Running build steps for project qrpgengine...
Starting: "/usr/bin/qmake-qt4" /home/shirish/games/Orange-Engine/qrpgengine/qrpgengine.pro -r CONFIG+=debug -spec /usr/lib64/qt4/mkspecs/linux-g++-64
Failure to read QMAKESPEC conf file /usr/lib64/qt4/mkspecs/linux-g++-64/qmake.conf.
Error processing project file: /home/shirish/games/Orange-Engine/qrpgengine/qrpgengine.pro
The process "/usr/bin/qmake-qt4" exited with code 3.
Error while building project qrpgengine (target: Desktop)
When executing build step 'qmake'
This was on the console.Doing the echo part for QMAKESPEC worked without any issues :-
$ echo $QMAKESPEC
/usr/share/qt4/mkspecs/linux-g++
FWIW qrpgengine built properly the last time I did. Looking forward for info.
Maybe try setting your qmake environment variable with qmake -set
http://doc.qt.nokia.com/4.7-snapshot/qmake-environment-reference.html
Also, make sure to do a make clean if you run into build problems.
Did run an OS update lately? I remember your OS's build environment being misconfigured; maybe they broke something else. If you're setting your QMAKESPEC environment variable correctly and it's not reading it, you might want to ask people who support either your OS or Qt.
I read that one, I took out the export QMAKESPEC from .bashrc and trying to set it in qmake itself. Would this be correct ?
qmake -set QMAKESPEC /usr/share/qt4/mkspecs/linux-g++
Looks reasonable to me.
also, try going doing this from the root of the repository:
grep -r "
usr/lib64/qt4/mkspecs" *
It may take a little while, but if there's a file that contains that path, that might be the problem.
There was :-
~/games/Orange-Engine$ grep -r "usr/lib64/qt4/mkspecs" * qrpgengine/qrpgengine.pro.user: -spec /usr/lib64/qt4/mkspecs/linux-g++-64
~/games/Orange-Engine$ find . -name qrpgedit.pro.user -delete
~/games/Orange-Engine$ grep -r "usr/lib64/qt4/mkspecs" * qrpgengine/qrpgengine.pro.user: -spec /usr/lib64/qt4/mkspecs/linux-g++-64
As can be seen the delete thing apparently does not work.
As can be seen the delete thing apparently does not work.
Why not?
I have no idea, either because it uses dash or something else. The fact is I have to go to the individual directory and then rm the file. After that the compilation occurs without any errors.
Btw really like the battle system, much better and nicer than before.
Having same problems. What to do?