Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cmake: Detecting C compile features - failed #26

Open
WANG-lp opened this issue May 16, 2018 · 0 comments
Open

cmake: Detecting C compile features - failed #26

WANG-lp opened this issue May 16, 2018 · 0 comments

Comments

@WANG-lp
Copy link

WANG-lp commented May 16, 2018

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant