Skip to content
This repository has been archived by the owner on Aug 22, 2023. It is now read-only.

Commit

Permalink
made compilable on Ubuntu 22.04
Browse files Browse the repository at this point in the history
  • Loading branch information
vaclavblazek committed May 25, 2022
1 parent 241ba43 commit 87ae520
Show file tree
Hide file tree
Showing 18 changed files with 27 additions and 18 deletions.
2 changes: 1 addition & 1 deletion externals/buildsys/cmake
Submodule cmake updated 62 files
+78 −0 Modules.Conan/FindBoost.cmake
+12 −0 Modules.Conan/FindCatch2.cmake
+32 −0 Modules.Conan/FindCbc.cmake
+10 −0 Modules.Conan/FindCeres.cmake
+11 −0 Modules.Conan/FindCrypto++.cmake
+7 −0 Modules.Conan/FindEXIF.cmake
+15 −0 Modules.Conan/FindEigen3.cmake
+7 −0 Modules.Conan/FindFFTW3.cmake
+12 −0 Modules.Conan/FindGDAL.cmake
+7 −0 Modules.Conan/FindGeographicLib.cmake
+7 −0 Modules.Conan/FindIlmBase.cmake
+7 −0 Modules.Conan/FindJPEG.cmake
+21 −0 Modules.Conan/FindJsonCPP.cmake
+7 −0 Modules.Conan/FindLASzip.cmake
+10 −0 Modules.Conan/FindMETIS.cmake
+7 −0 Modules.Conan/FindMGTS.cmake
+7 −0 Modules.Conan/FindMySQL++.cmake
+10 −0 Modules.Conan/FindNumPy.cmake
+7 −0 Modules.Conan/FindOpenCV.cmake
+7 −0 Modules.Conan/FindOpenEXR.cmake
+9 −0 Modules.Conan/FindOpenMVG.cmake
+7 −0 Modules.Conan/FindOpenMesh.cmake
+11 −0 Modules.Conan/FindOpenVDB.cmake
+7 −0 Modules.Conan/FindPDAL.cmake
+7 −0 Modules.Conan/FindPNG.cmake
+7 −0 Modules.Conan/FindProj.cmake
+7 −0 Modules.Conan/FindTIFF.cmake
+7 −0 Modules.Conan/Findglog.cmake
+7 −0 Modules.Conan/Findlibshp.cmake
+8 −0 Modules.Conan/FindmyVRPointCloud.cmake
+7 −0 Modules.Conan/Findyaml-cpp.cmake
+0 −16 Modules.Win32/FindGDAL.cmake
+0 −22 Modules.Win32/FindJPEG.cmake
+0 −37 Modules.Win32/FindJsonCPP.cmake
+0 −22 Modules.Win32/FindPNG.cmake
+0 −16 Modules.Win32/FindProj.cmake
+36 −0 Modules.Win32/FindPyTorch.cmake
+18 −0 Modules.Win32/FindPyTorch.py
+42 −0 Modules.Win32/FindTensorFlow.cmake
+35 −0 Modules.Win32/FindTensorFlow.py
+41 −0 Modules/FindCatch.cmake
+20 −0 Modules/FindCbc.cmake
+28 −50 Modules/FindLASzip.cmake
+1 −1 Modules/FindNumPy.cmake
+12 −1 Modules/FindProj.cmake
+37 −34 Modules/FindTBB.cmake
+27 −0 Modules/Findmodbus.cmake
+31 −15 buildsys.cmake
+12 −2 cmake.mk
+12 −2 include/debian.mk
+14 −4 macros/build-types/customerdebug.cmake
+14 −4 macros/build-types/customerrelease.cmake
+28 −4 macros/cuda.cmake
+3 −1 macros/customer.cmake
+24 −0 macros/exclude-from-all.cmake
+163 −0 macros/install-conan-deps.cmake
+2 −2 macros/library-support.cmake
+10 −4 macros/openmp.cmake
+18 −0 macros/output-paths.cmake
+27 −10 macros/python.cmake
+15 −0 macros/torch.cmake
+15 −13 tools/pathstrip/pathstrip.cmake
2 changes: 1 addition & 1 deletion externals/buildsys/common
2 changes: 1 addition & 1 deletion externals/libdbglog
2 changes: 1 addition & 1 deletion externals/libjsoncpp
Submodule libjsoncpp updated 1 files
+71 −0 jsoncpp/as.hpp
2 changes: 1 addition & 1 deletion externals/libminiball
2 changes: 1 addition & 1 deletion externals/libpydbglog
7 changes: 6 additions & 1 deletion mapproxy/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ find_package(LibProc REQUIRED)
include_directories(${LIBPROC_INCLUDE_DIR})

find_package(Eigen3 REQUIRED)
include_directories(${EIGEN3_INCLUDE_DIR})
include_directories(SYSTEM ${EIGEN3_INCLUDE_DIR})

find_package(ICU COMPONENTS uc i18n REQUIRED)
include_directories(${ICU_INCLUDE_DIRS})
Expand All @@ -74,6 +74,11 @@ include_directories(${TINYXML2_INCLUDE_DIR})
find_package(Markdown REQUIRED)
include_directories(${Markdown_INCLUDE_DIR})

find_package(MGTS REQUIRED)
include_directories(${MGTS_INCLUDE_DIRS})
find_package(GLIB REQUIRED)
include_directories(${GLIB_INCLUDE_DIRS})

# dependencies
add_subdirectory(src/dbglog)
add_subdirectory(src/utility)
Expand Down
6 changes: 5 additions & 1 deletion mapproxy/src/generatevrtwo/generatevrtwo.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -396,7 +396,11 @@ void VrtDs::addSimpleSource(int band, const fs::path &filename

// try to create simple source from parsed string
std::unique_ptr< ::VRTSimpleSource> src(new ::VRTSimpleSource());
#if GDAL_VERSION_NUM >= 3000000
#if GDAL_VERSION_NUM >= 3040000
std::map<CPLString, GDALDataset*> dsMap;
if (src->XMLInit(xmlNodeFromString(os.str()).get(), nullptr
, dsMap) != CE_None)
#elif GDAL_VERSION_NUM >= 3000000
std::map<CPLString, GDALDataset*> dsMap;
if (src->XMLInit(xmlNodeFromString(os.str()).get(), nullptr, nullptr
, dsMap) != CE_None)
Expand Down

0 comments on commit 87ae520

Please sign in to comment.