openthread / ot-ns

OpenThread Network Simulator, a discrete event simulator and visualization tool for Thread networks.
https://openthread.io
BSD 3-Clause "New" or "Revised" License
60 stars 23 forks source link

otns file is missing in the output/simulation/bin directory after building #149

Closed lboue closed 2 years ago

lboue commented 2 years ago

Hello

I trying to build OTNS. I followed the 'OTNS Guide'. I managed to build with Makefile :

user@ubuntu:~/dev/otns/openthread$ make -f examples/Makefile-simulation OTNS=1
  BUILD    simulation
make -j10 -C build/simulation --no-print-directory all
  CHECK         .local-version
make --no-print-directory all-recursive
Making all in include
make  all-am
Making all in third_party
Making all in tcplp
make[4]: rien à faire pour « all ».
Making all in mbedtls
make[4]: rien à faire pour « all ».
make[4]: rien à faire pour « all-am ».
Making all in src
Making all in core
make[4]: rien à faire pour « all ».
Making all in lib

But when I try to run OTNS, I can find the binary file. The otns file is missing in the output/simulation/bin directory after building.

user@ubuntu:~/dev/otns/openthread$ ll output/simulation/bin
total 151516
drwxrwxr-x 2 user user     4096 nov.  13 08:33 ./
drwxrwxr-x 4 user user     4096 nov.  13 08:29 ../
-rwxr-xr-x 1 user user 46216464 nov.  13 08:29 ot-cli-ftd*
-rwxr-xr-x 1 user user 33258384 nov.  13 08:29 ot-cli-mtd*
-rwxr-xr-x 1 user user 43090440 nov.  13 08:29 ot-ncp-ftd*
-rwxr-xr-x 1 user user 30812256 nov.  13 08:29 ot-ncp-mtd*
-rwxr-xr-x 1 user user  1652424 nov.  13 08:29 ot-rcp*
-rwxr-xr-x 1 user user   101280 nov.  13 08:29 spi-hdlc-adapter*

Could you help me to fix that?

Regards Ludovic

lboue commented 2 years ago

I find the explanation there: https://openthread.google.cn/codelabs/openthread-network-simulator#1