Trying the MacOS build again

B.J. bj at koupps.net
Mon Jan 22 19:40:57 UTC 2018


oohh…I see.  I probably started the process the wrong way...I infer it’s unconventional to download the .tgz and go from there.  I’ll see if I can find the standard way to start the process via git instead.  Thanks again.

> On Jan 22, 2018, at 11:49, Johnny Jazeix <jazeix at gmail.com> wrote:
> 
> cd /Users/bjcupps/src/GCompris-0.61/
> git submodule init && git submodule update
> cd ../build (I'm not sure of the name of your build folder)
> cmake -DQML_BOX2D_MODULE=submodule -DACTIVATION_MODE=internal ../GCompris-0.61
> make
> 
> 
> 2018-01-22 18:46 GMT+01:00 B.J. <bj at koupps.net <mailto:bj at koupps.net>>:
> Thanks again—is that in "gc…/src" or the root of the gc source folder?  i’ll be sure to do that when I try version 0.81.  I appreciate it!
> 
> 
>> On Jan 22, 2018, at 11:43, Johnny Jazeix <jazeix at gmail.com <mailto:jazeix at gmail.com>> wrote:
>> 
>> In the source folder, did you do a "git submodule init && git submodule update"? It should retrieve the box2d library in the "external" folder.
>> 
>> 2018-01-22 18:39 GMT+01:00 B.J. <bj at koupps.net <mailto:bj at koupps.net>>:
>> 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 <http://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 <mailto: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/0886943a/attachment-0001.html>


More information about the GCompris-devel mailing list