<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <p>Anja,</p>
    <p>the minimum will be to install PROJ with:</p>
    <p>apt-get install libproj-dev</p>
    <p>For a build with nearly all open source dependencies, you can
      find the list to install in
<a class="moz-txt-link-freetext" href="https://github.com/OSGeo/gdal/blob/5db56957dd9b5d00098f5ac8abb75a3c756cc0aa/.github/workflows/cmake_builds.yml#L57">https://github.com/OSGeo/gdal/blob/5db56957dd9b5d00098f5ac8abb75a3c756cc0aa/.github/workflows/cmake_builds.yml#L57</a></p>
    <p>You can also play with the ready-made Docker images listed at
      <a class="moz-txt-link-freetext" href="https://github.com/OSGeo/gdal/tree/master/docker">https://github.com/OSGeo/gdal/tree/master/docker</a><br>
    </p>
    <p>Even<br>
    </p>
    <p><br>
    </p>
    <div class="moz-cite-prefix">Le 24/01/2023 à 00:05, Anja Sheppard a
      écrit :<br>
    </div>
    <blockquote type="cite"
cite="mid:CAK=EQyMbvUnOZ1OPj-O0OCa-APM+AV6QVEMpu1DK+jm3cELxQQ@mail.gmail.com">
      <div dir="ltr">Hello gdal community--
        <div><br>
        </div>
        <div>I am new to this tool, and am trying to build it on Ubuntu
          20.04. I don't use conda, so I'm running into problems with
          the dependencies. I downloaded the current release .tar.gz
          file from <a href="https://gdal.org/download.html"
            moz-do-not-send="true" class="moz-txt-link-freetext">https://gdal.org/download.html</a> and
          then unpacked it. I then followed the instructions on the
          build help website which I found through the readme. I ran:</div>
        <div><br>
        </div>
        <div><b>$ mkdir build</b></div>
        <div><b>$ cd build</b></div>
        <div><b>$ cmake ..</b></div>
        <div><br>
        </div>
        <div>And then the result was the output pasted at the end of
          this email.</div>
        <div><br>
        </div>
        <div>What are the dependencies that I can just install with apt?
          I don't use conda or any of the other package managers listed
          in the readme. Any help is appreciated.</div>
        <div><br>
        </div>
        <div>Alternatively, if anyone has any other tools that can be
          used for converting .DAT to .IMG or .JPG files, I would be
          very eager to hear more. I have not been able to
          successfully view a .DAT image from the NASA PDS website as of
          yet.</div>
        <div><br>
        </div>
        <div>Thanks,</div>
        <div><br>
        </div>
        <div>Anja Sheppard</div>
        <div><br>
        </div>
        <div><b>-- The C compiler identification is GNU 9.4.0<br>
            -- The CXX compiler identification is GNU 9.4.0<br>
            -- Check for working C compiler: /usr/bin/cc<br>
            -- Check for working C compiler: /usr/bin/cc -- works<br>
            -- Detecting C compiler ABI info<br>
            -- Detecting C compiler ABI info - done<br>
            -- Detecting C compile features<br>
            -- Detecting C compile features - done<br>
            -- Check for working CXX compiler: /usr/bin/c++<br>
            -- Check for working CXX compiler: /usr/bin/c++ -- works<br>
            -- Detecting CXX compiler ABI info<br>
            -- Detecting CXX compiler ABI info - done<br>
            -- Detecting CXX compile features<br>
            -- Detecting CXX compile features - done<br>
            -- Performing Test test_sse<br>
            -- Performing Test test_sse - Success<br>
            -- Looking for C++ include xmmintrin.h<br>
            -- Looking for C++ include xmmintrin.h - found<br>
            -- Performing Test test_sse2<br>
            -- Performing Test test_sse2 - Success<br>
            -- Looking for C++ include emmintrin.h<br>
            -- Looking for C++ include emmintrin.h - found<br>
            -- Performing Test test_ssse3<br>
            -- Performing Test test_ssse3 - Success<br>
            -- Looking for C++ include tmmintrin.h<br>
            -- Looking for C++ include tmmintrin.h - found<br>
            -- Performing Test test_sse4.1<br>
            -- Performing Test test_sse4.1 - Success<br>
            -- Looking for C++ include smmintrin.h<br>
            -- Looking for C++ include smmintrin.h - found<br>
            -- Performing Test test_avx<br>
            -- Performing Test test_avx - Success<br>
            -- Looking for C++ include immintrin.h<br>
            -- Looking for C++ include immintrin.h - found<br>
            -- Performing Test test_avx2<br>
            -- Performing Test test_avx2 - Success<br>
            -- Found Python: /usr/bin/python3.8 (found suitable version
            "3.8.10", minimum required is "3.6") found components:
            Interpreter Development NumPy <br>
            -- Performing Test HAVE_WFLAG_ALL<br>
            -- Performing Test HAVE_WFLAG_ALL - Success<br>
            -- Performing Test HAVE_WFLAG_EXTRA<br>
            -- Performing Test HAVE_WFLAG_EXTRA - Success<br>
            -- Performing Test HAVE_WFLAG_INIT_SELF<br>
            -- Performing Test HAVE_WFLAG_INIT_SELF - Success<br>
            -- Performing Test HAVE_WFLAG_UNUSED_PARAMETER<br>
            -- Performing Test HAVE_WFLAG_UNUSED_PARAMETER - Success<br>
            -- Performing Test HAVE_WFLAG_MISSING_PROTOTYPES<br>
            -- Performing Test HAVE_WFLAG_MISSING_PROTOTYPES - Success<br>
            -- Performing Test HAVE_WFLAG_MISSING_DECLARATIONS<br>
            -- Performing Test HAVE_WFLAG_MISSING_DECLARATIONS - Success<br>
            -- Performing Test HAVE_WFLAG_SHORTEN_64_TO_32<br>
            -- Performing Test HAVE_WFLAG_SHORTEN_64_TO_32 - Failed<br>
            -- Performing Test HAVE_WFLAG_LOGICAL_OP<br>
            -- Performing Test HAVE_WFLAG_LOGICAL_OP - Success<br>
            -- Performing Test HAVE_WFLAG_SHADOW<br>
            -- Performing Test HAVE_WFLAG_SHADOW - Success<br>
            -- Performing Test HAVE_WFLAG_SHADOW_FIELD<br>
            -- Performing Test HAVE_WFLAG_SHADOW_FIELD - Failed<br>
            -- Performing Test HAVE_WFLAG_MISSING_INCLUDE_DIRS<br>
            -- Performing Test HAVE_WFLAG_MISSING_INCLUDE_DIRS - Success<br>
            -- Performing Test HAVE_WFLAG_FORMAT_SECURITY<br>
            -- Performing Test HAVE_WFLAG_FORMAT_SECURITY - Success<br>
            -- Performing Test HAVE_WFLAG_ERROR_VLA<br>
            -- Performing Test HAVE_WFLAG_ERROR_VLA - Success<br>
            -- Performing Test HAVE_WFLAG_NO_CLOBBERED<br>
            -- Performing Test HAVE_WFLAG_NO_CLOBBERED - Success<br>
            -- Performing Test HAVE_WFLAG_DATE_TIME<br>
            -- Performing Test HAVE_WFLAG_DATE_TIME - Success<br>
            -- Performing Test HAVE_WFLAG_NULL_DEREFERENCE<br>
            -- Performing Test HAVE_WFLAG_NULL_DEREFERENCE - Success<br>
            -- Performing Test HAVE_WFLAG_DUPLICATE_COND<br>
            -- Performing Test HAVE_WFLAG_DUPLICATE_COND - Failed<br>
            -- Performing Test HAVE_WFLAG_EXTRA_SEMI<br>
            -- Performing Test HAVE_WFLAG_EXTRA_SEMI - Success<br>
            -- Performing Test HAVE_WFLAG_COMMA<br>
            -- Performing Test HAVE_WFLAG_COMMA - Failed<br>
            -- Performing Test HAVE_WFLAG_FLOAT_CONVERSION<br>
            -- Performing Test HAVE_WFLAG_FLOAT_CONVERSION - Success<br>
            -- Performing Test
            HAVE_WFLAG_DOCUMENTATION_AND_NO_DEPRECATED<br>
            -- Performing Test
            HAVE_WFLAG_DOCUMENTATION_AND_NO_DEPRECATED - Failed<br>
            -- Performing Test HAVE_WFLAG_UNUSED_PRIVATE_FIELD<br>
            -- Performing Test HAVE_WFLAG_UNUSED_PRIVATE_FIELD - Failed<br>
            -- Performing Test HAVE_WFLAG_NON_VIRTUAL_DTOR<br>
            -- Performing Test HAVE_WFLAG_NON_VIRTUAL_DTOR - Success<br>
            -- Performing Test HAVE_WFLAG_OVERLOADED_VIRTUAL<br>
            -- Performing Test HAVE_WFLAG_OVERLOADED_VIRTUAL - Success<br>
            -- Performing Test HAVE_WFLAG_SUGGEST_OVERRIDE<br>
            -- Performing Test HAVE_WFLAG_SUGGEST_OVERRIDE - Success<br>
            -- Performing Test HAVE_FLAG_NO_OPERATOR_NAMES<br>
            -- Performing Test HAVE_FLAG_NO_OPERATOR_NAMES - Success<br>
            -- Performing Test
            HAVE_GCC_WARNING_ZERO_AS_NULL_POINTER_CONSTANT<br>
            -- Performing Test
            HAVE_GCC_WARNING_ZERO_AS_NULL_POINTER_CONSTANT - Success<br>
            -- Performing Test HAVE_WFLAG_OLD_STYLE_CAST<br>
            -- Performing Test HAVE_WFLAG_OLD_STYLE_CAST - Success<br>
            -- Performing Test HAVE_WFLAG_EFFCXX<br>
            -- Performing Test HAVE_WFLAG_EFFCXX - Success<br>
            -- Looking for vsnprintf<br>
            -- Looking for vsnprintf - found<br>
            -- Looking for getcwd<br>
            -- Looking for getcwd - found<br>
            -- Looking for fcntl.h<br>
            -- Looking for fcntl.h - found<br>
            -- Looking for unistd.h<br>
            -- Looking for unistd.h - found<br>
            -- Looking for sys/types.h<br>
            -- Looking for sys/types.h - found<br>
            -- Looking for locale.h<br>
            -- Looking for locale.h - found<br>
            -- Looking for xlocale.h<br>
            -- Looking for xlocale.h - not found<br>
            -- Looking for direct.h<br>
            -- Looking for direct.h - not found<br>
            -- Looking for dlfcn.h<br>
            -- Looking for dlfcn.h - found<br>
            -- Looking for stdint.h<br>
            -- Looking for stdint.h - found<br>
            -- Looking for stddef.h<br>
            -- Looking for stddef.h - found<br>
            -- Check size of int<br>
            -- Check size of int - done<br>
            -- Check size of unsigned long<br>
            -- Check size of unsigned long - done<br>
            -- Check size of void*<br>
            -- Check size of void* - done<br>
            -- Check size of size_t<br>
            -- Check size of size_t - done<br>
            -- Check if the system is big endian<br>
            -- Searching 16 bit integer<br>
            -- Check size of unsigned short<br>
            -- Check size of unsigned short - done<br>
            -- Using unsigned short<br>
            -- Check if the system is big endian - little endian<br>
            -- Looking for pthread.h<br>
            -- Looking for pthread.h - found<br>
            -- Performing Test CMAKE_HAVE_LIBC_PTHREAD<br>
            -- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Failed<br>
            -- Looking for pthread_create in pthreads<br>
            -- Looking for pthread_create in pthreads - not found<br>
            -- Looking for pthread_create in pthread<br>
            -- Looking for pthread_create in pthread - found<br>
            -- Found Threads: TRUE  <br>
            -- Performing Test HAVE_PTHREAD_MUTEX_RECURSIVE<br>
            -- Performing Test HAVE_PTHREAD_MUTEX_RECURSIVE - Success<br>
            -- Performing Test HAVE_PTHREAD_MUTEX_ADAPTIVE_NP<br>
            -- Performing Test HAVE_PTHREAD_MUTEX_ADAPTIVE_NP - Success<br>
            -- Performing Test HAVE_PTHREAD_SPINLOCK<br>
            -- Performing Test HAVE_PTHREAD_SPINLOCK - Success<br>
            -- Performing Test HAVE_5ARGS_MREMAP<br>
            -- Performing Test HAVE_5ARGS_MREMAP - Success<br>
            -- Performing Test HAVE_PTHREAD_ATFORK<br>
            -- Performing Test HAVE_PTHREAD_ATFORK - Success<br>
            -- Looking for sys/stat.h<br>
            -- Looking for sys/stat.h - found<br>
            -- Looking for linux/fs.h<br>
            -- Looking for linux/fs.h - found<br>
            -- Looking for readlink<br>
            -- Looking for readlink - found<br>
            -- Looking for posix_spawnp<br>
            -- Looking for posix_spawnp - found<br>
            -- Looking for posix_memalign<br>
            -- Looking for posix_memalign - found<br>
            -- Looking for vfork<br>
            -- Looking for vfork - found<br>
            -- Looking for mmap<br>
            -- Looking for mmap - found<br>
            -- Looking for sigaction<br>
            -- Looking for sigaction - found<br>
            -- Looking for statvfs<br>
            -- Looking for statvfs - found<br>
            -- Looking for statvfs64<br>
            -- Looking for statvfs64 - found<br>
            -- Looking for lstat<br>
            -- Looking for lstat - found<br>
            -- Looking for getrlimit<br>
            -- Looking for getrlimit - found<br>
            -- Looking for RLIMIT_AS<br>
            -- Looking for RLIMIT_AS - found<br>
            -- Looking for ftell64<br>
            -- Looking for ftell64 - not found<br>
            -- Looking for ftello64<br>
            -- Looking for ftello64 - found<br>
            -- Looking for fseek64<br>
            -- Looking for fseek64 - not found<br>
            -- Looking for fseeko64<br>
            -- Looking for fseeko64 - found<br>
            -- Looking for stat64<br>
            -- Looking for stat64 - found<br>
            -- Performing Test NO_UNIX_STDIO_64<br>
            -- Performing Test NO_UNIX_STDIO_64 - Failed<br>
            -- Looking for fopen64<br>
            -- Looking for fopen64 - found<br>
            -- Check size of off_t<br>
            -- Check size of off_t - done<br>
            -- Looking for pread64<br>
            -- Looking for pread64 - found<br>
            -- Looking for ftruncate64<br>
            -- Looking for ftruncate64 - found<br>
            -- Performing Test HAVE_USELOCALE<br>
            -- Performing Test HAVE_USELOCALE - Success<br>
            -- Performing Test HAVE_HIDE_INTERNAL_SYMBOLS<br>
            -- Performing Test HAVE_HIDE_INTERNAL_SYMBOLS - Success<br>
            -- Performing Test HAVE_GCC_ATOMIC_BUILTINS<br>
            -- Performing Test HAVE_GCC_ATOMIC_BUILTINS - Success<br>
            -- Performing Test HAVE_GCC_BSWAP<br>
            -- Performing Test HAVE_GCC_BSWAP - Success<br>
            -- Performing Test HAVE_SC_PHYS_PAGES<br>
            -- Performing Test HAVE_SC_PHYS_PAGES - Success<br>
            -- Performing Test HAVE_SCHED_GETAFFINITY<br>
            -- Performing Test HAVE_SCHED_GETAFFINITY - Success<br>
            -- Performing Test INT128_TEST<br>
            -- Performing Test INT128_TEST - Success<br>
            -- checking if sprintf can be overloaded for GDAL
            compilation<br>
            -- Performing Test DEPRECATE_SPRINTF<br>
            -- Performing Test DEPRECATE_SPRINTF - Failed<br>
            -- Looking for linux/userfaultfd.h<br>
            -- Looking for linux/userfaultfd.h - found<br>
            -- GDAL_VERSION          = 3.6.2<br>
            -- GDAL_ABI_FULL_VERSION = 32.3.6.2<br>
            -- GDAL_SOVERSION        = 32<br>
            -- Could NOT find ODBC (missing: ODBC_LIBRARY
            ODBC_INCLUDE_DIR ODBCINST) <br>
            -- Could NOT find ODBCCPP (missing: ODBCCPP_LIBRARY
            ODBCCPP_INCLUDE_DIR) <br>
            -- Could NOT find MSSQL_ODBC (missing: MSSQL_ODBC_LIBRARY
            MSSQL_ODBC_INCLUDE_DIR MSSQL_ODBC_VERSION) <br>
            -- Could NOT find MySQL (missing: MYSQL_LIBRARY
            MYSQL_INCLUDE_DIR) <br>
            -- Could NOT find CURL (missing: CURL_LIBRARY
            CURL_INCLUDE_DIR) <br>
            -- Performing Test Iconv_IS_BUILT_IN<br>
            -- Performing Test Iconv_IS_BUILT_IN - Success<br>
            -- Found Iconv: /usr/lib/x86_64-linux-gnu/libc.so  <br>
            -- Performing Test _ICONV_SECOND_ARGUMENT_IS_NOT_CONST<br>
            -- Performing Test _ICONV_SECOND_ARGUMENT_IS_NOT_CONST -
            Success<br>
            -- Performing Test ICONV_HAS_EXTRA_CHARSETS<br>
            -- Performing Test ICONV_HAS_EXTRA_CHARSETS - Success<br>
            -- Could NOT find LibXml2 (missing: LIBXML2_LIBRARY
            LIBXML2_INCLUDE_DIR) <br>
            -- Could NOT find EXPAT (missing: EXPAT_DIR)<br>
            -- Found EXPAT: /usr/lib/x86_64-linux-gnu/libexpat.so (found
            version "2.2.9") <br>
            -- Failed to find XercesC (missing: XercesC_LIBRARY
            XercesC_INCLUDE_DIR XercesC_VERSION) <br>
            -- Found ZLIB: /usr/lib/x86_64-linux-gnu/libz.so (found
            version "1.2.11") <br>
            -- Could NOT find Deflate (missing: Deflate_LIBRARY
            Deflate_INCLUDE_DIR) <br>
            -- Could NOT find OpenSSL, try to set the path to OpenSSL
            root folder in the system variable OPENSSL_ROOT_DIR
            (missing: OPENSSL_CRYPTO_LIBRARY OPENSSL_INCLUDE_DIR SSL
            Crypto) <br>
            -- Could NOT find CryptoPP (missing: CRYPTOPP_LIBRARY
            CRYPTOPP_TEST_KNOWNBUG CRYPTOPP_INCLUDE_DIR) <br>
            CMake Error at
            /usr/share/cmake-3.16/Modules/FindPackageHandleStandardArgs.cmake:146
            (message):<br>
              Could NOT find PROJ (missing: PROJ_LIBRARY
            PROJ_INCLUDE_DIR) (Required is<br>
              at least version "6.0")<br>
            Call Stack (most recent call first):<br>
             
            /usr/share/cmake-3.16/Modules/FindPackageHandleStandardArgs.cmake:393
            (_FPHSA_FAILURE_MESSAGE)<br>
              cmake/modules/packages/FindPROJ.cmake:57
            (find_package_handle_standard_args)<br>
              cmake/helpers/CheckDependentLibraries.cmake:355
            (find_package)<br>
              gdal.cmake:264 (include)<br>
              CMakeLists.txt:224 (include)<br>
            <br>
            <br>
            -- Configuring incomplete, errors occurred!</b><br>
        </div>
      </div>
      <br>
      <fieldset class="moz-mime-attachment-header"></fieldset>
      <pre class="moz-quote-pre" wrap="">_______________________________________________
gdal-dev mailing list
<a class="moz-txt-link-abbreviated" href="mailto:gdal-dev@lists.osgeo.org">gdal-dev@lists.osgeo.org</a>
<a class="moz-txt-link-freetext" href="https://lists.osgeo.org/mailman/listinfo/gdal-dev">https://lists.osgeo.org/mailman/listinfo/gdal-dev</a>
</pre>
    </blockquote>
    <pre class="moz-signature" cols="72">-- 
<a class="moz-txt-link-freetext" href="http://www.spatialys.com">http://www.spatialys.com</a>
My software is free, but my time generally not.</pre>
  </body>
</html>