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
I'm using Ubuntu 14.04 and I get this error after the command make (last building step).
Thanks in advance.
root@produccion-planetario:/home/produccion/omnidome# make
[ 0%] Automatic MOC and UIC for target omni
AutoMoc: /home/produccion/omnidome/lib/include/omni/mapping/Interface.h:0: Note: No relevant classes found. No output generated.
AutoMoc: /home/produccion/omnidome/lib/include/omni/input/Interface.h:0: Note: No relevant classes found. No output generated.
AutoMoc: /home/produccion/omnidome/lib/include/omni/canvas/Interface.h:0: Note: No relevant classes found. No output generated.
[ 0%] Built target omni_autogen
[ 0%] Automatic RCC for src/libomni.qrc
Scanning dependencies of target omni
[ 0%] Building CXX object lib/CMakeFiles/omni.dir/omni_autogen/mocs_compilation.cpp.o
[ 1%] Building CXX object lib/CMakeFiles/omni.dir/src/BlendMask.cpp.o
In file included from /home/produccion/omnidome/lib/src/BlendMask.cpp:20:
In file included from /home/produccion/omnidome/lib/include/omni/BlendMask.h:24:
In file included from /usr/include/qt5/QtCore/QRectF:1:
In file included from /usr/include/qt5/QtCore/qrect.h:45:
In file included from /usr/include/qt5/QtCore/qsize.h:45:
In file included from /usr/include/qt5/QtCore/qnamespace.h:45:
In file included from /usr/include/qt5/QtCore/qglobal.h:82:
In file included from /usr/bin/../lib/gcc/x86_64-linux-gnu/4.8/../../../../include/c++/4.8/algorithm:62:
In file included from /usr/bin/../lib/gcc/x86_64-linux-gnu/4.8/../../../../include/c++/4.8/bits/stl_algo.h:65:
In file included from /usr/bin/../lib/gcc/x86_64-linux-gnu/4.8/../../../../include/c++/4.8/random:39:
/usr/bin/../lib/gcc/x86_64-linux-gnu/4.8/../../../../include/c++/4.8/cstdio:120:11: error: no member named 'gets' in the global namespace
using ::gets;
~~^
In file included from /home/produccion/omnidome/lib/src/BlendMask.cpp:20:
In file included from /home/produccion/omnidome/lib/include/omni/BlendMask.h:25:
In file included from /home/produccion/omnidome/lib/include/omni/BlendBrush.h:24:
In file included from /home/produccion/omnidome/lib/include/omni/Buffer.h:26:
In file included from /home/produccion/omnidome/lib/include/omni/util.h:30:
In file included from /home/produccion/omnidome/lib/include/omni/exception.h:25:
/home/produccion/omnidome/lib/include/omni/Factory.h:162:38: error: no member named 'toStdString' in 'QByteArray'
return hashstd::string()(_id.toStdString());
~~~ ^
2 errors generated.
make[2]: *** [lib/CMakeFiles/omni.dir/src/BlendMask.cpp.o] Error 1
make[1]: *** [lib/CMakeFiles/omni.dir/all] Error 2
make: *** [all] Error 2
The text was updated successfully, but these errors were encountered:
I just tested it on Ubuntu 18.04 and Qt 5.9.8. Which Qt Version are you using, something below 5.4? The QByteArray member function was added with Qt 5.4.
I'm using Ubuntu 14.04 and I get this error after the command make (last building step).
Thanks in advance.
root@produccion-planetario:/home/produccion/omnidome# make
[ 0%] Automatic MOC and UIC for target omni
AutoMoc: /home/produccion/omnidome/lib/include/omni/mapping/Interface.h:0: Note: No relevant classes found. No output generated.
AutoMoc: /home/produccion/omnidome/lib/include/omni/input/Interface.h:0: Note: No relevant classes found. No output generated.
AutoMoc: /home/produccion/omnidome/lib/include/omni/canvas/Interface.h:0: Note: No relevant classes found. No output generated.
[ 0%] Built target omni_autogen
[ 0%] Automatic RCC for src/libomni.qrc
Scanning dependencies of target omni
[ 0%] Building CXX object lib/CMakeFiles/omni.dir/omni_autogen/mocs_compilation.cpp.o
[ 1%] Building CXX object lib/CMakeFiles/omni.dir/src/BlendMask.cpp.o
In file included from /home/produccion/omnidome/lib/src/BlendMask.cpp:20:
In file included from /home/produccion/omnidome/lib/include/omni/BlendMask.h:24:
In file included from /usr/include/qt5/QtCore/QRectF:1:
In file included from /usr/include/qt5/QtCore/qrect.h:45:
In file included from /usr/include/qt5/QtCore/qsize.h:45:
In file included from /usr/include/qt5/QtCore/qnamespace.h:45:
In file included from /usr/include/qt5/QtCore/qglobal.h:82:
In file included from /usr/bin/../lib/gcc/x86_64-linux-gnu/4.8/../../../../include/c++/4.8/algorithm:62:
In file included from /usr/bin/../lib/gcc/x86_64-linux-gnu/4.8/../../../../include/c++/4.8/bits/stl_algo.h:65:
In file included from /usr/bin/../lib/gcc/x86_64-linux-gnu/4.8/../../../../include/c++/4.8/random:39:
/usr/bin/../lib/gcc/x86_64-linux-gnu/4.8/../../../../include/c++/4.8/cstdio:120:11: error: no member named 'gets' in the global namespace
using ::gets;
~~^
In file included from /home/produccion/omnidome/lib/src/BlendMask.cpp:20:
In file included from /home/produccion/omnidome/lib/include/omni/BlendMask.h:25:
In file included from /home/produccion/omnidome/lib/include/omni/BlendBrush.h:24:
In file included from /home/produccion/omnidome/lib/include/omni/Buffer.h:26:
In file included from /home/produccion/omnidome/lib/include/omni/util.h:30:
In file included from /home/produccion/omnidome/lib/include/omni/exception.h:25:
/home/produccion/omnidome/lib/include/omni/Factory.h:162:38: error: no member named 'toStdString' in 'QByteArray'
return hashstd::string()(_id.toStdString());
~~~ ^
2 errors generated.
make[2]: *** [lib/CMakeFiles/omni.dir/src/BlendMask.cpp.o] Error 1
make[1]: *** [lib/CMakeFiles/omni.dir/all] Error 2
make: *** [all] Error 2
The text was updated successfully, but these errors were encountered: