Open rkkilari opened 2 years ago
When I run ./docker-build-o-ran-device.sh I am getting below error. I am using WSL2.
[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.
[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:
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.
git submodule update --init --recursive
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