CMake Error while building DSpace-1401 cross compilation with acados Matlab

Hello, everyone:
I am trying to cross-compile acados for DS1401 using the steps that are given in the acados page (URL: Embedded Workflow — acados documentation ).
I have executed the CMake command to build and I am getting the below error. I am using the following versions
Windows Matlab 2019b,
DSpace 2020-B
Cmake 3.14.7. (the version-3.26.1 was also used, none of them compile successfully! )

I have successfully build the acados and generated S-function for my application. When I got to the second step of the tutorial, and run “cmake -D CMAKE_TOOLCHAIN_FILE=…/cmake/Toolchain-dSPACEDS1401.cmake -G “Unix Makefiles” -S …/ -B ./” the problem arose:

-- Build type is Release
-- ACADOS_WITH_OPENMP: OFF
-- The ASM compiler identification is unknown
-- Found assembler: C:/ProgramData/dSPACE/A8EFD7E5-F405-47E4-9A8A-DE544031D1F0/Compiler/PPCTools/bin/asmppc.exe
-- Warning: Did not find file Compiler/-ASM
-- Using linear algebra: HIGH_PERFORMANCE
-- Using matrix format: PANELMAJ
-- Using external BLAS: 0
-- Testing target GENERIC: assembly compilation [failed]
Compile output:
Change Dir: D:/acados/buildDS1401/compilerTest/GENERIC/CMakeFiles/CMakeTmp

Run Build Command(s):D:/dSPACE/dSPACE RCPHIL 2020-B/Exe/DSMAKE.EXE cmTC_336c9/fast
'D:/dSPACE/dSPACE' 不是内部或外部命令,也不是可运行的程序
或批处理文件。

OPUS MAKE: Shell line exit status 1. Stop.

CMake Error at external/blasfeo/cmake/TestSingleTarget.cmake:26 (message):
  Unable to compile with assembly for target GENERIC
Call Stack (most recent call first):
  external/blasfeo/CMakeLists.txt:375 (TestSingleTarget)


-- Configuring incomplete, errors occurred!
See also "D:/acados/buildDS1401/CMakeFiles/CMakeOutput.log".
See also "D:/acados/buildDS1401/CMakeFiles/CMakeError.log".

To this end, I tried the following methods, which turned out not to be the problem:

Toolchain-files:

SET(CMAKE_SYSTEM_NAME "dSpaceDS1401")
list(APPEND CMAKE_MODULE_PATH ${CMAKE_CURRENT_LIST_DIR})
SET(CMAKE_SYSTEM_PROCESSOR "ppc")

# TODO: cmake_path instead?
# cmake_path(CONVERT "C:\\ProgramData\\dSPACE\\A8EFD7E5-F405-47E4-9A8A-DE544031D1F0\\Compiler\\PPCTools" TO_CMAKE_PATH_LIST DSPACE_DS1401_COMPILER_DIR NORMALIZE)
# 
file(TO_CMAKE_PATH "C:/ProgramData/dSPACE/A8EFD7E5-F405-47E4-9A8A-DE544031D1F0" DSPACE_TOOLS)
set(DSPACE_RTLIB "D:/dSPACE/dSPACE RCPHIL 2020-B/DS1401/RTLib")
set(DSPACE_PPCTOOLS "${DSPACE_TOOLS}/Compiler/PPCTools")

# C Compiler
find_program(CMAKE_C_COMPILER NAMES ${DSPACE_PPCTOOLS}/bin/mccppc.exe)
# C++ Compiler -- not used
find_program(CMAKE_CXX_COMPILER NAMES ${DSPACE_PPCTOOLS}/bin/mccppc.exe)
# Assembler
find_program(CMAKE_ASM_COMPILER NAMES ${DSPACE_PPCTOOLS}/bin/asmppc.exe)
set(CMAKE_RANLIB ":")

find_program(CMAKE_MAKE_PROGRAM NAMES "D:/dSPACE/dSPACE RCPHIL 2020-B/Exe/DSMAKE.exe")

SET(CMAKE_FIND_ROOT_PATH ${DSPACE_PPCTOOLS}) 
SET(CMAKE_FIND_ROOT_PATH_MODE_PROGRAM NEVER)
SET(CMAKE_FIND_ROOT_PATH_MODE_LIBRARY ONLY)
SET(CMAKE_FIND_ROOT_PATH_MODE_INCLUDE ONLY)

add_definitions(-D__MABX2__ -D__DSPACE__)

# Compiler flags
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -H -J{DSPACE_RTLIB}")
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -H -J{DSPACE_RTLIB}")
set(CMAKE_C_FLAGS "-Ot -Oi -Or -Ox -D_INLINE" CACHE STRING "" FORCE)

# acados flags
set(BLASFEO_TARGET "GENERIC" CACHE STRING "BLASFEO Target architecture")
set(HPIPM_TARGET "GENERIC" CACHE STRING "HPIPM Target architecture")
set(BUILD_SHARED_LIBS OFF CACHE STRING "Build shared libraries")
set(BLASFEO_EXAMPLES OFF CACHE BOOL "Examples disabled")
set(EXT_DEP OFF CACHE BOOL "Compile external dependencies in BLASFEO")
set(ACADOS_INSTALL_DIR "install" CACHE PATH  "Installation path to ACADOS_INSTALL_DIR")


# import from platform folder
set(CMAKE_IMPORT_LIBRARY_PREFIX "")
set(CMAKE_SHARED_LIBRARY_PREFIX "")
set(CMAKE_SHARED_MODULE_PREFIX  "")
set(CMAKE_STATIC_LIBRARY_PREFIX "")

set(CMAKE_EXECUTABLE_SUFFIX     ".exe")
set(CMAKE_IMPORT_LIBRARY_SUFFIX ".lib")
set(CMAKE_SHARED_LIBRARY_SUFFIX ".lib")
set(CMAKE_SHARED_MODULE_SUFFIX  ".lib")
set(CMAKE_STATIC_LIBRARY_SUFFIX ".lib")

# set(CMAKE_C_FLAGS "\"-J${DSPACE_RTLIB}\"")

set(CMAKE_INCLUDE_FLAG_C "-J")
set(CMAKE_INCLUDE_FLAG_CXX "-J")

# add_definitions(-D__MABX2__)
remove_definitions(-DLINUX)
remove_definitions(-DOS_WINDOWS)
remove_definitions(-D__LINUX__)

If anyone find any leads, please let me know.

Thanks
Best Wishes