Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to build goby2 on RHEL/CentOS 8. #51

Open
cgagner opened this issue May 23, 2020 · 0 comments · May be fixed by #52
Open

Unable to build goby2 on RHEL/CentOS 8. #51

cgagner opened this issue May 23, 2020 · 0 comments · May be fixed by #52

Comments

@cgagner
Copy link

cgagner commented May 23, 2020

Unable to build goby2 on RHEL/CentOS 8.

There are three main issues with compiling on RHEL/CentOS 8:

  1. boost::asio::io_service was deprecated in 1.66. Replaced with boost::asio::io_context.
  2. boost::asio::basic_stream_socket native() method deprecated in 1.47. Replaced with native_handle().
  3. Using proj_api.h is deprecated. Can be enabled by defining ACCEPT_USE_OF_DEPRECATED_PROJ_API_H.
cgagner added a commit to cgagner/goby that referenced this issue May 23, 2020
Fixed building on RHEL/CentOS 8. There were three main issues
with compiling on RHEL/CentOS 8:

  1. boost::asio::io_service was deprecated in 1.66. The
     "common/io_service.h" header creates a typedefs io_context
     to io_service if the boost version is greater than or equal
     to 1.66.
  2. boost::asio::basic_stream_socket native() method deprecated
     in 1.47. The version of boost is checked when the 'native()'
     is used and switches to 'native_handle()' if the version is
     greater than 1.47.
  3. Using proj_api.h is deprecated. Added a define to
     "src/CMakeLists.txt" for ACCEPT_USE_OF_DEPRECATED_PROJ_API_H.

Fixes GobySoft#51.
@cgagner cgagner linked a pull request May 23, 2020 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant