System: Ubuntu 16.10
Main issue (?!): 16.10 does not have any installation candidate for libpng12-dev.
I then installed this file using ubuntu software instead: http://packages.ubuntu.com/xenial/amd64/libpng12-0/download
Also, »libexpat1-dev« was installed instead »libexpat-dev«.
See message:
Hinweis: »libexpat1-dev« wird an Stelle von »libexpat-dev« gewählt.
Is one of the two files the cause for the following error message (“A required package was not found”)?:
cmake -DCMAKE_CXX_FLAGS="-std=c++11 -Wno-deprecated-declarations -Wno-unused-result" -DWITH_LTO="OFF" -DCMAKE_BUILD_TYPE="release" -DPROC_TARGET_NUMBER="2" -DBUILD_BUNDLE="ON" -DBINDIR="." -DDATADIR="." -DCACHE_NAME_SUFFIX="4" ..
-- CMAKE_BUILD_TYPE: release
-- Checking for module 'gtk+-2.0>=2.12'
--
CMake Error at /usr/share/cmake-3.5/Modules/FindPkgConfig.cmake:367 (message):
A required package was not found
Call Stack (most recent call first):
/usr/share/cmake-3.5/Modules/FindPkgConfig.cmake:532 (_pkg_check_modules_internal)
CMakeLists.txt:229 (pkg_check_modules)
-- Configuring incomplete, errors occurred!
See also "/home/tom/repo-rt/build/CMakeFiles/CMakeOutput.log".
I also checked that CMakeOutput.log - much info there but none that I can use.
Please Help - thank you!
CMake usually says, what it is checking for, and that’s the case here, too:
-- Checking for module 'gtk+-2.0>=2.12'
Obviously you are missing the libgtk2.0-dev package.
As for the libpng12-dev issue: Is there a libpng-dev package available? Some package names changed in Debian since RawPedia was last updated. Usually, they are named quite similar to those given on RawPedia.
When you succeed, please post those renamed packages here, so that @Morgan_Hardwood can update RawPedia for others. Thanks!
No success, since now cmake fails like the following:
– CMAKE_BUILD_TYPE: release
– Checking for module ‘gtk±2.0>=2.12’
– Found gtk±2.0, version 2.24.30
– Checking for module ‘glib-2.0>=2.16’
– Found glib-2.0, version 2.50.0
– Checking for module ‘glibmm-2.4>=2.16’
CMake Error at /usr/share/cmake-3.5/Modules/FindPkgConfig.cmake:367 (message):
A required package was not found
Call Stack (most recent call first):
/usr/share/cmake-3.5/Modules/FindPkgConfig.cmake:532 (_pkg_check_modules_internal)
CMakeLists.txt:231 (pkg_check_modules)
– Configuring incomplete, errors occurred!
See also “/home/tom/repo-rt/build/CMakeFiles/CMakeOutput.log”.