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
{{ message }}
This repository has been archived by the owner on Nov 22, 2023. It is now read-only.
There is a problem with some of the dependencies. I tried to build the project on Manjaro (Arch) Linux.
Linux 5.4.101-1-MANJARO #1 SMP PREEMPT Fri Feb 26 11:18:55 UTC 2021 x86_64 GNU/Linux
boost 1.75.0-2
qt5-base 5.15.2-3 (qt qt5)
g++ (GCC) 10.2.0
% make -j3
[ 1%] Built target glad
[ 2%] Building CXX object external/pcl/CMakeFiles/pcl.dir/src/pcl/io/ply/ply_parser.cpp.o
[ 2%] Automatic MOC for target nodes
[ 2%] Automatic MOC for target core_library
[ 2%] Built target nodes_autogen
[ 2%] Built target core_library_autogen
[ 12%] Built target glhelper
[ 14%] Built target core_library
[ 15%] Building CXX object external/nodeeditor/CMakeFiles/nodes.dir/src/Connection.cpp.o
[ 17%] Built target geometry
[ 18%] Building CXX object external/nodeeditor/CMakeFiles/nodes.dir/src/ConnectionGraphicsObject.cpp.o
In file included from /home/phistep/Projects/aur-packages/test/pointcloud-viewer/src/external/pcl/include/pcl/io/ply/ply.h:45,
from /home/phistep/Projects/aur-packages/test/pointcloud-viewer/src/external/pcl/include/pcl/io/ply/ply_parser.h:53,
from /home/phistep/Projects/aur-packages/test/pointcloud-viewer/src/external/pcl/src/pcl/io/ply/ply_parser.cpp:41:
/home/phistep/Projects/aur-packages/test/pointcloud-viewer/src/external/pcl/include/pcl/io/ply/byte_order.h:43:10: fatal error: boost/detail/endian.hpp: No such file or directory
43 | #include <boost/detail/endian.hpp>
| ^~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
make[2]: *** [external/pcl/CMakeFiles/pcl.dir/build.make:82: external/pcl/CMakeFiles/pcl.dir/src/pcl/io/ply/ply_parser.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:415: external/pcl/CMakeFiles/pcl.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
[ 19%] Building CXX object external/nodeeditor/CMakeFiles/nodes.dir/src/ConnectionState.cpp.o
In file included from /home/phistep/Projects/aur-packages/test/pointcloud-viewer/src/external/nodeeditor/include/nodes/internal/DataModelRegistry.hpp:14,
from /home/phistep/Projects/aur-packages/test/pointcloud-viewer/src/external/nodeeditor/include/nodes/internal/FlowScene.hpp:12,
from /home/phistep/Projects/aur-packages/test/pointcloud-viewer/src/external/nodeeditor/src/ConnectionGraphicsObject.cpp:9:
/home/phistep/Projects/aur-packages/test/pointcloud-viewer/src/external/nodeeditor/include/nodes/internal/QStringStdHash.hpp:11:8: error: redefinition of ‘struct std::hash<QString>’
11 | struct hash<QString>
| ^~~~~~~~~~~~~
In file included from /usr/include/qt/QtCore/qlist.h:47,
from /usr/include/qt/QtCore/qobject.h:49,
from /usr/include/qt/QtWidgets/qgraphicsitem.h:44,
from /usr/include/qt/QtWidgets/QGraphicsObject:1,
from /home/phistep/Projects/aur-packages/test/pointcloud-viewer/src/external/nodeeditor/include/nodes/internal/ConnectionGraphicsObject.hpp:5,
from /home/phistep/Projects/aur-packages/test/pointcloud-viewer/src/external/nodeeditor/src/ConnectionGraphicsObject.cpp:1:
/usr/include/qt/QtCore/qhashfunctions.h:204:1: note: previous definition of ‘struct std::hash<QString>’
204 | QT_SPECIALIZE_STD_HASH_TO_CALL_QHASH_BY_CREF(QString)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
make[2]: *** [external/nodeeditor/CMakeFiles/nodes.dir/build.make:249: external/nodeeditor/CMakeFiles/nodes.dir/src/ConnectionGraphicsObject.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
In file included from /home/phistep/Projects/aur-packages/test/pointcloud-viewer/src/external/nodeeditor/include/nodes/internal/DataModelRegistry.hpp:14,
from /home/phistep/Projects/aur-packages/test/pointcloud-viewer/src/external/nodeeditor/include/nodes/internal/FlowScene.hpp:12,
from /home/phistep/Projects/aur-packages/test/pointcloud-viewer/src/external/nodeeditor/src/ConnectionState.cpp:7:
/home/phistep/Projects/aur-packages/test/pointcloud-viewer/src/external/nodeeditor/include/nodes/internal/QStringStdHash.hpp:11:8: error: redefinition of ‘struct std::hash<QString>’
11 | struct hash<QString>
| ^~~~~~~~~~~~~
In file included from /usr/include/qt/QtCore/qlist.h:47,
from /usr/include/qt/QtCore/qobject.h:49,
from /usr/include/qt/QtWidgets/qgraphicsscene.h:44,
from /usr/include/qt/QtWidgets/QGraphicsScene:1,
from /home/phistep/Projects/aur-packages/test/pointcloud-viewer/src/external/nodeeditor/include/nodes/internal/FlowScene.hpp:4,
from /home/phistep/Projects/aur-packages/test/pointcloud-viewer/src/external/nodeeditor/src/ConnectionState.cpp:7:
/usr/include/qt/QtCore/qhashfunctions.h:204:1: note: previous definition of ‘struct std::hash<QString>’
204 | QT_SPECIALIZE_STD_HASH_TO_CALL_QHASH_BY_CREF(QString)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
make[2]: *** [external/nodeeditor/CMakeFiles/nodes.dir/build.make:275: external/nodeeditor/CMakeFiles/nodes.dir/src/ConnectionState.cpp.o] Error 1
In file included from /home/phistep/Projects/aur-packages/test/pointcloud-viewer/src/external/nodeeditor/include/nodes/internal/DataModelRegistry.hpp:14,
from /home/phistep/Projects/aur-packages/test/pointcloud-viewer/src/external/nodeeditor/include/nodes/internal/FlowScene.hpp:12,
from /home/phistep/Projects/aur-packages/test/pointcloud-viewer/src/external/nodeeditor/src/Connection.cpp:10:
/home/phistep/Projects/aur-packages/test/pointcloud-viewer/src/external/nodeeditor/include/nodes/internal/QStringStdHash.hpp:11:8: error: redefinition of ‘struct std::hash<QString>’
11 | struct hash<QString>
| ^~~~~~~~~~~~~
In file included from /usr/include/qt/QtCore/qlist.h:47,
from /usr/include/qt/QtCore/qobject.h:49,
from /usr/include/qt/QtCore/QObject:1,
from /home/phistep/Projects/aur-packages/test/pointcloud-viewer/src/external/nodeeditor/include/nodes/internal/Connection.hpp:3,
from /home/phistep/Projects/aur-packages/test/pointcloud-viewer/src/external/nodeeditor/src/Connection.cpp:1:
/usr/include/qt/QtCore/qhashfunctions.h:204:1: note: previous definition of ‘struct std::hash<QString>’
204 | QT_SPECIALIZE_STD_HASH_TO_CALL_QHASH_BY_CREF(QString)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
make[2]: *** [external/nodeeditor/CMakeFiles/nodes.dir/build.make:210: external/nodeeditor/CMakeFiles/nodes.dir/src/Connection.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:442: external/nodeeditor/CMakeFiles/nodes.dir/all] Error 2
make: *** [Makefile:149: all] Error 2
zsh: exit 2 make -j3
The text was updated successfully, but these errors were encountered:
phistep
changed the title
Build error: missing boost endian and redefintion of hash<QString>
Build error: missing boost/detail/endian.hpp and redefintion of hash<QString>
Mar 27, 2021
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
There is a problem with some of the dependencies. I tried to build the project on Manjaro (Arch) Linux.
Linux 5.4.101-1-MANJARO #1 SMP PREEMPT Fri Feb 26 11:18:55 UTC 2021 x86_64 GNU/Linux
boost 1.75.0-2
qt5-base 5.15.2-3 (qt qt5)
g++ (GCC) 10.2.0
The text was updated successfully, but these errors were encountered: