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

Compilation issue with hexer-1.4.0 on Fedora #24

Open
neteler opened this issue Nov 7, 2018 · 4 comments
Open

Compilation issue with hexer-1.4.0 on Fedora #24

neteler opened this issue Nov 7, 2018 · 4 comments

Comments

@neteler
Copy link

neteler commented Nov 7, 2018

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

@hobu
Copy link
Collaborator

hobu commented Nov 7, 2018 via email

@neteler
Copy link
Author

neteler commented Nov 7, 2018

Ah, good to know. I build PDAL without hexer then.

@hobu
Copy link
Collaborator

hobu commented Nov 7, 2018

Full details at https://github.com/PDAL/PDAL/releases/tag/1.8.0

@neteler
Copy link
Author

neteler commented Nov 8, 2018

Ah, good to know. I build PDAL without hexer then.

Success!

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

No branches or pull requests

2 participants