Thanks to visit codestin.com
Credit goes to github.com

Skip to content

cmake: Detecting C compile features - failed #26

@WANG-lp

Description

@WANG-lp

Hi,

When I try to use qrintf with cmake, I got following errors:

➜  cmake-build-debug git:(master) CC="/usr/local/bin/qrintf cc" cmake ..
-- The C compiler identification is GNU 8.1.0
-- Check for working C compiler: /usr/local/bin/qrintf
-- Check for working C compiler: /usr/local/bin/qrintf -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - failed
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Looking for pthread_create
-- Looking for pthread_create - not found
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE  
-- Configuring done
-- Generating done

As you can see, the cmake try to test the C compile features, but it failed.

How we integrate qrintf with cmake?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions