foss-for-synopsys-dwc-arc-processors/embarc_mli

Error build CiFAR-10 Convolution Neural Network Example - version error

SunBeenMoon opened this issue · 1 comments

I downloaded and get license from synopsys by 2021.Feb.
Build tool is window.
I confirmed that the toolchain is working correctly.
ex. CCAC compiler etc

C:\VSmachine\embarc_mli-mli_dev\examples\example_cifar10_caffe>C:\VSmachine\ARC\MetaWare\arc\bin\gmake.exe TCF_FILE=../../hw/em9d.tcf
cmake \
        -DDEBUG_BUILD=ON \
        -DEXT_CFLAGS= \
        -DOPTMODE=speed \
        -DGEN_EXAMPLES=1 \
        -DMLI_BUILD_REFERENCE=OFF \
        -DCMAKE_INSTALL_PREFIX=C:/VSmachine/embarc_mli-mli_dev/bin/arc \
        -DARC_CFG_TCF_PATH=C:/VSmachine/embarc_mli-mli_dev/hw/em9d.tcf -DCMAKE_TOOLCHAIN_FILE=C:/ARC/MetaWare/arc/cmake/arc-mwdt.toolchain.cmake -G "Unix Makefiles" \
        -BC:/VSmachine/embarc_mli-mli_dev/obj/arc \
        -SC:/VSmachine/embarc_mli-mli_dev
CMake Error: The current CMakeCache.txt directory C:/VSmachine/embarc_mli-mli_dev/obj/arc/CMakeCache.txt is different than the directory /usr/my/embarc_mli-mli_dev/obj/arc where CMakeCache.txt was created. This may result in binaries being created in the wrong place. If you are not sure, reedit the CMakeCache.txt
CMake Error: The source "C:/VSmachine/embarc_mli-mli_dev/CMakeLists.txt" does not match the source "/usr/my/embarc_mli-mli_dev/CMakeLists.txt" used to generate cache.  Re-run cmake with a different source directory.
gmake: *** [../../make/rules.mk:81: ../..\obj\arc/cmake_install.cmake] Error 1

I have an error the version is not matched. Check the version of cmakelist

I fixed it erase cache file.