-
Notifications
You must be signed in to change notification settings - Fork 93
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
zip_file.hpp is missing #4
Comments
Some more similar issues: examples/ch18/fig18_03.cpp:3:10: fatal error: concurrencpp/concurrencpp.h: No such file or directory
3 | #include <concurrencpp/concurrencpp.h>
examples/ch18/fig18_01.cpp:7:10: fatal error: tl/generator.hpp: No such file or directory
7 | #include <tl/generator.hpp> examples/ch19/fig19_02.cpp:3:10: fatal error: format: No such file or directory
3 | #include <format>
examples/ch19/fig19_18.cpp:3:10: fatal error: format: No such file or directory
3 | #include <format>
examples/ch19/fig19_20.cpp:3:10: fatal error: format: No such file or directory
3 | #include <format>
examples/ch19/fig19_03.cpp:3:10: fatal error: format: No such file or directory
3 | #include <format>
examples/ch19/fig19_04.cpp:3:10: fatal error: format: No such file or directory
3 | #include <format>
examples/ch19/fig19_21.cpp:3:10: fatal error: format: No such file or directory
3 | #include <format>
examples/ch19/fig19_22.cpp:3:10: fatal error: format: No such file or directory
3 | #include <format>
examples/ch19/fig19_23.cpp:3:10: fatal error: format: No such file or directory
3 | #include <format> This one assumes that examples/ch15/fig15_20.cpp:19:18: error: no match for ‘operator-’ (operand types are ‘std::_List_const_iterator<int>’ and ‘std::_List_const_iterator<int>’)
19 | return end - begin; // O(1) operation for random-access iterators I think it would be better to use |
@mikucionisaau Thanks for posting. I will check the libraries folder and make sure I post the missing items. As for the ch19 header, we state in the chapter 1. that we purposely used it for demos, 2. that it only works in VC++ right now, and 3. that you can run the examples using <fmt/format.h> and fmt::format rather than and std::format. We actually used the {fmt} library throughout the rest of the book's earlier chapters. In fact, I may just post a separate version of the ch19 examples using {fmt} for those on other compilers. |
Congratulations with the book!
I did not read it, I am looking for one for teaching, hence I am trying to compile blindly. Got stuck with an error:
zip_file.hpp
is not in the repo, where can we get it?I hastily came up with CMake script to compile it (something like this would be nice to have in the repo):
Then used the usual
cmake
dance:cmake -S . -B build -G Ninja cmake --build build
The text was updated successfully, but these errors were encountered: