GCompris on OSX (Mac)

Johnny Jazeix jazeix at gmail.com
Fri Aug 12 15:13:21 UTC 2016


Sure, go on https://webchat.freenode.net/, choose a nickname, #gcompris as
server

2016-08-12 17:11 GMT+02:00 Ütkarsh Tiwari <iamutkarshtiwari at gmail.com>:

> Hi,
>     Apologies for bugging you repeatedly for such a simple task. Can we
> meet on irc?
>
> Regards,
> Utkarsh
>
> On Fri, Aug 12, 2016 at 8:38 PM, Johnny Jazeix <jazeix at gmail.com> wrote:
>
>> The config.h is incomplete, it should contains the same macros as
>> https://github.com/gcompris/GCompris-qt/blob/master/src/core/config.h.in
>> You have to update it to have the same macros as there is in the above
>> file.
>> And you need to replace @GCOMPRIS_VERSION_CODE@ by 7000,
>> @ACTIVATION_MODE@ by ON, @BUILD_DATE@ by 160811.
>>
>> I can fix it in the repo in 3/4 hours I think if you don't manage to do
>> it.
>>
>> Johnny
>>
>>
>> 2016-08-12 17:05 GMT+02:00 Ütkarsh Tiwari <iamutkarshtiwari at gmail.com>:
>>
>>> Hi,
>>>     I think I am doing something wrong here. I'll list all the steps I
>>> did -
>>>
>>> MacOSX build instruction.
>>>
>>> copy the following files at the root dir
>>> cp config.h ../..
>>> cp gcompris.pro ../..
>>> cp gcompris.icns ../..
>>>
>>> At root dir create the directory
>>> mkdir rcc
>>> mkdir translations
>>>
>>> And fill copy the appropriate files in them.
>>>
>>> Create a build directory:
>>> mkdir build-macosx
>>> cd build-macosx
>>> ~/Qt/5.5/clang_64/bin/qmake -config release ../gcompris.pro
>>> make
>>> After the 'make' command I get this error - https://gist.github.com/anonymous/32a792a25556bf1e767d34560847b309
>>>
>>> Are there any steps missing in the above instructions?
>>>
>>>
>>> Regards,
>>>
>>> Utkarsh Tiwari
>>>
>>>
>>>
>>>
>>> On Fri, Aug 12, 2016 at 6:43 PM, Johnny Jazeix <jazeix at gmail.com> wrote:
>>>
>>>> Hi,
>>>>
>>>> the other way would be to compile using cmake. In the build folder,
>>>> cmake ../gcompris (put the good path to the gcompris source) will create
>>>> the Makefile, and then make to compile, followed by ./bin/gcompris to run.
>>>>
>>>> Johnny
>>>>
>>>> 2016-08-12 15:06 GMT+02:00 B.J. <bj at koupps.net>:
>>>>
>>>>> Bet that was it!  Sorry I wasn’t much help…
>>>>>
>>>>>
>>>>>
>>>>> *From:* Johnny Jazeix [mailto:jazeix at gmail.com]
>>>>> *Sent:* Friday, August 12, 2016 8:04 AM
>>>>> *To:* Ütkarsh Tiwari <iamutkarshtiwari at gmail.com>
>>>>> *Cc:* gcompris-devel at kde.org
>>>>> *Subject:* Re: GCompris on OSX (Mac)
>>>>>
>>>>>
>>>>>
>>>>> The config.h is incomplete, it should contains the same macros as
>>>>> https://github.com/gcompris/GCompris-qt/blob/master/src/core
>>>>> /config.h.in
>>>>>
>>>>> Replace @GCOMPRIS_VERSION_CODE@ by 7000, @ACTIVATION_MODE@ by ON,
>>>>> @BUILD_DATE@ with 160811.
>>>>>
>>>>> Johnny
>>>>>
>>>>>
>>>>>
>>>>> 2016-08-12 14:52 GMT+02:00 Ütkarsh Tiwari <iamutkarshtiwari at gmail.com
>>>>> >:
>>>>>
>>>>> Hi,
>>>>>
>>>>>     I have installed cmake already. I followed the build procedure
>>>>> mentioned on this page - https://github.com/gcompris/
>>>>> GCompris-qt/tree/master/platforms/macosx
>>>>>
>>>>>
>>>>>
>>>>> Regards,
>>>>>
>>>>> Utkarsh Tiwari
>>>>>
>>>>>
>>>>>
>>>>> On Fri, Aug 12, 2016 at 6:13 PM, Johnny Jazeix <jazeix at gmail.com>
>>>>> wrote:
>>>>>
>>>>> Have you run cmake? The config.h (or gcompris-config.h) is supposed to
>>>>> be created by it.
>>>>>
>>>>> Johnny
>>>>>
>>>>>
>>>>>
>>>>> 2016-08-12 14:18 GMT+02:00 Ütkarsh Tiwari <iamutkarshtiwari at gmail.com
>>>>> >:
>>>>>
>>>>> Hi,
>>>>>
>>>>>     I don't have 'config.h' file instead I have 'config.h.in' in my
>>>>> build/src/core/ folder. I tried renaming it as you specified but I got this
>>>>> error - https://gist.github.com/anonymous/4a952fe0aa85535ba1ce75d5
>>>>> 18eb3dc6
>>>>>
>>>>>
>>>>>
>>>>> Regards,
>>>>>
>>>>> Utkarsh Tiwari
>>>>>
>>>>>
>>>>>
>>>>> On Fri, Aug 12, 2016 at 12:01 PM, JAZEIX Johnny <jazeix at gmail.com>
>>>>> wrote:
>>>>>
>>>>> Hi,
>>>>>
>>>>> it seems it does not find the good config.h (ours, which is in the
>>>>> build folder in build/src/core/config.h).
>>>>>
>>>>> Can you check if you have this file and if in it there is #define
>>>>> VERSION_CODE 7000?
>>>>>
>>>>> If it is the case, we can try to rename the file to see if it works,
>>>>> you have it in the following files in src/core:
>>>>> ./CMakeLists.txt:3:configure_file(config.h.in
>>>>> "${CMAKE_CURRENT_BINARY_DIR}/config.h" @ONLY)
>>>>> ./CMakeLists.txt:36:   config.h.in
>>>>> ./CMakeLists.txt:46:  "${CMAKE_CURRENT_BINARY_DIR}"   # to find
>>>>> config.h
>>>>> ./ApplicationInfo.h:27:#include <config.h>
>>>>> ./ApplicationSettingsDefault.cpp:23:#include "config.h"
>>>>> ./config.h.in:1:/* GCompris - config.h
>>>>>
>>>>> I would rename it like (prefix by "gcompris_"):
>>>>> ./CMakeLists.txt:3:configure_file(config.h.in
>>>>> "${CMAKE_CURRENT_BINARY_DIR}/gcompris_config.h" @ONLY)
>>>>> ./CMakeLists.txt:36:   gcompris_config.h.in
>>>>> ./CMakeLists.txt:46:  "${CMAKE_CURRENT_BINARY_DIR}"   # to find
>>>>> gcompris_config.h
>>>>> ./ApplicationInfo.h:27:#include <gcompris_config.h>
>>>>> ./ApplicationSettingsDefault.cpp:23:#include "gcompris_config.h"
>>>>> ./config.h.in:1:/* GCompris - gcompris_config.h
>>>>>
>>>>> If it works, I'll commit it later.
>>>>>
>>>>> Johnny
>>>>>
>>>>>
>>>>>
>>>>> On 08/12/16 07:25, Ütkarsh Tiwari wrote:
>>>>>
>>>>> Hi,
>>>>>
>>>>>     I am getting this error while compiling GCompris on OSX
>>>>> https://gist.github.com/anonymous/32a792a25556bf1e767d34560847b309
>>>>>
>>>>>
>>>>>
>>>>> Regards,
>>>>>
>>>>> Ütkarsh Tiwari
>>>>>
>>>>>
>>>>>
>>>>> On Fri, Aug 12, 2016 at 1:45 AM, JAZEIX Johnny <jazeix at gmail.com>
>>>>> wrote:
>>>>>
>>>>> On 08/11/16 20:25, Ütkarsh Tiwari wrote:
>>>>>
>>>>> Hello Mr. Jazeix,
>>>>>
>>>>>      I would like to contribute to GCompris. I am on Mac OSX platform.
>>>>> I was unable to find any tutorial to setup GCompris on Macbooks. Could you
>>>>> please guide me how to get about it?
>>>>>
>>>>>
>>>>>
>>>>> --
>>>>>
>>>>> Regards,
>>>>> Ütkarsh Tiwari
>>>>>
>>>>>
>>>>> Hi,
>>>>>
>>>>> as Bruno answered you last time, you can try to compile using cmake.
>>>>>
>>>>> You have some info at http://gcompris.net/wiki/Qt_Qu
>>>>> ick_development_process to compile for linux, it should be similar to
>>>>> compile for mac.
>>>>>
>>>>> You need to install cmake, Qt (https://www.qt.io/download-open-source/
>>>>> for OS X host) and git. Then, you can follow the steps in the link above
>>>>> (either using QtCreator or in terminal "cmake && make &&
>>>>> ./bin/gcompris-qt").
>>>>>
>>>>> I add the list in cc as some people on it have already compiled for
>>>>> macOSX.
>>>>>
>>>>> If you have issues, feel free to come in the irc channel if it is
>>>>> easier for you.
>>>>>
>>>>> Johnny
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> --
>>>>>
>>>>> Regards,
>>>>> Ütkarsh Tiwari
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> --
>>>>>
>>>>> Regards,
>>>>> Ütkarsh Tiwari
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> --
>>>>>
>>>>> Regards,
>>>>> Ütkarsh Tiwari
>>>>>
>>>>>
>>>>>
>>>>>
>>>>
>>>>
>>>
>>>
>>> --
>>> Regards,
>>> Ütkarsh Tiwari
>>>
>>>
>>>
>>>
>>
>
>
> --
> Regards,
> Ütkarsh Tiwari
>
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/gcompris-devel/attachments/20160812/7a24daf7/attachment-0001.html>


More information about the GCompris-devel mailing list