Open epifanio opened 5 years ago
I tried to add the following to my cmake
configuration CMAKE_CXX_FLAGS=-std=c++0x
but I wasn't able to fix the error.
I ran into this issue on Ubuntu 18.10 as well. It seems that the compiler installed on Ubuntu 18.XX (gcc 8.2.0) has some changes that affect the build while older versions do not. Building on CentOS7 which comes with gcc 4.8.5 this issue was not present, however it re-appeared when I updated gcc on CentOS to the newest version.
To solve the issue in Ubuntu I went into the ossimGdalPluginInit.cpp file and added:
#include <functional>
This allows the plugin to build. However I have yet to test to make sure it functions as intended.
We are in the middle of a merge will add the include once the merge is complete
Hi,
trying to build the gdal plugin on ubuntu 18.04 default repository, gdal version
2.2.3
I got this error: