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

Examples do not build with gcc version 4.9.2 #8

Open
seken opened this issue May 11, 2017 · 0 comments
Open

Examples do not build with gcc version 4.9.2 #8

seken opened this issue May 11, 2017 · 0 comments

Comments

@seken
Copy link

seken commented May 11, 2017

Tried -std=c++14 and it still gives errors like this

/home/markit/vpp/examples/../vpp/core/pixel_wise.hpp: In instantiation of ‘auto vpp::pixel_wise_impl<OPTS, Params>::make_orders() [with OPTS = iod::sio<>; Params = {vpp::imageNd<Eigen::Matrix<unsigned char, 4, 1, 0, 4, 1>, 2u>&}]’:
/home/markit/vpp/examples/../vpp/core/pixel_wise.hpp:154:33:   required from ‘auto vpp::pixel_wise_impl<OPTS, Params>::run(F, std::index_sequence<I ...>) [with F = paint(std::vector<vpp::keypoint_trajectory>&, vpp::image2d<Eigen::Matrix<unsigned char, 4, 1, 0, 4, 1> >&)::<lambda(vpp::vuchar4&)>; long unsigned int ...I = {0ul}; OPTS = iod::sio<>; Params = {vpp::imageNd<Eigen::Matrix<unsigned char, 4, 1, 0, 4, 1>, 2u>&}; std::index_sequence<I ...> = std::integer_sequence<long unsigned int, 0ul>]’
/home/markit/vpp/examples/../vpp/core/pixel_wise.hpp:193:30:   required from ‘vpp::pixel_wise_impl<OPTS, Params>::operator|(F)::<lambda(auto:37)> [with auto:37 = paint(std::vector<vpp::keypoint_trajectory>&, vpp::image2d<Eigen::Matrix<unsigned char, 4, 1, 0, 4, 1> >&)::<lambda(vpp::vuchar4&)>; F = paint(std::vector<vpp::keypoint_trajectory>&, vpp::image2d<Eigen::Matrix<unsigned char, 4, 1, 0, 4, 1> >&)::<lambda(vpp::vuchar4&)>; OPTS = iod::sio<>; Params = {vpp::imageNd<Eigen::Matrix<unsigned char, 4, 1, 0, 4, 1>, 2u>&}]’
/home/markit/vpp/externals/iod/iod/utils.hh:14:43:   required from ‘decltype(auto) iod::static_if_<true>::operator()(F, G, A&& ...) [with F = vpp::pixel_wise_impl<OPTS, Params>::operator|(F) [with F = paint(std::vector<vpp::keypoint_trajectory>&, vpp::image2d<Eigen::Matrix<unsigned char, 4, 1, 0, 4, 1> >&)::<lambda(vpp::vuchar4&)>; OPTS = iod::sio<>; Params = {vpp::imageNd<Eigen::Matrix<unsigned char, 4, 1, 0, 4, 1>, 2u>&}]::<lambda(auto:37)>; G = vpp::pixel_wise_impl<OPTS, Params>::operator|(F) [with F = paint(std::vector<vpp::keypoint_trajectory>&, vpp::image2d<Eigen::Matrix<unsigned char, 4, 1, 0, 4, 1> >&)::<lambda(vpp::vuchar4&)>; OPTS = iod::sio<>; Params = {vpp::imageNd<Eigen::Matrix<unsigned char, 4, 1, 0, 4, 1>, 2u>&}]::<lambda(auto:38)>; A = {paint(std::vector<vpp::keypoint_trajectory>&, vpp::image2d<Eigen::Matrix<unsigned char, 4, 1, 0, 4, 1> >&)::<lambda(vpp::vuchar4&)>&}]’
/home/markit/vpp/externals/iod/iod/utils.hh:31:64:   required from ‘decltype(auto) iod::static_if(F, G, A&& ...) [with bool C = true; F = vpp::pixel_wise_impl<OPTS, Params>::operator|(F) [with F = paint(std::vector<vpp::keypoint_trajectory>&, vpp::image2d<Eigen::Matrix<unsigned char, 4, 1, 0, 4, 1> >&)::<lambda(vpp::vuchar4&)>; OPTS = iod::sio<>; Params = {vpp::imageNd<Eigen::Matrix<unsigned char, 4, 1, 0, 4, 1>, 2u>&}]::<lambda(auto:37)>; G = vpp::pixel_wise_impl<OPTS, Params>::operator|(F) [with F = paint(std::vector<vpp::keypoint_trajectory>&, vpp::image2d<Eigen::Matrix<unsigned char, 4, 1, 0, 4, 1> >&)::<lambda(vpp::vuchar4&)>; OPTS = iod::sio<>; Params = {vpp::imageNd<Eigen::Matrix<unsigned char, 4, 1, 0, 4, 1>, 2u>&}]::<lambda(auto:38)>; A = {paint(std::vector<vpp::keypoint_trajectory>&, vpp::image2d<Eigen::Matrix<unsigned char, 4, 1, 0, 4, 1> >&)::<lambda(vpp::vuchar4&)>&}]’
/home/markit/vpp/examples/../vpp/core/pixel_wise.hpp:212:13:   required from ‘auto vpp::pixel_wise_impl<OPTS, Params>::operator|(F) [with F = paint(std::vector<vpp::keypoint_trajectory>&, vpp::image2d<Eigen::Matrix<unsigned char, 4, 1, 0, 4, 1> >&)::<lambda(vpp::vuchar4&)>; OPTS = iod::sio<>; Params = {vpp::imageNd<Eigen::Matrix<unsigned char, 4, 1, 0, 4, 1>, 2u>&}]’
/home/markit/vpp/examples/video_extruder_paint.cc:25:3:   required from here
/home/markit/vpp/examples/../vpp/core/pixel_wise.hpp:143:44: error: use of ‘template<class ... T> auto iod::D(T&& ...)’ before deduction of ‘auto’
           [] () { return _left_to_right; }));

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

1 participant