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

Can't make install #75

Open
UltimateSpork opened this issue Dec 21, 2022 · 0 comments
Open

Can't make install #75

UltimateSpork opened this issue Dec 21, 2022 · 0 comments

Comments

@UltimateSpork
Copy link

On Linux Mint trying to build this but I get this error

make [ 2%] Built target h265parser [ 4%] Built target avcparser [ 89%] Built target common Consolidate compiler generated dependencies of target heifreader [ 92%] Built target heifreader Consolidate compiler generated dependencies of target tifig [ 94%] Building CXX object CMakeFiles/tifig.dir/src/main.cpp.o In file included from /home/shahmir/tifig/src/main.cpp:1: /home/shahmir/tifig/lib/cxxopts/include/cxxopts.hpp: In member function ‘void cxxopts::values::detail::SignedCheck<T, true>::operator()(bool, U, const string&)’: /home/shahmir/tifig/lib/cxxopts/include/cxxopts.hpp:451:42: error: ‘numeric_limits’ is not a member of ‘std’ 451 | if (u > static_cast<U>(-std::numeric_limits<T>::min())) | ^~~~~~~~~~~~~~ /home/shahmir/tifig/lib/cxxopts/include/cxxopts.hpp:451:58: error: expected primary-expression before ‘>’ token 451 | if (u > static_cast<U>(-std::numeric_limits<T>::min())) | ^ /home/shahmir/tifig/lib/cxxopts/include/cxxopts.hpp:451:61: error: ‘::min’ has not been declared; did you mean ‘std::min’? 451 | if (u > static_cast<U>(-std::numeric_limits<T>::min())) | ^~~ | std::min In file included from /usr/include/c++/11/algorithm:62, from /usr/include/c++/11/regex:38, from /home/shahmir/tifig/lib/cxxopts/include/cxxopts.hpp:39, from /home/shahmir/tifig/src/main.cpp:1: /usr/include/c++/11/bits/stl_algo.h:3455:5: note: ‘std::min’ declared here 3455 | min(initializer_list<_Tp> __l, _Compare __comp) | ^~~ In file included from /home/shahmir/tifig/src/main.cpp:1: /home/shahmir/tifig/lib/cxxopts/include/cxxopts.hpp:458:41: error: ‘numeric_limits’ is not a member of ‘std’ 458 | if (u > static_cast<U>(std::numeric_limits<T>::max())) | ^~~~~~~~~~~~~~ /home/shahmir/tifig/lib/cxxopts/include/cxxopts.hpp:458:57: error: expected primary-expression before ‘>’ token 458 | if (u > static_cast<U>(std::numeric_limits<T>::max())) | ^ /home/shahmir/tifig/lib/cxxopts/include/cxxopts.hpp:458:60: error: ‘::max’ has not been declared; did you mean ‘std::max’? 458 | if (u > static_cast<U>(std::numeric_limits<T>::max())) | ^~~ | std::max In file included from /usr/include/c++/11/algorithm:62, from /usr/include/c++/11/regex:38, from /home/shahmir/tifig/lib/cxxopts/include/cxxopts.hpp:39, from /home/shahmir/tifig/src/main.cpp:1: /usr/include/c++/11/bits/stl_algo.h:3467:5: note: ‘std::max’ declared here 3467 | max(initializer_list<_Tp> __l, _Compare __comp) | ^~~ In file included from /home/shahmir/tifig/src/main.cpp:1: /home/shahmir/tifig/lib/cxxopts/include/cxxopts.hpp: In function ‘void cxxopts::values::detail::check_signed_range(bool, U, const string&)’: /home/shahmir/tifig/lib/cxxopts/include/cxxopts.hpp:478:29: error: ‘numeric_limits’ is not a member of ‘std’ 478 | SignedCheck<T, std::numeric_limits<T>::is_signed>()(negative, value, text); | ^~~~~~~~~~~~~~ /home/shahmir/tifig/lib/cxxopts/include/cxxopts.hpp:478:29: error: ‘numeric_limits’ is not a member of ‘std’ /home/shahmir/tifig/lib/cxxopts/include/cxxopts.hpp:478:45: error: template argument 2 is invalid 478 | SignedCheck<T, std::numeric_limits<T>::is_signed>()(negative, value, text); | ^ /home/shahmir/tifig/lib/cxxopts/include/cxxopts.hpp:478:57: error: qualified-id in declaration before ‘>’ token 478 | SignedCheck<T, std::numeric_limits<T>::is_signed>()(negative, value, text); | ^ /home/shahmir/tifig/lib/cxxopts/include/cxxopts.hpp: In function ‘void cxxopts::values::integer_parser(const string&, T&)’: /home/shahmir/tifig/lib/cxxopts/include/cxxopts.hpp:519:34: error: ‘numeric_limits’ is not a member of ‘std’ 519 | constexpr auto umax = std::numeric_limits<US>::max(); | ^~~~~~~~~~~~~~ /home/shahmir/tifig/lib/cxxopts/include/cxxopts.hpp:519:51: error: expected primary-expression before ‘>’ token 519 | constexpr auto umax = std::numeric_limits<US>::max(); | ^ /home/shahmir/tifig/lib/cxxopts/include/cxxopts.hpp:519:54: error: ‘::max’ has not been declared; did you mean ‘std::max’? 519 | constexpr auto umax = std::numeric_limits<US>::max(); | ^~~ | std::max In file included from /usr/include/c++/11/algorithm:62, from /usr/include/c++/11/regex:38, from /home/shahmir/tifig/lib/cxxopts/include/cxxopts.hpp:39, from /home/shahmir/tifig/src/main.cpp:1: /usr/include/c++/11/bits/stl_algo.h:3467:5: note: ‘std::max’ declared here 3467 | max(initializer_list<_Tp> __l, _Compare __comp) | ^~~ In file included from /home/shahmir/tifig/src/main.cpp:1: /home/shahmir/tifig/lib/cxxopts/include/cxxopts.hpp:520:39: error: ‘numeric_limits’ is not a member of ‘std’ 520 | constexpr bool is_signed = std::numeric_limits<T>::is_signed; | ^~~~~~~~~~~~~~ /home/shahmir/tifig/lib/cxxopts/include/cxxopts.hpp:520:55: error: expected primary-expression before ‘>’ token 520 | constexpr bool is_signed = std::numeric_limits<T>::is_signed; | ^ /home/shahmir/tifig/lib/cxxopts/include/cxxopts.hpp:520:58: error: ‘::is_signed’ has not been declared; did you mean ‘std::is_signed’? 520 | constexpr bool is_signed = std::numeric_limits<T>::is_signed; | ^~~~~~~~~ | std::is_signed In file included from /usr/include/c++/11/bits/move.h:57, from /usr/include/c++/11/bits/exception_ptr.h:43, from /usr/include/c++/11/exception:153, from /home/shahmir/tifig/lib/cxxopts/include/cxxopts.hpp:35, from /home/shahmir/tifig/src/main.cpp:1: /usr/include/c++/11/type_traits:795:12: note: ‘std::is_signed’ declared here 795 | struct is_signed | ^~~~~~~~~ /home/shahmir/tifig/src/main.cpp: In function ‘int convert(const string&, Opts&)’: /home/shahmir/tifig/src/main.cpp:58:25: warning: ‘void avcodec_register_all()’ is deprecated [-Wdeprecated-declarations] 58 | avcodec_register_all(); | ~~~~~~~~~~~~~~~~~~~~^~ In file included from /home/shahmir/tifig/src/hevc_decode.hpp:9, from /home/shahmir/tifig/src/loader.hpp:7, from /home/shahmir/tifig/src/main.cpp:5: /usr/include/x86_64-linux-gnu/libavcodec/avcodec.h:2767:6: note: declared here 2767 | void avcodec_register_all(void); | ^~~~~~~~~~~~~~~~~~~~ make[2]: *** [CMakeFiles/tifig.dir/build.make:76: CMakeFiles/tifig.dir/src/main.cpp.o] Error 1 make[1]: *** [CMakeFiles/Makefile2:287: CMakeFiles/tifig.dir/all] Error 2 make: *** [Makefile:136: all] Error 2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant