Giter Club home page Giter Club logo

Comments (3)

Eisenwave avatar Eisenwave commented on August 21, 2024

I have added the missing include. This issue should be resolved now.

from voxel-io.

arpu avatar arpu commented on August 21, 2024

Hey,

thx a lot to looking at this!

looks like this is fixed but i get this now

/home/arpu/Work/githubsources/voxel-io/src/3rd_party/miniz_cpp.cpp: In Elementfunktion »void miniz_cpp::zip_file::append_comment()«:
/home/arpu/Work/githubsources/voxel-io/src/3rd_party/miniz_cpp.cpp:606:86: Fehler: »numeric_limits« ist kein Element von »std«
  606 |         auto comment_length = std::min(static_cast<uint16_t>(comment.length()), std::numeric_limits<uint16_t>::max());
      |                                                                                      ^~~~~~~~~~~~~~
/home/arpu/Work/githubsources/voxel-io/src/3rd_party/miniz_cpp.cpp:606:109: Fehler: expected primary-expression before »>« token
  606 |         auto comment_length = std::min(static_cast<uint16_t>(comment.length()), std::numeric_limits<uint16_t>::max());
      |                                                                                                             ^
/home/arpu/Work/githubsources/voxel-io/src/3rd_party/miniz_cpp.cpp:606:112: Fehler: »::max« wurde nicht deklariert; meinten Sie »std::max«?
  606 |         auto comment_length = std::min(static_cast<uint16_t>(comment.length()), std::numeric_limits<uint16_t>::max());
      |                                                                                                                ^~~
      |                                                                                                                std::max
In Datei, eingebunden von /usr/include/c++/11/functional:65,
                 von /home/arpu/Work/githubsources/voxel-io/include/voxelio/3rd_party/miniz_cpp.hpp:11,
                 von /home/arpu/Work/githubsources/voxel-io/src/3rd_party/miniz_cpp.cpp:1:
/usr/include/c++/11/bits/stl_algo.h:3467:5: Anmerkung: »std::max« ist hier deklariert
 3467 |     max(initializer_list<_Tp> __l, _Compare __comp)
      |     ^~~
make[2]: *** [src/3rd_party/CMakeFiles/voxelio-3rd-party.dir/build.make:104: src/3rd_party/CMakeFiles/voxelio-3rd-party.dir/miniz_cpp.cpp.o] Fehler 1
make[1]: *** [CMakeFiles/Makefile2:203: src/3rd_party/CMakeFiles/voxelio-3rd-party.dir/all] Fehler 2
make: *** [Makefile:91: all] Fehler 2

from voxel-io.

zeuner avatar zeuner commented on August 21, 2024

I saw similar errors, maybe this (#3) works for you?

from voxel-io.

Related Issues (2)

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.