<div dir="ltr">In the source folder, did you do a "git submodule init && git submodule update"? It should retrieve the box2d library in the "external" folder.<br></div><div class="gmail_extra"><br><div class="gmail_quote">2018-01-22 18:39 GMT+01:00 B.J. <span dir="ltr"><<a href="mailto:bj@koupps.net" target="_blank">bj@koupps.net</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word;line-break:after-white-space">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.<div><br></div><div>More verbosely though, in case anyone’s curious, here’s how it goes with Box2D thus far:</div><div><br></div><div><div style="margin:0px;font-stretch:normal;font-size:14px;line-height:normal;font-family:"Andale Mono";color:rgb(40,254,20);background-color:rgba(0,0,0,0.74902)"><span style="font-variant-ligatures:no-common-ligatures">$ make</span></div><div style="margin:0px;font-stretch:normal;font-size:14px;line-height:normal;font-family:"Andale Mono";color:rgb(213,59,211);background-color:rgba(0,0,0,0.74902)"><span style="font-variant-ligatures:no-common-ligatures">Scanning dependencies of target createShareFolders</span></div><div style="margin:0px;font-stretch:normal;font-size:14px;line-height:normal;font-family:"Andale Mono";color:rgb(82,48,225);background-color:rgba(0,0,0,0.74902)"><span style="font-variant-ligatures:no-common-ligatures;color:#28fe14">[  0%] </span><span style="font-variant-ligatures:no-common-ligatures">Generating shareFolders</span></div><div style="margin:0px;font-stretch:normal;font-size:14px;line-height:normal;font-family:"Andale Mono";color:rgb(40,254,20);background-color:rgba(0,0,0,0.74902)"><span style="font-variant-ligatures:no-common-ligatures">[  0%] Built target createShareFolders</span></div><div style="margin:0px;font-stretch:normal;font-size:14px;line-height:normal;font-family:"Andale Mono";color:rgb(213,59,211);background-color:rgba(0,0,0,0.74902)"><span style="font-variant-ligatures:no-common-ligatures">Scanning dependencies of target qml_box2d</span></div><div style="margin:0px;font-stretch:normal;font-size:14px;line-height:normal;font-family:"Andale Mono";color:rgb(82,48,225);background-color:rgba(0,0,0,0.74902)"><span style="font-variant-ligatures:no-common-ligatures;color:#28fe14">[  0%] </span><span style="font-variant-ligatures:no-common-ligatures">Creating directories for 'qml_box2d'</span></div><div style="margin:0px;font-stretch:normal;font-size:14px;line-height:normal;font-family:"Andale Mono";color:rgb(82,48,225);background-color:rgba(0,0,0,0.74902)"><span style="font-variant-ligatures:no-common-ligatures;color:#28fe14">[  0%] </span><span style="font-variant-ligatures:no-common-ligatures">No download step for 'qml_box2d'</span></div><div style="margin:0px;font-stretch:normal;font-size:14px;line-height:normal;font-family:"Andale Mono";color:rgb(82,48,225);background-color:rgba(0,0,0,0.74902)"><span style="font-variant-ligatures:no-common-ligatures;color:#28fe14">[  0%] </span><span style="font-variant-ligatures:no-common-ligatures">No patch step for 'qml_box2d'</span></div><div style="margin:0px;font-stretch:normal;font-size:14px;line-height:normal;font-family:"Andale Mono";color:rgb(82,48,225);background-color:rgba(0,0,0,0.74902)"><span style="font-variant-ligatures:no-common-ligatures;color:#28fe14">[  1%] </span><span style="font-variant-ligatures:no-common-ligatures">No update step for 'qml_box2d'</span></div><div style="margin:0px;font-stretch:normal;font-size:14px;line-height:normal;font-family:"Andale Mono";color:rgb(82,48,225);background-color:rgba(0,0,0,0.74902)"><span style="font-variant-ligatures:no-common-ligatures;color:#28fe14">[  1%] </span><span style="font-variant-ligatures:no-common-ligatures">Performing configure step for 'qml_box2d'</span></div><div style="margin:0px;font-stretch:normal;font-size:14px;line-height:normal;font-family:"Andale Mono";color:rgb(40,254,20);background-color:rgba(0,0,0,0.74902)"><span style="font-variant-ligatures:no-common-ligatures">Cannot find file: /Users/bjcupps/src/GCompris-0.<wbr>61/external/qml-box2d/<a href="http://box2d.pro" target="_blank">box2d.<wbr>pro</a>.</span></div><div style="margin:0px;font-stretch:normal;font-size:14px;line-height:normal;font-family:"Andale Mono";color:rgb(40,254,20);background-color:rgba(0,0,0,0.74902)"><span style="font-variant-ligatures:no-common-ligatures">make[2]: *** [qml_box2d-prefix/src/qml_<wbr>box2d-stamp/qml_box2d-<wbr>configure] Error 2</span></div><div style="margin:0px;font-stretch:normal;font-size:14px;line-height:normal;font-family:"Andale Mono";color:rgb(40,254,20);background-color:rgba(0,0,0,0.74902)"><span style="font-variant-ligatures:no-common-ligatures">make[1]: *** [CMakeFiles/qml_box2d.dir/all] Error 2</span></div><div style="margin:0px;font-stretch:normal;font-size:14px;line-height:normal;font-family:"Andale Mono";color:rgb(40,254,20);background-color:rgba(0,0,0,0.74902)"><span style="font-variant-ligatures:no-common-ligatures">make: *** [all] Error 2</span></div><div><span style="font-variant-ligatures:no-common-ligatures"><br></span></div><div><span style="font-variant-ligatures:no-common-ligatures"><br></span></div><div><span style="font-variant-ligatures:no-common-ligatures">cmake did say something about git though, which I didn’t notice when Box2D was disabled; not sure if that’s related:</span></div><div><span style="font-variant-ligatures:no-common-ligatures"><br></span></div><div><span style="font-variant-ligatures:no-common-ligatures"><div style="margin:0px;font-stretch:normal;font-size:14px;line-height:normal;font-family:"Andale Mono";color:rgb(40,254,20);background-color:rgba(0,0,0,0.74902)"><span style="font-variant-ligatures:no-common-ligatures">-- Building qml-box2d module from submodule</span></div><div style="margin:0px;font-stretch:normal;font-size:14px;line-height:normal;font-family:"Andale Mono";color:rgb(40,254,20);background-color:rgba(0,0,0,0.74902)"><span style="font-variant-ligatures:no-common-ligatures">-- Found Git: /usr/bin/git (found version "2.14.3 (Apple Git-98)") </span></div><div style="margin:0px;font-stretch:normal;font-size:14px;line-height:normal;font-family:"Andale Mono";color:rgb(40,254,20);background-color:rgba(0,0,0,0.74902)"><span style="font-variant-ligatures:no-common-ligatures">fatal: Not a git repository (or any of the parent directories): .git</span></div><div style="margin:0px;font-stretch:normal;font-size:14px;line-height:normal;font-family:"Andale Mono";color:rgb(40,254,20);background-color:rgba(0,0,0,0.74902)"><span style="font-variant-ligatures:no-common-ligatures">-- Configuring done</span></div></span></div><div><div class="h5"><div><br><blockquote type="cite"><div>On Jan 22, 2018, at 11:22, Johnny Jazeix <<a href="mailto:jazeix@gmail.com" target="_blank">jazeix@gmail.com</a>> wrote:</div><br class="m_-7909587987055683815Apple-interchange-newline"><div><div dir="ltr"><div><div><div>Hi,<br><br></div>can you change the option QML_BOX2D_MODULE to submodule<span class="m_-7909587987055683815gmail-pl-s"></span> when you run cmake.<br></div><br></div>enabled does not exist ;)  (<a href="https://github.com/gcompris/GCompris-qt/blob/master/CMakeLists.txt#L373" target="_blank">https://github.com/gcompris/<wbr>GCompris-qt/blob/master/<wbr>CMakeLists.txt#L373</a>).<br><div><div><div><div><div class="gmail_extra"><br></div><div class="gmail_extra"><span style="font-variant-ligatures:no-common-ligatures">cmake -DQML_BOX2D_MODULE=</span><span style="font-variant-ligatures:no-common-ligatures">submodule<span class="m_-7909587987055683815gmail-pl-s"></span>  -DACTIVATION_MODE=internal ../GCompris-0.61<br></span></div><div class="gmail_extra"><br></div><div class="gmail_extra">I guess it would be better to start from the latest code version (I don't think much have changed regarding the build).<br></div><div class="gmail_extra"><span style="font-variant-ligatures:no-common-ligatures"></span></div><div class="gmail_extra">Thank you,</div><div class="gmail_extra"><br></div><div class="gmail_extra">Johnny</div><div class="gmail_extra"><br></div><div class="gmail_extra"><div class="gmail_quote">2018-01-22 17:50 GMT+01:00 B.J. <span dir="ltr"><<a href="mailto:bj@koupps.net" target="_blank">bj@koupps.net</a>></span>:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div>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…)<div><br></div><div>So now I guess we need to get Box2D working on this platform?   So far here’s what I get from this command:</div><div><br></div><div><div><span style="font-variant-ligatures:no-common-ligatures">~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~<wbr>~~~~~~~~~</span></div></div><div><br></div><div><div style="margin:0px;font-stretch:normal;font-size:14px;line-height:normal;font-family:"Andale Mono";color:rgb(40,254,20);background-color:rgba(0,0,0,0.75)"><span style="font-variant-ligatures:no-common-ligatures">$ cmake -DQML_BOX2D_MODULE=enabled -DACTIVATION_MODE=internal ../GCompris-0.61</span></div><div style="margin:0px;font-stretch:normal;font-size:14px;line-height:normal;font-family:"Andale Mono";color:rgb(40,254,20);background-color:rgba(0,0,0,0.75)"><span style="font-variant-ligatures:no-common-ligatures">-- The C compiler identification is AppleClang 9.0.0.9000039</span></div><div style="margin:0px;font-stretch:normal;font-size:14px;line-height:normal;font-family:"Andale Mono";color:rgb(40,254,20);background-color:rgba(0,0,0,0.75)"><span style="font-variant-ligatures:no-common-ligatures">-- The CXX compiler identification is AppleClang 9.0.0.9000039</span></div><div style="margin:0px;font-stretch:normal;font-size:14px;line-height:normal;font-family:"Andale Mono";color:rgb(40,254,20);background-color:rgba(0,0,0,0.75)"><span style="font-variant-ligatures:no-common-ligatures">-- Check for working C compiler: /Applications/Xcode.app/Conten<wbr>ts/Developer/Toolchains/XcodeD<wbr>efault.xctoolchain/usr/bin/cc</span></div><div style="margin:0px;font-stretch:normal;font-size:14px;line-height:normal;font-family:"Andale Mono";color:rgb(40,254,20);background-color:rgba(0,0,0,0.75)"><span style="font-variant-ligatures:no-common-ligatures">-- Check for working C compiler: /Applications/Xcode.app/Conten<wbr>ts/Developer/Toolchains/XcodeD<wbr>efault.xctoolchain/usr/bin/cc -- works</span></div><div style="margin:0px;font-stretch:normal;font-size:14px;line-height:normal;font-family:"Andale Mono";color:rgb(40,254,20);background-color:rgba(0,0,0,0.75)"><span style="font-variant-ligatures:no-common-ligatures">-- Detecting C compiler ABI info</span></div><div style="margin:0px;font-stretch:normal;font-size:14px;line-height:normal;font-family:"Andale Mono";color:rgb(40,254,20);background-color:rgba(0,0,0,0.75)"><span style="font-variant-ligatures:no-common-ligatures">-- Detecting C compiler ABI info - done</span></div><div style="margin:0px;font-stretch:normal;font-size:14px;line-height:normal;font-family:"Andale Mono";color:rgb(40,254,20);background-color:rgba(0,0,0,0.75)"><span style="font-variant-ligatures:no-common-ligatures">-- Detecting C compile features</span></div><div style="margin:0px;font-stretch:normal;font-size:14px;line-height:normal;font-family:"Andale Mono";color:rgb(40,254,20);background-color:rgba(0,0,0,0.75)"><span style="font-variant-ligatures:no-common-ligatures">-- Detecting C compile features - done</span></div><div style="margin:0px;font-stretch:normal;font-size:14px;line-height:normal;font-family:"Andale Mono";color:rgb(40,254,20);background-color:rgba(0,0,0,0.75)"><span style="font-variant-ligatures:no-common-ligatures">-- Check for working CXX compiler: /Applications/Xcode.app/Conten<wbr>ts/Developer/Toolchains/XcodeD<wbr>efault.xctoolchain/usr/bin/c++</span></div><div style="margin:0px;font-stretch:normal;font-size:14px;line-height:normal;font-family:"Andale Mono";color:rgb(40,254,20);background-color:rgba(0,0,0,0.75)"><span style="font-variant-ligatures:no-common-ligatures">-- Check for working CXX compiler: /Applications/Xcode.app/Conten<wbr>ts/Developer/Toolchains/XcodeD<wbr>efault.xctoolchain/usr/bin/c++ -- works</span></div><div style="margin:0px;font-stretch:normal;font-size:14px;line-height:normal;font-family:"Andale Mono";color:rgb(40,254,20);background-color:rgba(0,0,0,0.75)"><span style="font-variant-ligatures:no-common-ligatures">-- Detecting CXX compiler ABI info</span></div><div style="margin:0px;font-stretch:normal;font-size:14px;line-height:normal;font-family:"Andale Mono";color:rgb(40,254,20);background-color:rgba(0,0,0,0.75)"><span style="font-variant-ligatures:no-common-ligatures">-- Detecting CXX compiler ABI info - done</span></div><div style="margin:0px;font-stretch:normal;font-size:14px;line-height:normal;font-family:"Andale Mono";color:rgb(40,254,20);background-color:rgba(0,0,0,0.75)"><span style="font-variant-ligatures:no-common-ligatures">-- Detecting CXX compile features</span></div><div style="margin:0px;font-stretch:normal;font-size:14px;line-height:normal;font-family:"Andale Mono";color:rgb(40,254,20);background-color:rgba(0,0,0,0.75)"><span style="font-variant-ligatures:no-common-ligatures">-- Detecting CXX compile features - done</span></div><div style="margin:0px;font-stretch:normal;font-size:14px;line-height:normal;font-family:"Andale Mono";color:rgb(40,254,20);background-color:rgba(0,0,0,0.75)"><span style="font-variant-ligatures:no-common-ligatures">-- Performing Test COMPILER_SUPPORTS_CXX11</span></div><div style="margin:0px;font-stretch:normal;font-size:14px;line-height:normal;font-family:"Andale Mono";color:rgb(40,254,20);background-color:rgba(0,0,0,0.75)"><span style="font-variant-ligatures:no-common-ligatures">-- Performing Test COMPILER_SUPPORTS_CXX11 - Success</span></div><div style="margin:0px;font-stretch:normal;font-size:14px;line-height:normal;font-family:"Andale Mono";color:rgb(40,254,20);background-color:rgba(0,0,0,0.75)"><span style="font-variant-ligatures:no-common-ligatures">-- Performing Test COMPILER_SUPPORTS_CXX0X</span></div><div style="margin:0px;font-stretch:normal;font-size:14px;line-height:normal;font-family:"Andale Mono";color:rgb(40,254,20);background-color:rgba(0,0,0,0.75)"><span style="font-variant-ligatures:no-common-ligatures">-- Performing Test COMPILER_SUPPORTS_CXX0X - Success</span></div><div style="margin:0px;font-stretch:normal;font-size:14px;line-height:normal;font-family:"Andale Mono";color:rgb(40,254,20);background-color:rgba(0,0,0,0.75)"><span style="font-variant-ligatures:no-common-ligatures">CMake Error at CMakeLists.txt:416 (message):</span></div><div style="margin:0px;font-stretch:normal;font-size:14px;line-height:normal;font-family:"Andale Mono";color:rgb(40,254,20);background-color:rgba(0,0,0,0.75)"><span style="font-variant-ligatures:no-common-ligatures">  Did not find the qml-box2d module in system scope and submodule build was</span></div><div style="margin:0px;font-stretch:normal;font-size:14px;line-height:normal;font-family:"Andale Mono";color:rgb(40,254,20);background-color:rgba(0,0,0,0.75)"><span style="font-variant-ligatures:no-common-ligatures">  not requested.  Can't continue!</span></div></div><div><span style="font-variant-ligatures:no-common-ligatures"><br></span></div><div><span style="font-variant-ligatures:no-common-ligatures">~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~<wbr>~~~~~~~~~</span></div><div><span style="font-variant-ligatures:no-common-ligatures"><br></span></div><div><span style="font-variant-ligatures:no-common-ligatures">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.</span></div><span class="m_-7909587987055683815gmail-HOEnZb"><font color="#888888"><div><span style="font-variant-ligatures:no-common-ligatures"><br></span></div><div><span style="font-variant-ligatures:no-common-ligatures">B.J.</span></div><div><span style="font-variant-ligatures:no-common-ligatures"><br></span></div></font></span></div></blockquote></div><br></div></div></div></div></div></div>
</div></blockquote></div><br></div></div></div></div></blockquote></div><br></div>