OSX 10.8 Build problems

1 reply [Last post]
asbestospiping
User offline. Last seen 10 years 34 weeks ago. Offline
Joined: 2012-03-25
Posts: 4

Hi All, I'm having some difficulty building on OSX 10.8 (Mountain Lion)

It is the QT version causing me some problems, if I use 4.5.1, I cannot build because mountain lion is not supported, and if I use 4.8.1, I get the MOC error shown below.

Has any one got any advice?

Here is the end of my build output:

In file included from /Library/Frameworks/QtCore.framework/Headers/QSettings:1:
In file included from /Library/Frameworks/QtCore.framework/Headers/qsettings.h:45:
In file included from /Library/Frameworks/QtCore.framework/Headers/qobject.h:47:
In file included from /Library/Frameworks/QtCore.framework/Headers/qobjectdefs.h:45:
In file included from /Library/Frameworks/QtCore.framework/Headers/qnamespace.h:45:
/Library/Frameworks/QtCore.framework/Headers/qglobal.h:328:6: warning: "This version of
Mac OS X is unsupported" [-W#warnings]
# warning "This version of Mac OS X is unsupported"
^
/Users/robcowie/hedgewars/QTfrontend/model/moc_ammoSchemeModel.cxx:14:2: error: "This file
was generated using the moc from 4.5.1. It"
#error "This file was generated using the moc from 4.5.1. It"
^
/Users/robcowie/hedgewars/QTfrontend/model/moc_ammoSchemeModel.cxx:15:2: error: "cannot be
used with the include files from this version of Qt."
#error "cannot be used with the include files from this version of Qt."
^
/Users/robcowie/hedgewars/QTfrontend/model/moc_ammoSchemeModel.cxx:16:2: error: "(The moc
has changed too much.)"
#error "(The moc has changed too much.)"
^
1 warning and 3 errors generated.
make[2]: *** [QTfrontend/CMakeFiles/hedgewars.dir/model/moc_ammoSchemeModel.cxx.o] Error 1
make[1]: *** [QTfrontend/CMakeFiles/hedgewars.dir/all] Error 2
make: *** [all] Error 2

asbestospiping
User offline. Last seen 10 years 34 weeks ago. Offline
Joined: 2012-03-25
Posts: 4

OK, so I was being thick.

I did make clean, then make again, and all is good.

Copyright © 2004-2023 Hedgewars Project. All rights reserved. [ contact ]