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

Error in last building step #40

Open
planetarioros opened this issue Feb 6, 2020 · 1 comment
Open

Error in last building step #40

planetarioros opened this issue Feb 6, 2020 · 1 comment

Comments

@planetarioros
Copy link

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

@WilstonOreo
Copy link
Owner

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.

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

2 participants