[GCompris-devel] MacOSX assistance

Arnold Dumas contact at arnolddumas.fr
Tue Jan 13 22:01:15 UTC 2015


Am 13.01.15 um 20:21 schrieb JAZEIX Johnny:
> Hi,
>
> To create a package, you have to create a folder besides the gcompris
> source folder and inside it, type "cmake ../gcompris & make && make
> package". It "should" generate a macOS package.
>
> I didn't have a mac and Bruno said there were problems so I'm not sure
> all of this works.
>
> If you can send us the results of these commands, we probably can help you.
>
> Johnny
>
> On 01/13/15 19:32, Bruno Coudoin wrote:
>>
>> Le 13/01/2015 18:03, Arnold Dumas a écrit :
>>>
>>> I would also be interested in this topic. I recently tried to compile
>>> GCompris on OS X but I wasn't able to generate a proper Makefile.
>>> Maybe the CMakeLists file needs some specific tweaks, not sure at the
>>> moment.
>>>
>>> Any hint would be very appreciated.
>>
>> Hi,
>>
>> It is highly probable that you first need to install CMake:
>> http://www.cmake.org/download/
>>
>> Bruno.
>>
>> _______________________________________________
>> GCompris-devel mailing list
>> GCompris-devel at kde.org
>> https://mail.kde.org/mailman/listinfo/gcompris-devel
>
> _______________________________________________
> GCompris-devel mailing list
> GCompris-devel at kde.org
> https://mail.kde.org/mailman/listinfo/gcompris-devel

Yes both Qt5 and CMake are installed. I have a basic understanding of 
CMake, and can compile GCompris on GNU/Linux. On OSX, I tried this:

paradise:gcompris-build Arnold$ export 
Qt5_DIR=/Users/Arnold/Qt/5.4/clang_64/lib/cmake/Qt5/
paradise:gcompris-build Arnold$ 
/Applications/CMake.app/Contents/bin/cmake ../gcompris
-- The C compiler identification is AppleClang 6.0.0.6000056
-- The CXX compiler identification is AppleClang 6.0.0.6000056
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Performing Test COMPILER_SUPPORTS_CXX11
-- Performing Test COMPILER_SUPPORTS_CXX11 - Success
-- Performing Test COMPILER_SUPPORTS_CXX0X
-- Performing Test COMPILER_SUPPORTS_CXX0X - Success
-- Configuring done
-- Generating done
-- Build files have been written to: 
/Users/Arnold/Documents/KDE/gcompris-build
paradise:gcompris-build Arnold$ make
Scanning dependencies of target createShareFolders
[  0%] Generating shareFolders
make[2]: cmake: No such file or directory
make[2]: *** [shareFolders] Error 1
make[1]: *** [CMakeFiles/createShareFolders.dir/all] Error 2
make: *** [all] Error 2

I then obtain an invalid gcompris-qt.app in the bin/ folder. I'm new to 
the OSX world so I might have did it wrong.

-- 
Arnold Dumas
http://arnolddumas.fr


More information about the GCompris-devel mailing list