Melacon / ntsim

Network Topology Simulator
Apache License 2.0
9 stars 3 forks source link

Build Error for docker-build-o-ran-device.sh #5

Open rkkilari opened 2 years ago

rkkilari commented 2 years ago

When I run ./docker-build-o-ran-device.sh I am getting below error. I am using WSL2.

=> ERROR [builder 10/24] RUN cd cJSON && mkdir build && cd build && cmake .. -DENABLE_CJSON_UTILS=On -DENABLE_CJS 0.7s

[builder 10/24] RUN cd cJSON && mkdir build && cd build && cmake .. -DENABLE_CJSON_UTILS=On -DENABLE_CJSON_TEST=Off -DCMAKE_INSTALL_PREFIX=/usr .. && make -j2 && make install && ldconfig:

17 0.662 CMake Error: The source directory "/opt/dev/cJSON" does not appear to contain CMakeLists.txt.

alexandrustancu commented 2 years ago

I believe you did not clone the repo including the submodules. You should run git submodule update --init --recursive in your repository and try again.