pulp-platform / pulpino

An open-source microcontroller system based on RISC-V
http://www.pulp-platform.org
Other
902 stars 298 forks source link

CMake Error at CMakeLists.txt:20 (enable_language) #388

Open ali77124 opened 2 years ago

ali77124 commented 2 years ago

Hello, good time!

I'm going to run PULPino on ubuntu 18.04 and i used ri5cy_gnutoolchain for this. But when using the ./cmakeconfigure.riscv.gcc.sh command, I get the following error:

C compiler identification is unknown System unknown to cmake, create: Platform/Linux-CXX To use this system, please send your configuration file to cmake@www.cmake.org so it can be added to cmake. Your CMakeCache.txt file was copied to CopyOfCMakeCache.txt. Please send that file to cmake@www.cmake.org. _CMake error in CMakeLists.txt:20 (enablelanguage): _No CMAKE_CCOMPILER found.

Tell CMake where to find the compiler by setting the environment _"CC" variable or CMake cache entry CMAKE_CCOMPILER to full path to Compiler or named Compiler if it is in PATH.

The configuration is incomplete, errors have occurred! See also "/home/ali/pulpino/sw/build/CMakeFiles/CMakeOutput.log". See also "/home/ali/pulpino/sw/build/CMakeFiles/CMakeError.log".

Also, the PATH variable related to ri5cy as below in the bashrc file. I added: _export PATH=/home/ri5cy_gnutoolchain/install/bin:$PATH

Thanks in advance for your help!