Need help with compiling Celestia
Posted: 07.04.2020, 18:29
In part prompted by the Enhanced Celestia Project, I've decided to try compiling Celestia myself. I'm following the instructions in INSTALL.md and I've already installed Visual Studio, cmake, vcpkg, and everything that needs to be installed through vcpkg. Now I'm trying to build Celestia, and I'm getting errors; apparently there are several things missing. Does anyone know what I'm doing wrong here?
Command line output, 32-bit build:
Log file, 32-bit build:
Command line output, 64-bit build:
Log file, 64-bit build:
Command line output, 32-bit build:
Code: Select all
D:\GitHub\Celestia\build32>cmake -DCMAKE_TOOLCHAIN_FILE=D:/GitHub/vcpkg/scripts/buildsystems/vcpkg.cmake ..
-- Building for: Visual Studio 16 2019
CMake Warning at D:/GitHub/vcpkg/scripts/buildsystems/vcpkg.cmake:124 (message):
There are no libraries installed for the Vcpkg triplet x64-windows.
Call Stack (most recent call first):
C:/Program Files/CMake/share/cmake-3.17/Modules/CMakeDetermineSystem.cmake:93 (include)
CMakeLists.txt:17 (project)
-- The C compiler identification is MSVC 19.25.28612.0
-- The CXX compiler identification is MSVC 19.25.28612.0
-- Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.25.28610/bin/Hostx64/x64/cl.exe
-- Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.25.28610/bin/Hostx64/x64/cl.exe - works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.25.28610/bin/Hostx64/x64/cl.exe
-- Check for working CXX compiler: C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.25.28610/bin/Hostx64/x64/cl.exe - works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Could NOT find Gettext (missing: GETTEXT_MSGMERGE_EXECUTABLE GETTEXT_MSGFMT_EXECUTABLE)
CMake Warning at CMakeLists.txt:100 (message):
Gettext is not found, traslations won't be created.
CMake Error at C:/Program Files/CMake/share/cmake-3.17/Modules/FindPackageHandleStandardArgs.cmake:164 (message):
Failed to find Gettext libintl (missing: Intl_INCLUDE_DIR)
Call Stack (most recent call first):
C:/Program Files/CMake/share/cmake-3.17/Modules/FindPackageHandleStandardArgs.cmake:445 (_FPHSA_FAILURE_MESSAGE)
cmake/FindIntl.cmake:60 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)
D:/GitHub/vcpkg/scripts/buildsystems/vcpkg.cmake:286 (_find_package)
CMakeLists.txt:104 (find_package)
-- Configuring incomplete, errors occurred!
See also "D:/GitHub/Celestia/build32/CMakeFiles/CMakeOutput.log".
Log file, 32-bit build:
Command line output, 64-bit build:
Code: Select all
D:\GitHub\Celestia\build64>cmake -DCMAKE_GENERATOR_PLATFORM=x64 -DCMAKE_TOOLCHAIN_FILE=D:/GitHub/vcpkg/scripts/buildsystems/vcpkg.cmake ..
CMake Warning at D:/GitHub/vcpkg/scripts/buildsystems/vcpkg.cmake:124 (message):
There are no libraries installed for the Vcpkg triplet x64-windows.
Call Stack (most recent call first):
build64/CMakeFiles/3.17.0/CMakeSystem.cmake:6 (include)
CMakeLists.txt:17 (project)
-- Could NOT find Gettext (missing: GETTEXT_MSGMERGE_EXECUTABLE GETTEXT_MSGFMT_EXECUTABLE)
CMake Warning at CMakeLists.txt:100 (message):
Gettext is not found, traslations won't be created.
CMake Error at C:/Program Files/CMake/share/cmake-3.17/Modules/FindPackageHandleStandardArgs.cmake:164 (message):
Failed to find Gettext libintl (missing: Intl_INCLUDE_DIR)
Call Stack (most recent call first):
C:/Program Files/CMake/share/cmake-3.17/Modules/FindPackageHandleStandardArgs.cmake:445 (_FPHSA_FAILURE_MESSAGE)
cmake/FindIntl.cmake:60 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)
D:/GitHub/vcpkg/scripts/buildsystems/vcpkg.cmake:286 (_find_package)
CMakeLists.txt:104 (find_package)
-- Configuring incomplete, errors occurred!
See also "D:/GitHub/Celestia/build64/CMakeFiles/CMakeOutput.log".
Log file, 64-bit build: