-
Notifications
You must be signed in to change notification settings - Fork 9
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
Compilation issue with hexer-1.4.0 on Fedora #24
Comments
Looks like an include tweak is needed.
Hexer is no longer needed for PDAL 1.8+. We have relicensed and embedded it there.
… On Nov 7, 2018, at 3:08 AM, Markus Neteler ***@***.***> wrote:
I have tried to update the Fedora RPM from 1.3.0 to 1.4.0 but ran into the following issue:
cd /builddir/build/BUILD/hexer-1.4.0/apps && /usr/bin/c++ -I/builddir/build/BUILD/hexer-1.4.0/include -I/builddir/build/BUILD/hexer-1.4.0/apps/. -I/builddir/build/BUILD/hexer-1.4.0/apps/../include -I/builddir/build/BUILD/hexer-1.4.0/apps/../include/hexer -I/usr/include/gdal -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -std=c++11 -DNDEBUG -o CMakeFiles/curse.dir/las.cpp.o -c /builddir/build/BUILD/hexer-1.4.0/apps/las.cpp
BUILDSTDERR: In file included from /builddir/build/BUILD/hexer-1.4.0/apps/curse.cpp:25:0:
BUILDSTDERR: In file included from /builddir/build/BUILD/hexer-1.4.0/apps/curse.cpp:25:0:
BUILDSTDERR: /builddir/build/BUILD/hexer-1.4.0/include/hexer/Utils.hpp: In function 'bool hexer::compare_distance(const T&, const T&)':
BUILDSTDERR: /builddir/build/BUILD/hexer-1.4.0/include/hexer/Utils.hpp: In function 'bool hexer::compare_distance(const T&, const T&)':
BUILDSTDERR: /builddir/build/BUILD/hexer-1.4.0/include/hexer/Utils.hpp:40:28: error: 'numeric_limits' is not a member of 'std'
BUILDSTDERR: /builddir/build/BUILD/hexer-1.4.0/include/hexer/Utils.hpp:40:28: error: 'numeric_limits' is not a member of 'std'
BUILDSTDERR: const T epsilon = std::numeric_limits<T>::epsilon();
BUILDSTDERR: const T epsilon = std::numeric_limits<T>::epsilon();
BUILDSTDERR: ^~~~~~~~~~~~~~
BUILDSTDERR: ^~~~~~~~~~~~~~
BUILDSTDERR: /builddir/build/BUILD/hexer-1.4.0/include/hexer/Utils.hpp:40:44: error: expected primary-expression before '>' token
BUILDSTDERR: /builddir/build/BUILD/hexer-1.4.0/include/hexer/Utils.hpp:40:44: error: expected primary-expression before '>' token
BUILDSTDERR: const T epsilon = std::numeric_limits<T>::epsilon();
BUILDSTDERR: const T epsilon = std::numeric_limits<T>::epsilon();
BUILDSTDERR: ^
BUILDSTDERR: ^
BUILDSTDERR: /builddir/build/BUILD/hexer-1.4.0/include/hexer/Utils.hpp:40:47: error: '::epsilon' has not been declared
BUILDSTDERR: /builddir/build/BUILD/hexer-1.4.0/include/hexer/Utils.hpp:40:47: error: '::epsilon' has not been declared
BUILDSTDERR: const T epsilon = std::numeric_limits<T>::epsilon();
BUILDSTDERR: const T epsilon = std::numeric_limits<T>::epsilon();
BUILDSTDERR: ^~~~~~~
BUILDSTDERR: ^~~~~~~
BUILDSTDERR: /builddir/build/BUILD/hexer-1.4.0/apps/curse.cpp: In function 'void dumpPath(hexer::Path*)':
BUILDSTDERR: /builddir/build/BUILD/hexer-1.4.0/apps/curse.cpp: In function 'void dumpPath(hexer::Path*)':
BUILDSTDERR: /builddir/build/BUILD/hexer-1.4.0/apps/curse.cpp:97:25: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
BUILDSTDERR: /builddir/build/BUILD/hexer-1.4.0/apps/curse.cpp:97:25: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
BUILDSTDERR: for (int pi = 0; pi != paths.size(); ++pi)
BUILDSTDERR: for (int pi = 0; pi != paths.size(); ++pi)
BUILDSTDERR: ~~~^~~~~~~~~~~~~~~
BUILDSTDERR: ~~~^~~~~~~~~~~~~~~
BUILDSTDERR: /builddir/build/BUILD/hexer-1.4.0/apps/curse.cpp: In function 'int main(int, char**)':
BUILDSTDERR: /builddir/build/BUILD/hexer-1.4.0/apps/curse.cpp: In function 'int main(int, char**)':
BUILDSTDERR: /builddir/build/BUILD/hexer-1.4.0/apps/curse.cpp:270:10: warning: unused variable 'bVerbose' [-Wunused-variable]
BUILDSTDERR: /builddir/build/BUILD/hexer-1.4.0/apps/curse.cpp:270:10: warning: unused variable 'bVerbose' [-Wunused-variable]
BUILDSTDERR: bool bVerbose(false);
BUILDSTDERR: bool bVerbose(false);
BUILDSTDERR: ^~~~~~~~
BUILDSTDERR: ^~~~~~~~
See https://copr-be.cloud.fedoraproject.org/results/neteler/pdal-hexer/fedora-27-x86_64/00820274-hexer/build.log.gz
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.
|
Ah, good to know. I build PDAL without hexer then. |
Full details at https://github.com/PDAL/PDAL/releases/tag/1.8.0 |
Success! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I have tried to update the Fedora RPM from 1.3.0 to 1.4.0 but ran into the following issue:
See https://copr-be.cloud.fedoraproject.org/results/neteler/pdal-hexer/fedora-27-x86_64/00820274-hexer/build.log.gz
The text was updated successfully, but these errors were encountered: