Trying the MacOS build again
B.J.
bj at koupps.net
Mon Jan 22 17:39:33 UTC 2018
Thanks! I didn’t get much further but maybe it’ll be different if I switch to the latest source tree; will do and get back.
More verbosely though, in case anyone’s curious, here’s how it goes with Box2D thus far:
$ make
Scanning dependencies of target createShareFolders
[ 0%] Generating shareFolders
[ 0%] Built target createShareFolders
Scanning dependencies of target qml_box2d
[ 0%] Creating directories for 'qml_box2d'
[ 0%] No download step for 'qml_box2d'
[ 0%] No patch step for 'qml_box2d'
[ 1%] No update step for 'qml_box2d'
[ 1%] Performing configure step for 'qml_box2d'
Cannot find file: /Users/bjcupps/src/GCompris-0.61/external/qml-box2d/box2d.pro.
make[2]: *** [qml_box2d-prefix/src/qml_box2d-stamp/qml_box2d-configure] Error 2
make[1]: *** [CMakeFiles/qml_box2d.dir/all] Error 2
make: *** [all] Error 2
cmake did say something about git though, which I didn’t notice when Box2D was disabled; not sure if that’s related:
-- Building qml-box2d module from submodule
-- Found Git: /usr/bin/git (found version "2.14.3 (Apple Git-98)")
fatal: Not a git repository (or any of the parent directories): .git
-- Configuring done
> On Jan 22, 2018, at 11:22, Johnny Jazeix <jazeix at gmail.com> wrote:
>
> Hi,
>
> can you change the option QML_BOX2D_MODULE to submodule when you run cmake.
>
> enabled does not exist ;) (https://github.com/gcompris/GCompris-qt/blob/master/CMakeLists.txt#L373 <https://github.com/gcompris/GCompris-qt/blob/master/CMakeLists.txt#L373>).
>
> cmake -DQML_BOX2D_MODULE=submodule -DACTIVATION_MODE=internal ../GCompris-0.61
>
> I guess it would be better to start from the latest code version (I don't think much have changed regarding the build).
> Thank you,
>
> Johnny
>
> 2018-01-22 17:50 GMT+01:00 B.J. <bj at koupps.net <mailto:bj at koupps.net>>:
> I started with GCompris 0.61’s source tree and decided to work up from there…it does compile and run when I disable Box2D (with no images of course, just a white screen with working animated words etc…)
>
> So now I guess we need to get Box2D working on this platform? So far here’s what I get from this command:
>
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>
> $ cmake -DQML_BOX2D_MODULE=enabled -DACTIVATION_MODE=internal ../GCompris-0.61
> -- The C compiler identification is AppleClang 9.0.0.9000039
> -- The CXX compiler identification is AppleClang 9.0.0.9000039
> -- Check for working C compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc
> -- Check for working C compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc -- works
> -- Detecting C compiler ABI info
> -- Detecting C compiler ABI info - done
> -- Detecting C compile features
> -- Detecting C compile features - done
> -- Check for working CXX compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++
> -- Check for working CXX compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ -- works
> -- Detecting CXX compiler ABI info
> -- Detecting CXX compiler ABI info - done
> -- Detecting CXX compile features
> -- Detecting CXX compile features - done
> -- Performing Test COMPILER_SUPPORTS_CXX11
> -- Performing Test COMPILER_SUPPORTS_CXX11 - Success
> -- Performing Test COMPILER_SUPPORTS_CXX0X
> -- Performing Test COMPILER_SUPPORTS_CXX0X - Success
> CMake Error at CMakeLists.txt:416 (message):
> Did not find the qml-box2d module in system scope and submodule build was
> not requested. Can't continue!
>
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>
> I did peek at the CMakeLists file to see how the other platforms differed but I didn’t see Box2D mentioned. Since I don’t know anything about that QT feature (yet) I’ll go see if I can read up a little, but in case someone’s already started working on any GCompris tree after 0.52 on MacOS I figured I’d mention that I’ve begun looking at it again, in case anyone can save me any steps. Wish me luck..thanks.
>
> B.J.
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/gcompris-devel/attachments/20180122/a9d83fe5/attachment.html>
More information about the GCompris-devel
mailing list