Open euichan2000 opened 1 month ago
I replaced line 77 of /home/nrs/path_ws/src/noether/noether_tpp/CMakeLists.txt::77
before
if (${NURBS_FOUND})
target_sources(${PROJECT_NAME} src/mesh_modifiers/bspline_reconstruction_modifier.cpp)
after
if (${NURBS_FOUND})
target_sources(${PROJECT_NAME} PRIVATE src/mesh_modifiers/bspline_reconstruction_modifier.cpp)
then, above error message disappear. but another error message appear.
nrs@nrs-vision:~/path_ws$ catkin build
----------------------------------------------------------------------
Profile: default
Extending: [cached] /home/nrs/catkin_ws/devel:/opt/ros/noetic
Workspace: /home/nrs/path_ws
----------------------------------------------------------------------
Build Space: [exists] /home/nrs/path_ws/build
Devel Space: [exists] /home/nrs/path_ws/devel
Install Space: [unused] /home/nrs/path_ws/install
Log Space: [exists] /home/nrs/path_ws/logs
Source Space: [exists] /home/nrs/path_ws/src
DESTDIR: [unused] None
----------------------------------------------------------------------
Devel Space Layout: linked
Install Space Layout: None
----------------------------------------------------------------------
Additional CMake Args: None
Additional Make Args: None
Additional catkin Make Args: None
Internal Make Job Server: True
Cache Job Environments: False
----------------------------------------------------------------------
Buildlisted Packages: None
Skiplisted Packages: None
----------------------------------------------------------------------
Workspace configuration appears valid.
----------------------------------------------------------------------
[build] Found 4 packages in 0.0 seconds.
[build] Package table is up to date.
Starting >>> ros_industrial_cmake_boilerplate
Finished <<< ros_industrial_cmake_boilerplate [ 0.2 seconds ]
Starting >>> boost_plugin_loader
Starting >>> noether_tpp
Finished <<< boost_plugin_loader [ 0.3 seconds ]
___________________________________________________________________________________________________
Warnings << noether_tpp:check /home/nrs/path_ws/logs/noether_tpp/build.check.007.log
** WARNING ** io features related to pcap will be disabled
** WARNING ** io features related to png will be disabled
** WARNING ** io features related to libusb-1.0 will be disabled
cd /home/nrs/path_ws/build/noether_tpp; catkin build --get-env noether_tpp | catkin env -si /usr/bin/make cmake_check_build_system; cd -
...................................................................................................
___________________________________________________________________________________________________
Errors << noether_tpp:make /home/nrs/path_ws/logs/noether_tpp/build.make.003.log
/home/nrs/path_ws/src/noether/noether_tpp/src/mesh_modifiers/bspline_reconstruction_modifier.cpp:40:41: error: return type of out-of-line definition of 'noether::BSplineReconstruction::modify' differs from that in the declaration [clang-diagnostic-error]
pcl::PolygonMesh BSplineReconstruction::modify(const pcl::PolygonMesh& mesh_in) const
^
/home/nrs/path_ws/src/noether/noether_tpp/include/noether_tpp/mesh_modifiers/bspline_reconstruction_modifier.h:73:33: note: previous declaration is here
std::vector<pcl::PolygonMesh> modify(const pcl::PolygonMesh& mesh) const override;
^
1 error generated.
Error while processing /home/nrs/path_ws/src/noether/noether_tpp/src/mesh_modifiers/bspline_reconstruction_modifier.cpp.
Found compiler error(s).
make[2]: *** [CMakeFiles/noether_tpp.dir/build.make:492: CMakeFiles/noether_tpp.dir/src/mesh_modifiers/bspline_reconstruction_modifier.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:76: CMakeFiles/noether_tpp.dir/all] Error 2
make: *** [Makefile:130: all] Error 2
cd /home/nrs/path_ws/build/noether_tpp; catkin build --get-env noether_tpp | catkin env -si /usr/bin/make --jobserver-auth=3,4; cd -
...................................................................................................
Failed << noether_tpp:make [ Exited with code 2 ]
Failed <<< noether_tpp [ 8.3 seconds ]
Abandoned <<< noether_gui [ Unrelated job failed ]
[build] Summary: 2 of 4 packages succeeded.
[build] Ignored: None.
[build] Warnings: 1 packages succeeded with warnings.
[build] Abandoned: 1 packages were abandoned.
[build] Failed: 1 packages failed.
[build] Runtime: 8.5 seconds total.
I'm attempting to build Noether on
ubuntu 20.04
. Here is my sequence to build Noether.then, this error message appears.
in
/home/nrs/path_ws/src/noether/noether_tpp/CMakeLists.txt::77
、I have no idea to fix this error. Any suggestions? Thanks!!