Skip to content

Commit

Permalink
README update to specify exact version of the required NS-3 and ndnSI…
Browse files Browse the repository at this point in the history
…M repos

Refs #3
  • Loading branch information
cawka committed Aug 23, 2013
1 parent 47c16d4 commit 088ed3d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,10 @@ Example steps to install NS-3 and ndnSIM in optimized mode (without logging, but
mkdir ndnSIM
cd ndnSIM
git clone git://github.com/cawka/ns-3-dev-ndnSIM.git ns-3
(cd ns-3; git checkout -b ndnSIM-0.4.3 origin/ndnSIM-0.4.3)

This comment has been minimized.

Copy link
@akakakak

akakakak Oct 25, 2015

when I run "cd ns-3; git checkout -b ndnSIM-0.4.3 origin/ndnSIM-0.4.3", this error appear:
fatal: cannot update paths and switch to branch 'ndnSIM-0.4.3' at the same time. Did you intend to checkout 'origin/ndnSIM-0.4.3' which can not be resolved as commit?

How should I fix this error?

git clone git://github.com/cawka/pybindgen.git pybindgen
git clone git://github.com/NDN-Routing/ndnSIM.git ns-3/src/ndnSIM
(cd ns-3/src/ndnSIM; git checkout -b v0.4.3 v0.4.3)

cd ns-3
./waf configure -d optimized
Expand Down

2 comments on commit 088ed3d

@monster-xie
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

cann'ot run this .

@ra7ul
Copy link

@ra7ul ra7ul commented on 088ed3d Oct 26, 2014

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

when I do this, it showed like below after the step'./waf': ../src/ndnSIM/helper/ndn-global-routing-helper.cc:242:68: error: typedef ‘vertex_descriptor’ locally defined but not used [-Werror=unused-local-typedefs]
typedef graph_traits < NdnGlobalRouterGraph >::vertex_descriptor vertex_descriptor;
^
../src/ndnSIM/helper/ndn-global-routing-helper.cc: In static member function ‘static void ns3::ndn::GlobalRoutingHelper::CalculateAllPossibleRoutes()’:
../src/ndnSIM/helper/ndn-global-routing-helper.cc:332:68: error: typedef ‘vertex_descriptor’ locally defined but not used [-Werror=unused-local-typedefs]
typedef graph_traits < NdnGlobalRouterGraph >::vertex_descriptor vertex_descriptor;
^
cc1plus: all warnings being treated as errors
how should I do?

Please sign in to comment.