NR module을 request해서 installation하고 example file 수행까지 모두 마쳤다.
시뮬레이션 하다보면 visualization tool이 반드시 필요해서 pyviz 사용하려고 보니..
./waf --run /scratch/example --vis
에서 --vis가 안먹히고 에러 발생
./waf configure --enable-examples --enable-tests로 확인해보니
python binding을 찾을 수 없다한다.
[solved]
find -iname pybindgen
검색 결과, 나는 NR module 설치하느라 기존에 설치한 ns-allinone-3.35에서 작업하지 않고 ns-3-dev에서 작업 중이었는데 python binding이 ns-allinone-3.35 디렉토리에는 설치되어 있었음.
해당 경로의 python binding folder 자체 복사해 새로 설치한 ns-3-dev directory와 같은 레벨에 복붙하니 python binding 인식하고 --vis 정상 동작
정확한 해결 방안은 아닌 것 같지만.. 해결되었으니 됐다 .. :)
'ns3' 카테고리의 다른 글
[ns3] SIGSEGV 에러 해결 (segmentation fault) (0) | 2022.08.30 |
---|---|
[ns3] undefined reference to 에러 해결 (0) | 2022.07.26 |
[ns3, C++] 'MyApp' was not declared in this scope 문제 해결 - 헤더파일 include에 문제가 없음에도 에러가 뜬 경우 (IFNDEF) (0) | 2022.03.24 |
[ns3] basic installation list (0) | 2022.01.06 |
네트워크 시뮬레이터 ns3 :: 설치부터 구현까지 (0) | 2020.11.16 |