mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-20 00:51:42 +00:00
adds build of gz_msgs on end-user computer This means we don't need to provide different zips for different versions of ubuntu. The problem was that gazebo on 14.04 comes with protobuf 2.5 but gazebo on 15.10 comes with 2.6 added a few other fixes to the install script as well also fix dependency between simluation publishing and libwpilibcsim building Change-Id: I57d5a26ed7795bc61a25402e2986c6023d1d78ac
726 B
726 B
Building gz_msgs
gz_msgs currently uses cmake, is built on the end-users computer. This allows us to support various versions of protobuf (2.5 on Ubuntu 14.04, 2.6 on Ubuntu 15.10)
To build, run the following commands in the ~/wpilib/simulation/gz_msgs directory. If that directory doesn't exist, it means you haven't installed correctly.
If you're a developer for wpilib, you will need to unzip the simulation.zip file you published into ~/releases. If you are a student using FRCSim, you should have downloaded that zip when you installed frcsim.
mkdir build
cd build
cmake ..
make
make install
If you are installing FRCSim with the script, then this should have be done for you.