Closed boilcy closed 3 months ago
@boilcy Thanks for your feedback! We will check it very soon.
Sorry for not replying in time. I see that you have opened a new branch with the same content as I do. Hope you have time to make sure this is useful.
I have merged CXX 17 with currenty main branch. All packages build normally, may have some test and then merge CXX into main. Now new modify is on develop branch
Thank you for your wonderful job! 在使用
make pc
命令构建docker images时,出现如下报错:Errors << d2frontend:make /home/yc/d2slam_ws/logs/d2frontend/build.make.000.log
In file included from /home/yc/d2slam_ws/src/D2SLAM/d2frontend/include/d2frontend/CNN/superpoint_common.h:2, from /home/yc/d2slam_ws/src/D2SLAM/d2frontend/src/CNN/superpoint_common.cpp:1: /usr/local/include/ATen/ATen.h:4:2: error: #error C++17 or later compatible compiler is required to use ATen. 4 | #error C++17 or later compatible compiler is required to use ATen. | ^~~~~ In file included from /usr/local/include/c10/util/string_view.h:4, from /usr/local/include/c10/util/StringUtil.h:6, from /usr/local/include/c10/util/Exception.h:5, from /usr/local/include/ATen/core/Generator.h:11, from /usr/local/include/ATen/CPUGeneratorImpl.h:3, from /usr/local/include/ATen/Context.h:3, from /usr/local/include/ATen/ATen.h:7, from /home/yc/d2slam_ws/src/D2SLAM/d2frontend/include/d2frontend/CNN/superpoint_common.h:2, from /home/yc/d2slam_ws/src/D2SLAM/d2frontend/src/CNN/superpoint_common.cpp:1: /usr/local/include/c10/util/C++17.h:27:2: error: #error You need C++17 to compile PyTorch 27 | #error You need C++17 to compile PyTorch | ^~~~~
我将swarm_ws/src/D2SLAM/d2fronted/CMakeLists.txt中的 CXX_STANDARD 都由14修改为17后,全部包都build成功了。 这是一个bug吗?