nlb@ubuntu:~$ cd sonic-pi/app/
nlb@ubuntu:~/sonic-pi/app$ ./linux-config.sh
Creating build directory...
Generating makefiles...
-- CMakeLists: Sonic Pi
CMake Error at /usr/share/cmake-3.18/Modules/CMakeDetermineSystem.cmake:99 (message):
Could not find toolchain file:
/home/nlb/sonic-pi/app/vcpkg/scripts/buildsystems/vcpkg.cmake
Call Stack (most recent call first):
CMakeLists.txt:30 (project)
CMake Error: CMake was unable to find a build program corresponding to "Unix Makefiles". CMAKE_MAKE_PROGRAM is not set. You probably need to select a different build tool.
CMake Error: CMAKE_C_COMPILER not set, after EnableLanguage
CMake Error: CMAKE_CXX_COMPILER not set, after EnableLanguage
-- Configuring incomplete, errors occurred!
Do you have make installed? Also if you are trying to install from the latest commit on dev you will need to install the latest version of Elixir and Erlang using asdf Install Elixir using asdf - Thinking Elixir
thanks for your quick answer
ok i will try asap. I installed the proposed packages for the raspberrypi. Copy paste.
So i guess the Elixir portion has to be added also fir the rpi.
see you soon
use latest when you install these. Look at the script in sonic-pi/app/pi-install-elixir.sh
Ubuntu will be similar (if not the same).
Make sure that you have preinstalled sudo apt-get -y install build-essential autoconf m4 libncurses5-dev libwxgtk3.0-gtk3-dev libgl1-mesa-dev libglu1-mesa-dev libpng-dev libssh-dev unixodbc-dev xsltproc fop
make sure you have added two lines to ~/.bashrc
in my case
* jinterface : No Java compiler found
APPLICATIONS INFORMATION (See: /home/nlb/.asdf/plugins/erlang/kerl-home/builds/asdf_24.1.6/otp_build_24.1.6.log)
* wx : wxWidgets was not compiled with --enable-webview or wxWebView developer package is not installed, wxWebView will NOT be available
I think you can ignore these warning errors. I’ve just insall erlang and elixir on my Ubuntu 20.04 ok. The erlang install takes a bit of time with no feedback after these error warnings until it is finished.
EDIT
one other package you will need I don’t think I mentioned is qtwebengine5-dev This is used in the phoenix build
Just completed my build. Working on 20.04 Only think that doesn’t is no splash screen. (same as on RPi and ubuntu 21.04) There have been recent changes in the way this is generated, and we are investigating why it is not working (OK on Mac). Not had any cmake problems.