Open AstroPi opened 5 years ago
Could you also paste your compile errors?
I suspect that the problems I am having with this is mainly due to my relative lack of practice with compiling in Linux. I ascertained that all the files the compiler needs are present in the /usr directory, but maybe not in the places the compiler is looking for them. I can move step by step through the build process by substituting /usr for the subdirectory of whatever the compiler is getting stuck at next, but there doesn't seem to be an end in sight.
Sorry for my ignorance.
pi@NanoPi-M4:~/Documents/Other Stuff/Software/PlanetaryImager-master$ mkdir build pi@NanoPi-M4:~/Documents/Other Stuff/Software/PlanetaryImager-master$ cd build pi@NanoPi-M4:~/Documents/Other Stuff/Software/PlanetaryImager-master/build$ cmake .. -DCMAKE_INSTALL_PREFIX=/usr -- The C compiler identification is GNU 7.4.0 -- The CXX compiler identification is GNU 7.4.0 -- Check for working C compiler: /usr/bin/cc -- Check for working C compiler: /usr/bin/cc -- 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: /usr/bin/c++ -- Check for working CXX compiler: /usr/bin/c++ -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Detecting CXX compile features -- Detecting CXX compile features - done -- Found PkgConfig: /usr/bin/pkg-config (found version "0.29.1") CMake Error at cmake/find_dependencies.cmake:7 (find_package): By not providing "FindQt5Widgets.cmake" in CMAKE_MODULE_PATH this project has asked CMake to find a package configuration file provided by "Qt5Widgets", but CMake did not find one.
Could not find a package configuration file provided by "Qt5Widgets" with any of the following names:
Qt5WidgetsConfig.cmake
qt5widgets-config.cmake
Add the installation prefix of "Qt5Widgets" to CMAKE_PREFIX_PATH or set "Qt5Widgets_DIR" to a directory containing one of the above files. If "Qt5Widgets" provides a separate development package or SDK, be sure it has been installed. Call Stack (most recent call first): CMakeLists.txt:15 (include)
-- Configuring incomplete, errors occurred! See also "/home/pi/Documents/Other Stuff/Software/PlanetaryImager-master/build/CMakeFiles/CMakeOutput.log". pi@NanoPi-M4:~/Documents/Other Stuff/Software/PlanetaryImager-master/build$ arch aarch64 pi@NanoPi-M4:~/Documents/Other Stuff/Software/PlanetaryImager-master/build$
I've just tried compiling the current master (9e7ba7e2
) under Ubuntu 18.04, on x86-64. This won't necessarily help for ARM64 distribution, but before compiling, try installing these dependencies:
sudo apt install git cmake build-essential pkg-config qt5-default qtdeclarative5-dev libboost-dev libopencv-dev libindi-dev libccfits-dev
Is your feature request related to a problem? Please describe. I have used Planetary Imager with good success on Raspberry Pi3s. I have now moved to a NanoPi-M4, running Ubuntu Mate 18.04 and tried to install the latest version of Planetary Imager using the .deb file. Installation aborts with the error Dependency not satisfiable libqt5gui5 >=5.5.0 However, installed libqt5gui5 is 5.9.5+dfsg-0ubuntu2.3
Describe the solution you'd like Make dependency satisfiable and thus allow installation of Planetary Imager to proceed
Describe alternatives you've considered Ran into problems trying to compile from source code
Additional context Add any other context or screenshots about the feature request here.