You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
jngl@jngl-G551JM:~/Developpement/libs/yocto-gl/cmake$ make -j4
Scanning dependencies of target yocto
[ 4%] Building CXX object CMakeFiles/yocto.dir/home/jngl/Developpement/libs/yocto-gl/yocto/yocto_trace.cpp.o
[ 9%] Building CXX object CMakeFiles/yocto.dir/home/jngl/Developpement/libs/yocto-gl/yocto/yocto_cmd.cpp.o
[ 13%] Building CXX object CMakeFiles/yocto.dir/home/jngl/Developpement/libs/yocto-gl/yocto/yocto_obj.cpp.o
[ 18%] Building CXX object CMakeFiles/yocto.dir/home/jngl/Developpement/libs/yocto-gl/yocto/yocto_gltf.cpp.o
/home/jngl/Developpement/libs/yocto-gl/yocto/yocto_gltf.cpp:3166:55: error: no matching member function for call to 'push_back'
for (auto child : node->children) { stack.push_back({child, xf}); }
~~~~~~^~~~~~~~~
/usr/bin/../lib/gcc/x86_64-linux-gnu/5.4.0/../../../../include/c++/5.4.0/bits/stl_vector.h:913:7: note: candidate function not viable: cannot convert initializer list argument to
'const value_type' (aka 'const std::tuple<int, std::array<float, 16> >')
push_back(const value_type& __x)
^
/usr/bin/../lib/gcc/x86_64-linux-gnu/5.4.0/../../../../include/c++/5.4.0/bits/stl_vector.h:931:7: note: candidate function not viable: cannot convert initializer list argument to 'value_type'
(aka 'std::tuple<int, std::array<float, 16> >')
push_back(value_type&& __x)
^
[ 22%] Building CXX object CMakeFiles/yocto.dir/home/jngl/Developpement/libs/yocto-gl/yocto/yocto_sym.cpp.o
1 error generated.
CMakeFiles/yocto.dir/build.make:110 : la recette pour la cible « CMakeFiles/yocto.dir/home/jngl/Developpement/libs/yocto-gl/yocto/yocto_gltf.cpp.o » a échouée
make[2]: *** [CMakeFiles/yocto.dir/home/jngl/Developpement/libs/yocto-gl/yocto/yocto_gltf.cpp.o] Erreur 1
make[2]: *** Attente des tâches non terminées....
CMakeFiles/Makefile2:179 : la recette pour la cible « CMakeFiles/yocto.dir/all » a échouée
make[1]: *** [CMakeFiles/yocto.dir/all] Erreur 2
Makefile:83 : la recette pour la cible « all » a échouée
make: *** [all] Erreur 2
The text was updated successfully, but these errors were encountered:
This is a c++11 issue in gcc < 6, How important is support for c++11? I looked at all of yocto and c++14 helps a lot. I could switch many c++14 features off, but I am not sure what is the real gain. What do you think?
with gcc 5.4 I have this error :
The text was updated successfully, but these errors were encountered: