Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CMake Generate step failed. Trying to create TensorFlow Lite C++ minimal example to run models on our A311D processor #563

Open
FrankdenUijl opened this issue Mar 13, 2023 · 1 comment

Comments

@FrankdenUijl
Copy link

FrankdenUijl commented Mar 13, 2023

CMake Generate step failed.

Trying to create the TensorFlow Lite C++ minimal example to run models on our A311D processor.

If I not mistaken I need to run cmake .. -D HARDWARE=A311D in this repository first, and then the cmake of the tflite-vx-delegate repository?

When I run cmake .. -D HARDWARE=A311D in this repo on my windows 11 machine I get the following error:

cmake .. -D HARDWARE=A311D
-- Building for: Visual Studio 17 2022
-- Selecting Windows SDK version 10.0.22000.0 to target Windows 10.0.22621.
-- The C compiler identification is MSVC 19.35.32215.0
-- The CXX compiler identification is MSVC 19.35.32215.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.35.32215/bin/Hostx64/x64/cl.exe - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.35.32215/bin/Hostx64/x64/cl.exe - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
Processing X86_64.cmake ...
found lib CLC at OVXDRV_FOUND_LIB_0-NOTFOUND
--->OVXDRV_LIBRARIESOVXDRV_FOUND_LIB_0-NOTFOUND
found lib GAL at OVXDRV_FOUND_LIB_1-NOTFOUND
--->OVXDRV_LIBRARIESOVXDRV_FOUND_LIB_1-NOTFOUND
found lib OpenVX at OVXDRV_FOUND_LIB_2-NOTFOUND
--->OVXDRV_LIBRARIESOVXDRV_FOUND_LIB_2-NOTFOUND
found lib OpenVXU at OVXDRV_FOUND_LIB_3-NOTFOUND
--->OVXDRV_LIBRARIESOVXDRV_FOUND_LIB_3-NOTFOUND
found lib VSC at OVXDRV_FOUND_LIB_4-NOTFOUND
--->OVXDRV_LIBRARIESOVXDRV_FOUND_LIB_4-NOTFOUND
found lib ArchModelSw at OVXDRV_FOUND_LIB_5-NOTFOUND
--->OVXDRV_LIBRARIESOVXDRV_FOUND_LIB_5-NOTFOUND
found lib NNArchPerf at OVXDRV_FOUND_LIB_6-NOTFOUND
--->OVXDRV_LIBRARIESOVXDRV_FOUND_LIB_6-NOTFOUND
-- Could NOT find OVXDRV (missing: OVXDRV_LIBRARIES)
src/tim/vx
src/tim/vx/internal
-- OVXLIB include directory: C:/Users/Frank/Documents/4Growth/wksp/tim-vx/src/tim/vx/internal/include
-- Configuring done (2.3s)
CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the CMake files:
OVXDRV_FOUND_LIB_0
    linked by target "tim-vx" in directory C:/Users/Frank/Documents/4Growth/wksp/tim-vx/src/tim
OVXDRV_FOUND_LIB_1
    linked by target "tim-vx" in directory C:/Users/Frank/Documents/4Growth/wksp/tim-vx/src/tim
OVXDRV_FOUND_LIB_2
    linked by target "tim-vx" in directory C:/Users/Frank/Documents/4Growth/wksp/tim-vx/src/tim
OVXDRV_FOUND_LIB_3
    linked by target "tim-vx" in directory C:/Users/Frank/Documents/4Growth/wksp/tim-vx/src/tim
OVXDRV_FOUND_LIB_4
    linked by target "tim-vx" in directory C:/Users/Frank/Documents/4Growth/wksp/tim-vx/src/tim
OVXDRV_FOUND_LIB_5
    linked by target "tim-vx" in directory C:/Users/Frank/Documents/4Growth/wksp/tim-vx/src/tim
OVXDRV_FOUND_LIB_6
    linked by target "tim-vx" in directory C:/Users/Frank/Documents/4Growth/wksp/tim-vx/src/tim

-- Generating done (0.0s)
CMake Warning:
  Manually-specified variables were not used by the project:

    HARDWARE


CMake Generate step failed.  Build files cannot be regenerated correctly.

How can I fix this?

@sunshinemyson
Copy link
Contributor

sunshinemyson commented Mar 23, 2023

@FrankdenUijl ,

please use -DCONFIG=A311D not HARDWARE;

And windows 11 may not work since we need to unzip toolchain with linux tools.

Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants