alanxz / rabbitmq-c

RabbitMQ C client
MIT License
1.76k stars 669 forks source link

CMake Error: Could not find cmake module file: CMakeDetermineDESCRIPTIONCompiler.cmake #711

Open vikaschamp opened 2 years ago

vikaschamp commented 2 years ago

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 commented 2 years ago

after removing project description . gettig this error :

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!