Registered Member
|
I'm trying to build the latest stable Marble sources (from the KDE 4.12 repository), and I'm running into a snag. I've got Qt 4.8.5, and I'm building on Mac OSX Mavericks (10.9). I get a bunch of warnings from Qt about this version of OSX being unsupported, but I don't think that's the issue (I've tried building a Qt Hello World, and it ran just fine).
I'm running cmake in my/home/dir/marble, with subdirectories sources and build (as source and build directories, respectively). The error that I'm getting is: In file included from /my/home/dir/marble/sources/src/apps/marble-ui/ControlView.cpp:644: /my/home/dir/marble/build/src/ControlView.moc:10:10: fatal error: '../../sources/src/ControlView.h' file not found #include "../../sources/src/ControlView.h" Indeed, ControlView.h is located in ../../sources/src/apps/marble-ui/ I've successfully built the same Marble sources on a Windows system with Qt 4.8.4, and I notice that ControlView.moc is in a different location, marble/build/src/apps/marble-ui/ So I'm wondering if either moc is somehow different in Qt 4.8.5 and is ignoring some arguments, or else if the Mac OSX cmake instructions are broken (and if so, what file should I look in to fix them). |
Administrator
|
Can you please compare the versions of CMake you are using on Windows and Mac to see if they differ significantly? It seems that Moc may be getting called with the wrong output directory locations - leading to the wrong paths being generated.
KDE Sysadmin
[img]content/bcooksley_sig.png[/img] |
Registered Member
|
I've got cmake 2.8.12.2 on my Windows system, and 2.8.11.1 on the Mac.
EDIT: I've updated cmake on the Mac to 2.8.12.2 (and ran make clean and cmake again), and everything seems to compile just fine now. Thanks! |
Registered users: Bing [Bot], daret, Google [Bot], Sogou [Bot]