Building from a git checkout
Posted: 05.11.2022, 16:14
Hello,
I was trying to build Celestia from a git checkout, following the instructions in INSTALL.md.
What I did was this:
But this ends the cmake configuration step with the warning:
and after installing, if I try to run celestia, it doesn't start, complaining that it cannot read the star database.
I understand that it needs a file data/stars.dat (either in /usr/local/share or in my homedir somehow), but it doesn't seem to be anywhere.
Did I do something wrong when trying to install? Or is there something missing in the installation instructions?
Thanks a lot!
I was trying to build Celestia from a git checkout, following the instructions in INSTALL.md.
What I did was this:
Code: Select all
git clone https://github.com/CelestiaProject/Celestia.git
cd Celestia
git submodule update -init
mkdir build
cd build
cmake .. -DENABLE_DATA=ON
make
sudo make install
But this ends the cmake configuration step with the warning:
Code: Select all
CMake Warning:
Manually-specified variables were not used by the project:
ENABLE_DATA
and after installing, if I try to run celestia, it doesn't start, complaining that it cannot read the star database.
I understand that it needs a file data/stars.dat (either in /usr/local/share or in my homedir somehow), but it doesn't seem to be anywhere.
Did I do something wrong when trying to install? Or is there something missing in the installation instructions?
Thanks a lot!