pulp-platform / pulpino

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

cmake not found error even though cmake exist #389

Closed WazaAbdulkadir closed 2 years ago

WazaAbdulkadir commented 2 years ago

I have created necessary bash script in the build file where I will run cmake file as following:

cat pulpino_bash_script.sh 
export PATH="/opt/riscv/bin:$PATH"
export PATH="/opt/CMake/cmake-3.24.1-linux-x86_64/bin:$PATH"
export PATH="/opt/modelsim/modelsim_ase/bin:$PATH"

I run this bash script after sudo chmod +x ./pulpino_bash_script.sh.

Then I run my cmake file with ./cmake_configure.zeroriscy.gcc.sh. After this step I got error as following: ./cmake_configure.zeroriscy.gcc.sh: line 40: cmake: command not found

I checked the cmake version to see if the cmake command valid in the directory with: cmake --version

Then I got this message: Command 'cmake' not found, but can be installed with: sudo apt install cmake

It seems like exporting the path did not work??