[CMake] Unable to build cmoka project using cmake

Rajesh Kumar thisizprk at gmail.com
Thu Jun 22 03:47:15 EDT 2017


Hi Chuck,

Comments are inline.

Regards
Rajesh

On Wed, Jun 21, 2017, 8:32 PM Chuck Atkins <chuck.atkins at kitware.com> wrote:

> Hi Rajesh,
>  We would need more information to be useful:
>
>    - What version of CMake are you using? - 3.9.20170615 ( on 20170615 I
>    have downloaded the source code from git repository and complied on my AIX
>    machine)
>    - What compiler and version are you using? - gcc 4.2.0
>    - What OS and version are you using?
>    - Do you have separate source and build directories? AIX 1.6
>    - How are you running cmake? This is the command I am running to build
>    cmocka project. cmake $cmockasource path -Wno-dev --trace. Also I tried
>    compiling cmocka project by forcing the C compiler with
>    CMAKE_C_COMPILERFORCED, but no luck.
>
>
> ----------
> Chuck Atkins
> Staff R&D Engineer, Scientific Computing
> Kitware, Inc.
>
>
> On Wed, Jun 21, 2017 at 5:47 AM, Rajesh Kumar <thisizprk at gmail.com> wrote:
>
>> Hi All,
>>
>> I am unable to build cmocka project using Cmake. The below are the errors
>> which I'm facing.
>>
>> "The C compiler identification is unknown"
>> "System is unknown to cmake, create: to use this system, please send your
>> config file to cmake at www.cmake.org so it can be added to cmake"
>>
>> Please suggest.
>>
>> Regards
>> Rajesh
>>
>> --
>>
>> Powered by www.kitware.com
>>
>> Please keep messages on-topic and check the CMake FAQ at:
>> http://www.cmake.org/Wiki/CMake_FAQ
>>
>> Kitware offers various services to support the CMake community. For more
>> information on each offering, please visit:
>>
>> CMake Support: http://cmake.org/cmake/help/support.html
>> CMake Consulting: http://cmake.org/cmake/help/consulting.html
>> CMake Training Courses: http://cmake.org/cmake/help/training.html
>>
>> Visit other Kitware open-source projects at
>> http://www.kitware.com/opensource/opensource.html
>>
>> Follow this link to subscribe/unsubscribe:
>> http://public.kitware.com/mailman/listinfo/cmake
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/cmake/attachments/20170622/9918ce23/attachment.html>


More information about the CMake mailing list