Skip to content
This repository was archived by the owner on Feb 3, 2025. It is now read-only.

model_builder does not depend on msgs #457

Closed
osrf-migration opened this issue Jan 29, 2013 · 5 comments
Closed

model_builder does not depend on msgs #457

osrf-migration opened this issue Jan 29, 2013 · 5 comments
Labels
all bug Something isn't working major

Comments

@osrf-migration
Copy link

Original report (archived issue) by John Hsu (Bitbucket: hsu, GitHub: hsu).


Race condition at build time, for example here axis.proto is built after BuildingMaker.cc:

Building CXX object gazebo/gui/model_editor/CMakeFiles/gazebo_model_editor.dir/moc_BuildingModelManip.cxx.o
cd /home/hsu/projects/gazebo_default/build_release/gazebo/gui/model_editor && /usr/bin/c++   -DQT_GUI_LIB -DQT_CORE_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_NO_DEBUG -DQT_NO_DEBUG -g -O2  -Wall -Wextra -Wno-long-long -Wno-unused-value -Wno-unused-value -Wno-unused-value -Wno-unused-value -Wfloat-equal -Wshadow -Winit-self -Wswitch-default -Wmissing-include-dirs -pedantic -msse -msse2 -mfpmath=sse -msse3 -mssse3  -g -O2  -Wall -Wextra -Wno-long-long -Wno-unused-value -Wno-unused-value -Wno-unused-value -Wno-unused-value -Wfloat-equal -Wshadow -Winit-self -Wswitch-default -Wmissing-include-dirs -pedantic -msse -msse2 -mfpmath=sse -msse3 -mssse3 -I/home/hsu/projects/gazebo_default -I/home/hsu/projects/gazebo_default/build_release -I/home/hsu/projects/gazebo_default/gazebo -I/home/hsu/projects/gazebo_default/build_release/gazebo -I/home/hsu/projects/gazebo_default/build_release/gazebo/gui/model_editor -isystem /home/hsu/local/include/OGRE/RTShaderSystem -isystem /home/hsu/local/include -isystem /home/hsu/local/include/OGRE -I/usr/include/qt4 -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtCore    -fPIC -o CMakeFiles/gazebo_model_editor.dir/moc_BuildingModelManip.cxx.o -c /home/hsu/projects/gazebo_default/build_release/gazebo/gui/model_editor/moc_BuildingModelManip.cxx
In file included from /home/hsu/projects/gazebo_default/gazebo/msgs/msgs.hh:22:0,
                 from /home/hsu/projects/gazebo_default/gazebo/gui/model_editor/BuildingMaker.cc:22:
/home/hsu/projects/gazebo_default/build_release/gazebo/msgs/MessageTypes.hh:2:22: fatal error: axis.pb.h: No such file or directory
compilation terminated.
make[2]: *** [gazebo/gui/model_editor/CMakeFiles/gazebo_model_editor.dir/BuildingMaker.cc.o] Error 1
make[2]: *** Waiting for unfinished jobs....
In file included from /home/hsu/projects/gazebo_default/gazebo/msgs/msgs.hh:22:0,
                 from /home/hsu/projects/gazebo_default/gazebo/rendering/Visual.hh:39,
                 from /home/hsu/projects/gazebo_default/gazebo/gui/model_editor/BuildingModelManip.cc:20:
/home/hsu/projects/gazebo_default/build_release/gazebo/msgs/MessageTypes.hh:2:22: fatal error: axis.pb.h: No such file or directory
compilation terminated.
In file included from /home/hsu/projects/gazebo_default/gazebo/msgs/msgs.hh:22:0,
                 from /home/hsu/projects/gazebo_default/gazebo/rendering/Visual.hh:39,
                 from /home/hsu/projects/gazebo_default/build_release/gazebo/gui/model_editor/../../../../gazebo/gui/model_editor/BuildingModelManip.hh:23,
                 from /home/hsu/projects/gazebo_default/build_release/gazebo/gui/model_editor/moc_BuildingModelManip.cxx:10:
/home/hsu/projects/gazebo_default/build_release/gazebo/msgs/MessageTypes.hh:2:22: fatal error: axis.pb.h: No such file or directory
compilation terminated.
Linking CXX executable gazebomsgs_out
cd /home/hsu/projects/gazebo_default/build_release/gazebo/msgs && /usr/bin/cmake -E cmake_link_script CMakeFiles/gazebomsgs_out.dir/link.txt --verbose=1
/usr/bin/c++    -g -O2  -Wall -Wextra -Wno-long-long -Wno-unused-value -Wno-unused-value -Wno-unused-value -Wno-unused-value -Wfloat-equal -Wshadow -Winit-self -Wswitch-default -Wmissing-include-dirs -pedantic -msse -msse2 -mfpmath=sse -msse3 -mssse3  -g -O2  -Wall -Wextra -Wno-long-long -Wno-unused-value -Wno-unused-value -Wno-unused-value -Wno-unused-value -Wfloat-equal -Wshadow -Winit-self -Wswitch-default -Wmissing-include-dirs -pedantic -msse -msse2 -mfpmath=sse -msse3 -mssse3    CMakeFiles/gazebomsgs_out.dir/generator/GazeboGenerator.cc.o CMakeFiles/gazebomsgs_out.dir/generator/gazebo_generator.cc.o  -o gazebomsgs_out -rdynamic -L/home/hsu/local/lib -L/home/hsu/projects/gazebo_default/build_release/test -lprotobuf -lprotoc -lpthread -Wl,-rpath,/home/hsu/local/lib:/home/hsu/projects/gazebo_default/build_release/test 
Running C++ protocol buffer compiler on axis.proto
cd /home/hsu/projects/gazebo_default/build_release/gazebo/msgs && /usr/bin/protoc --plugin=protoc-gen-gazebomsgs=/home/hsu/projects/gazebo_default/build_release/gazebo/msgs/gazebomsgs_out --cpp_out /home/hsu/projects/gazebo_default/build_release/gazebo/msgs --gazebomsgs_out /home/hsu/projects/gazebo_default/build_release/gazebo/msgs --proto_path /home/hsu/projects/gazebo_default/gazebo/msgs /home/hsu/projects/gazebo_default/gazebo/msgs/axis.proto
@osrf-migration
Copy link
Author

Original comment by Steve Peters (Bitbucket: Steven Peters, GitHub: scpeters).


is this the same as #247?

@osrf-migration
Copy link
Author

Original comment by John Hsu (Bitbucket: hsu, GitHub: hsu).


not exactly, in this case, you can see that axis.proto got built right after where it's needed by model editor.

@osrf-migration
Copy link
Author

Original comment by Ian Chen (Bitbucket: Ian Chen, GitHub: iche033).


  • changed state from "new" to "resolved"

pull request #255

@osrf-migration
Copy link
Author

Original comment by Nate Koenig (Bitbucket: Nathan Koenig).


  • set version to "all"

@osrf-migration
Copy link
Author

Original comment by Nate Koenig (Bitbucket: Nathan Koenig).


  • changed state from "resolved" to "closed"

@osrf-migration osrf-migration added major bug Something isn't working all labels Apr 19, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
all bug Something isn't working major
Projects
None yet
Development

No branches or pull requests

1 participant