Install STARlight simulation

I installed root in windows 10 with WSL.

To install starlight, I followed the steps in Starlight hepfroge page.

To build Starlight:

  • First create your build directory (e.g. mkdir bin)
  • $ cd
  • $ cmake
  • $ make

This creates an executable file, starlight, in the build directory.

To clean the build:

  • $ make clean
    To run starlight, a configuration file, slight.in, is needed. Examples of
    slight.in may be found in the config/ directory.

To run:
$ ./starlight

I tried a lot to fix this error in ubuntu

physics@DESKTOP-50581NR:~$ mkdir build

mkdir: cannot create directory ‘build’: File exists
physics@DESKTOP-50581NR:~$ cd build

physics@DESKTOP-50581NR:~/build$ cmake root

CMake Error: The source directory “/home/physics/build/root” does not exist. Specify --help for usage, or press the help button on the CMake GUI.

Please help me

physics@DESKTOP-50581NR:~$ mkdir build

mkdir: cannot create directory ‘build’: File exists
physics@DESKTOP-50581NR:~$ cd build

physics@DESKTOP-50581NR:~/build$ cmake root

CMake Error: The source directory “/home/physics/build/root” does not exist. Specify --help for usage, or press the help button on the CMake GUI.

cmake root is bot correct because the root folder is, very likely, not in the build folder. Specify the path where root is: cmake /where/is/root/root

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.