Ubuntu 18.04
emane-tutorial 0.27
emane 1.2.6
GUN make 4.1
Issue
Since there is no xml file such as rfpipenem.xml in the .emanegentransportxml directory In emane-tutotial/2, the error in the figure will appear when make.
So I tried to modify lines 72 to 79 in emane-tutorial/rules.mk to make it work.
solution
Original code
$(PLATFORMDEPS): .%-dep:%
mkdir .emanegentransportxml && \
cd .emanegentransportxml && \
emanegentransportxml ../$< && \
for i in $$(ls *.xml); do chmod g-w,u-w $$i; cp -f $$i ..; done && \
cd .. && \
rm -rf .emanegentransportxml
@touch $@
Modified code
$(PLATFORMDEPS): .%-dep:%
emanegentransportxml ./$< && \
for i in $$(ls *.xml); do chmod g-w,u-w $$i; done
@touch $@
Environment:
Issue
Since there is no xml file such as rfpipenem.xml in the .emanegentransportxml directory In emane-tutotial/2, the error in the figure will appear when make.
So I tried to modify lines 72 to 79 in emane-tutorial/rules.mk to make it work.
solution
Original code
Modified code
It works well with the modified code.