Closed sardounis closed 3 years ago
@sardounis
It is an issue related with Boost Geometry Version. I have removed the dependency on the GIS extension of wkb on this PR https://github.com/cyang-kth/fmm/pull/148
Please pull the latest code to see if this issue is fixed.
Yes the bug was fixed! I was able to build the executables.
I am trying do the installation, though an error arises (and several warnings) when I run make -j4.
You may find the logs for
cmake ..
in the attached file: cmake.txt cmake.txtThe logs for the
make -j4
may be found in the attached file: makej4.txt. (not all logs included) makej4.txtI am also pasting those logs below: cmake .. logs:
-- CMAKE version 3.19.1 -- Set CMP0074 state to NEW -- Set CMP0086 state to NEW -- Set CMP0078 state to NEW -- The C compiler identification is AppleClang 11.0.3.11030032 -- The CXX compiler identification is AppleClang 11.0.3.11030032 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /Library/Developer/CommandLineTools/usr/bin/cc - skipped -- Detecting C compile features -- Detecting C compile features - done -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: /Library/Developer/CommandLineTools/usr/bin/c++ - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- Found Conda: /usr/local/anaconda3/envs/python2
-- Set CONDA_PREFIX /usr/local/anaconda3/envs/python2 -- Found ZLIB: /usr/local/anaconda3/envs/python2/lib/libz.dylib (found version "1.2.11") -- Looking for pthread.h -- Looking for pthread.h - found -- Performing Test CMAKE_HAVE_LIBC_PTHREAD -- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success -- Found Threads: TRUE
-- Found Protozero: third_party/protozero/include (found suitable version "1.6.2", minimum required is "1.5.1") -- Found EXPAT: /usr/local/anaconda3/envs/python2/lib/libexpat.dylib (found version "2.2.6") -- Found BZip2: /usr/local/anaconda3/envs/python2/lib/libbz2.dylib (found version "1.0.8") -- Looking for BZ2_bzCompressInit -- Looking for BZ2_bzCompressInit - found -- Found Osmium: third_party/libosmium/include
-- OSMium found at third_party/libosmium/include;/usr/local/anaconda3/envs/python2/include;third_party/protozero/include -- OSMium library found at /usr/local/anaconda3/envs/python2/lib/libz.dylib;/usr/local/anaconda3/envs/python2/lib/libexpat.dylib;/usr/local/anaconda3/envs/python2/lib/libbz2.dylib -- Found GDAL: /usr/local/Cellar/gdal/3.2.0/lib/libgdal.dylib (found suitable version "3.2.0", minimum required is "2.2") -- GDAL headers found at /usr/local/include -- GDAL library found at /usr/local/Cellar/gdal/3.2.0/lib/libgdal.dylib -- Found Boost: /usr/local/lib/cmake/Boost-1.74.0/BoostConfig.cmake (found suitable version "1.74.0", minimum required is "1.56.0") found components: serialization -- Boost headers found at /usr/local/include -- Boost library found at Boost::serialization -- Boost library version 1_74 -- Found OpenMP_C: -Xclang -fopenmp (found version "3.1") -- Found OpenMP_CXX: -Xclang -fopenmp (found version "3.1") -- Found OpenMP: TRUE (found version "3.1")
-- OpenMP_HEADERS found at /usr/local/include -- OpenMP_CXX_LIBRARIES found at /usr/local/lib/libomp.dylib -- Copy h3 header to third_party/h3/src/h3lib/include/h3api.h -- Installation folder /usr/local -- Found SWIG: /usr/local/bin/swig (found version "4.0.2")
-- Swig version is 4.0.2 -- Found PythonInterp: /usr/local/anaconda3/envs/python2/bin/python2.7 (found suitable version "2.7.16", minimum required is "2.7") -- Found PythonLibs: /usr/local/anaconda3/envs/python2/lib/libpython2.7.dylib (found suitable version "2.7.16", minimum required is "2.7") -- Python header found at /usr/local/anaconda3/envs/python2/include/python2.7 -- Python library found at /usr/local/anaconda3/envs/python2/lib/libpython2.7.dylib -- Python packages /usr/local/anaconda3/envs/python2/lib/python2.7/site-packages -- Using swig add library -- Configuring done -- Generating done -- Build files have been written to: /Users/antonissardounis/Projects/beat/fmm/build
make -j4 logs (not all logs included):
Scanning dependencies of target H3_OBJ [ 1%] Building C object CMakeFiles/H3_OBJ.dir/third_party/h3/src/h3lib/lib/algos.c.o [ 3%] Building C object CMakeFiles/H3_OBJ.dir/third_party/h3/src/h3lib/lib/baseCells.c.o [ 5%] Building C object CMakeFiles/H3_OBJ.dir/third_party/h3/src/h3lib/lib/bbox.c.o [ 7%] Building C object CMakeFiles/H3_OBJ.dir/third_party/h3/src/h3lib/lib/coordijk.c.o [ 9%] Building C object CMakeFiles/H3_OBJ.dir/third_party/h3/src/h3lib/lib/faceijk.c.o [ 11%] Building C object CMakeFiles/H3_OBJ.dir/third_party/h3/src/h3lib/lib/geoCoord.c.o [ 13%] Building C object CMakeFiles/H3_OBJ.dir/third_party/h3/src/h3lib/lib/h3Index.c.o [ 15%] Building C object CMakeFiles/H3_OBJ.dir/third_party/h3/src/h3lib/lib/h3UniEdge.c.o [ 17%] Building C object CMakeFiles/H3_OBJ.dir/third_party/h3/src/h3lib/lib/linkedGeo.c.o [ 19%] Building C object CMakeFiles/H3_OBJ.dir/third_party/h3/src/h3lib/lib/localij.c.o [ 21%] Building C object CMakeFiles/H3_OBJ.dir/third_party/h3/src/h3lib/lib/mathExtensions.c.o Scanning dependencies of target MM_OBJ [ 23%] Building C object CMakeFiles/H3_OBJ.dir/third_party/h3/src/h3lib/lib/polygon.c.o Scanning dependencies of target STMATCH_OBJ [ 25%] Building CXX object CMakeFiles/MM_OBJ.dir/src/mm/composite_graph.cpp.o [ 26%] Building C object CMakeFiles/H3_OBJ.dir/third_party/h3/src/h3lib/lib/vec2d.c.o [ 28%] Building C object CMakeFiles/H3_OBJ.dir/third_party/h3/src/h3lib/lib/vec3d.c.o [ 30%] Building CXX object CMakeFiles/STMATCH_OBJ.dir/src/mm/stmatch/stmatch_algorithm.cpp.o [ 32%] Building C object CMakeFiles/H3_OBJ.dir/third_party/h3/src/h3lib/lib/vertex.c.o Scanning dependencies of target FMM_OBJ [ 34%] Building C object CMakeFiles/H3_OBJ.dir/third_party/h3/src/h3lib/lib/vertexGraph.c.o [ 34%] Built target H3_OBJ [ 36%] Building CXX object CMakeFiles/FMM_OBJ.dir/src/mm/fmm/fmm_algorithm.cpp.o Scanning dependencies of target IO [ 38%] Building CXX object CMakeFiles/IO.dir/src/io/gps_reader.cpp.o [ 40%] Building CXX object CMakeFiles/MM_OBJ.dir/src/mm/transition_graph.cpp.o [ 42%] Building CXX object CMakeFiles/IO.dir/src/io/mm_writer.cpp.o [ 44%] Building CXX object CMakeFiles/FMM_OBJ.dir/src/mm/fmm/fmm_app.cpp.o [ 46%] Building CXX object CMakeFiles/STMATCH_OBJ.dir/src/mm/stmatch/stmatch_app.cpp.o [ 46%] Built target MM_OBJ Scanning dependencies of target CONFIG [ 48%] Building CXX object CMakeFiles/CONFIG.dir/src/config/gps_config.cpp.o [ 48%] Built target IO [ 50%] Building CXX object CMakeFiles/FMM_OBJ.dir/src/mm/fmm/fmm_app_config.cpp.o Scanning dependencies of target NETWORK [ 51%] Building CXX object CMakeFiles/NETWORK.dir/src/network/bidirectional_network_graph.cpp.o [ 53%] Building CXX object CMakeFiles/STMATCH_OBJ.dir/src/mm/stmatch/stmatch_app_config.cpp.o [ 55%] Building CXX object CMakeFiles/CONFIG.dir/src/config/network_config.cpp.o [ 57%] Building CXX object CMakeFiles/FMM_OBJ.dir/src/mm/fmm/ubodt.cpp.o [ 59%] Building CXX object CMakeFiles/NETWORK.dir/src/network/network.cpp.o [ 59%] Built target STMATCH_OBJ [ 61%] Building CXX object CMakeFiles/CONFIG.dir/src/config/result_config.cpp.o [ 63%] Building CXX object CMakeFiles/FMM_OBJ.dir/src/mm/fmm/ubodt_gen_algorithm.cpp.o Scanning dependencies of target UTIL [ 65%] Building CXX object CMakeFiles/UTIL.dir/src/util/util.cpp.o [ 65%] Built target UTIL [ 67%] Building CXX object CMakeFiles/NETWORK.dir/src/network/network_graph.cpp.o [ 67%] Built target CONFIG [ 69%] Building CXX object CMakeFiles/FMM_OBJ.dir/src/mm/fmm/ubodt_gen_app.cpp.o [ 71%] Building CXX object CMakeFiles/NETWORK.dir/src/network/rtree.cpp.o Scanning dependencies of target ALGORITHM [ 73%] Building CXX object CMakeFiles/ALGORITHM.dir/src/algorithm/geom_algorithm.cpp.o [ 75%] Building CXX object CMakeFiles/FMM_OBJ.dir/src/mm/fmm/ubodt_gen_app_config.cpp.o [ 75%] Built target ALGORITHM Scanning dependencies of target CORE [ 76%] Building CXX object CMakeFiles/CORE.dir/src/core/geometry.cpp.o Scanning dependencies of target pyfmm_swig_compilation [ 78%] Swig compile /Users/antonissardounis/Projects/beat/fmm/python/fmm.i for python [ 78%] Built target NETWORK [ 78%] Built target pyfmm_swig_compilation [ 78%] Built target FMM_OBJ
define BOOST_PRAGMA_MESSAGE(x) _Pragma(BOOST_STRINGIZE(message(x)))