Giter Site home page Giter Site logo

Comments (6)

eminence avatar eminence commented on August 17, 2024 2

Perhaps the submodules are missing? Try:

git submodule init
git submodule update

from goestools.

pietern avatar pietern commented on August 17, 2024

Thanks for reporting the issue!

The output you included was a bit verbose so I edited it down to the relevant part.

Can you post the output of cmake instead of the output of running make? That will include information on the actual version of libproj you have installed. The fact that you got past that stage implies that CMake was able to find some version of libproj, just not the right one.

Please also include the operating system you're using and any relevant version information.

from goestools.

ilikeleptons avatar ilikeleptons commented on August 17, 2024

ah, i forgot to mention that before i was building it from the archlinux user repository. however, when i instead follow the build instructions in README.md, i get far less progress:

cd goestools ~
isaac@thnikdap> mkdir -p build ~/goestools
isaac@thnikdap> cd build ~/goestools
isaac@thnikdap> cmake ../ -DCMAKE_INSTALL_PREFIX=/usr/local ~/goestools/build
-- The CXX compiler identification is GNU 8.2.1
-- The C compiler identification is GNU 8.2.1
-- Check for working CXX compiler: /bin/c++
-- Check for working CXX compiler: /bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Check for working C compiler: /bin/cc
-- Check for working C compiler: /bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
CMake Warning at CMakeLists.txt:36 (find_package):
By not providing "FindSanitizers.cmake" in CMAKE_MODULE_PATH this project
has asked CMake to find a package configuration file provided by
"Sanitizers", but CMake did not find one.

Could not find a package configuration file provided by "Sanitizers" with
any of the following names:

SanitizersConfig.cmake
sanitizers-config.cmake

Add the installation prefix of "Sanitizers" to CMAKE_PREFIX_PATH or set
"Sanitizers_DIR" to a directory containing one of the above files. If
"Sanitizers" provides a separate development package or SDK, be sure it has
been installed.

-- Defaulting build type to 'RelWithDebInfo'
CMake Error at CMakeLists.txt:59 (add_subdirectory):
The source directory

/home/isaac/goestools/vendor/libcorrect

does not contain a CMakeLists.txt file.

CMake Error at CMakeLists.txt:60 (add_subdirectory):
The source directory

/home/isaac/goestools/vendor/libaec

does not contain a CMakeLists.txt file.

CMake Error at CMakeLists.txt:68 (add_subdirectory):
The source directory

/home/isaac/goestools/vendor/nanomsg

does not contain a CMakeLists.txt file.

CMake Error at src/lrit/CMakeLists.txt:5 (add_sanitizers):
Unknown CMake command "add_sanitizers".

-- Configuring incomplete, errors occurred!
See also "/home/isaac/goestools/build/CMakeFiles/CMakeOutput.log".

i've attached the cmake output log below:
CMakeOutput.log

from goestools.

pietern avatar pietern commented on August 17, 2024

@ilikeleptons This problem will be resolved by the submodule initialization like @eminence.

I just checked the Arch Linux repository for proj and it has version 5.2.

from goestools.

AlCutter avatar AlCutter commented on August 17, 2024

I hit this problem too with Ubuntu 19.04, which also ships Proj 5.20.
The submodule suggestion didn't work for me (doesn't look like proj is vendored in?), but while digging around I noticed that proj_api.h shipped with 5.20 is compatible with the proj4 API, so I've created a small PR (in #43 ) which allows compilation to proceed when either proj version 4 or 5 are detected.

This allows the build to successfully complete on my machine.
Hope it's helpful!

from goestools.

pietern avatar pietern commented on August 17, 2024

Thank you for fixing this!

from goestools.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.