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 Error: Could not find cmake module file: CMakeDetermineDESCRIPTIONCompiler.cmake #711

Open
vikaschamp opened this issue Oct 9, 2021 · 1 comment

Comments

@vikaschamp
Copy link

CMake Error: Could not find cmake module file: CMakeDetermineDESCRIPTIONCompiler.cmake
CMake Error: Error required internal CMake variable not set, cmake may be not be built correctly.
Missing variable is:
CMAKE_DESCRIPTION_COMPILER_ENV_VAR
CMake Error: Error required internal CMake variable not set, cmake may be not be built correctly.
Missing variable is:
CMAKE_DESCRIPTION_COMPILER
CMake Error: Could not find cmake module file: /home/mother/rabbitmq-c/build/CMakeFiles/3.5.1/CMakeDESCRIPTIONCompiler.cmake
CMake Error: Could not find cmake module file: CMakeDetermineC RabbitMQ AMQP client libraryCompiler.cmake
CMake Error: Error required internal CMake variable not set, cmake may be not be built correctly.
Missing variable is:
CMAKE_C RabbitMQ AMQP client library_COMPILER_ENV_VAR
CMake Error: Error required internal CMake variable not set, cmake may be not be built correctly.
Missing variable is:
CMAKE_C RabbitMQ AMQP client library_COMPILER
CMake Error: Could not find cmake module file: /home/mother/rabbitmq-c/build/CMakeFiles/3.5.1/CMakeC RabbitMQ AMQP client libraryCompiler.cmake
CMake Error at CMakeLists.txt:24 (project):
No CMAKE_DESCRIPTION_COMPILER could be found.

Tell CMake where to find the compiler by setting the CMake cache entry
CMAKE_DESCRIPTION_COMPILER to the full path to the compiler, or to the
compiler name if it is in the PATH.

CMake Error: Could not find cmake module file: CMakeDESCRIPTIONInformation.cmake
CMake Error at CMakeLists.txt:24 (project):
No CMAKE_C RabbitMQ AMQP client library_COMPILER could be found.

Tell CMake where to find the compiler by setting the CMake cache entry
CMAKE_C RabbitMQ AMQP client library_COMPILER to the full path to the
compiler, or to the compiler name if it is in the PATH.

CMake Error: Could not find cmake module file: CMakeC RabbitMQ AMQP client libraryInformation.cmake
CMake Error: CMAKE_DESCRIPTION_COMPILER not set, after EnableLanguage
CMake Error: CMAKE_C RabbitMQ AMQP client library_COMPILER not set, after EnableLanguage
-- Configuring incomplete, errors occurred!

I am not able to genrate the make file of the project on ubuntu . Please suggest me , what am i missing here ?

@vikaschamp
Copy link
Author

after removing project description .
gettig this error :

  • Found OpenSSL: /usr/lib/x86_64-linux-gnu/libssl.so;/usr/lib/x86_64-linux-gnu/libcrypto.so (found suitable version "1.0.2g", minimum required is "1.0.0")
    -- Looking for pthread.h
    -- Looking for pthread.h - found
    -- Looking for pthread_create
    -- Looking for pthread_create - not found
    -- Check if compiler accepts -pthread
    -- Check if compiler accepts -pthread - yes
    -- Found Threads: TRUE
    You have called ADD_LIBRARY for library rabbitmq without any source files. This typically indicates a problem with your CMakeLists.txt file
    CMake Error at librabbitmq/CMakeLists.txt:97 (install):
    install TARGETS given unknown argument "NAMELINK_COMPONENT".

You have called ADD_LIBRARY for library rabbitmq-static without any source files. This typically indicates a problem with your CMakeLists.txt file
-- Performing Test COMPILER_HAS_HIDDEN_VISIBILITY
-- Performing Test COMPILER_HAS_HIDDEN_VISIBILITY - Success
-- Performing Test COMPILER_HAS_HIDDEN_INLINE_VISIBILITY
-- Performing Test COMPILER_HAS_HIDDEN_INLINE_VISIBILITY - Success
-- Performing Test COMPILER_HAS_DEPRECATED_ATTR
-- Performing Test COMPILER_HAS_DEPRECATED_ATTR - Success
CMake Error at /usr/share/cmake-3.5/Modules/GenerateExportHeader.cmake:316 (message):
Unknown keywords given to GENERATE_EXPORT_HEADER():
"INCLUDE_GUARD_NAME;RABBITMQ_C_EXPORT_H"
Call Stack (most recent call first):
/usr/share/cmake-3.5/Modules/GenerateExportHeader.cmake:378 (_do_generate_export_header)
librabbitmq/CMakeLists.txt:154 (generate_export_header)

-- Configuring incomplete, errors occurred!

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