# voxl-tflite-server build failed

Source: https://forum.modalai.com/topic/4684/voxl-tflite-server-build-failed
Category: VOXL SDK and Software (https://forum.modalai.com/category/47/voxl-sdk-and-software)
Tags: tflite-server, voxl-sdk
Posted: 2025-08-18 01:39:49 UTC by Wondosen
Replies: 6 · Views: 1588

## Wondosen · 2025-08-18 01:39:49 UTC

I was able to compile successfully before, but recently the linker has stopped finding the library files "absl_wyhash" and "clog".

The compilation output is shown below.

![tflite-build-error.png](https://forum.modalai.com/assets/uploads/files/1755481133247-tflite-build-error.png)

## Reply by tom (ModalAI staff) · 2025-08-18 16:57:04 UTC

@Wondosen How are you running `./install_build_deps.sh`?

## Reply by Wondosen · 2025-08-19 01:36:26 UTC (in reply to tom)

@tom yes I did 
```
./install_build_deps.sh qrb5165 dev
```

## Reply by Wondosen · 2025-08-19 06:57:43 UTC (in reply to tom)

@tom for running, ```./build.sh qrb5165```

## Reply by tom (ModalAI staff) · 2025-08-19 21:45:34 UTC (in reply to Wondosen)

@Wondosen You're building voxl-tflite-server which is part of SDK 1.4.4, while calling `install_build_deps.sh qrb5165 dev` will pull the dependencies for a much newer version of voxl-tflite-server than you're using.

Try running `./install_build_deps.sh qrb5165 sdk-1.4`

## Reply by tom (ModalAI staff) · 2025-08-19 21:49:00 UTC (in reply to tom)

@tom I just ran the following successfully:

```
cd voxl-tflite-server
git checkout master
git pull
voxl-docker -i  voxl-cross:V2.7
./install_build_deps.sh qrb5165 sdk-1.4
./build.sh qrb5165
./make_package.sh
```

here's a snippet
```
[ 60%] Building CXX object src/CMakeFiles/voxl-tflite-server.dir/model_helper/generic_object_detection_model_helper.cpp.o
[ 66%] Building CXX object src/CMakeFiles/voxl-tflite-server.dir/model_helper/yolov5_model_helper.cpp.o
[ 73%] Building CXX object src/CMakeFiles/voxl-tflite-server.dir/model_helper/posenet_model_helper.cpp.o
[ 80%] Building CXX object src/CMakeFiles/voxl-tflite-server.dir/model_helper/yolov8_model_helper.cpp.o
[ 86%] Building C object src/CMakeFiles/voxl-tflite-server.dir/resize.c.o
[ 93%] Building CXX object src/CMakeFiles/voxl-tflite-server.dir/utils.cpp.o
[100%] Linking CXX executable voxl-tflite-server
/usr/lib64//libtensorflow-lite.a(nnapi_delegate.cc.o): In function `tflite::delegate::nnapi::NNMemory::NNMemory(NnApi const*, char const*, unsigned long)':
nnapi_delegate.cc:(.text+0xd58): warning: the use of `tmpnam' is dangerous, better use `mkstemp'
[100%] Built target voxl-tflite-server
voxl-cross(2.7):~(master)(0.4.1)$ ls
CHANGELOG         build              include                scripts
CMakeLists.txt    build.sh           install_build_deps.sh  services
LICENSE           clean.sh           make_package.sh        src
README.md         debug_source.sh    misc_files
bash_completions  deploy_to_voxl.sh  pkg
voxl-cross(2.7):~(master)(0.4.1)$ ./make_package.sh 
Package Name:  voxl-tflite-server
version Number:  0.4.1
Consolidate compiler generated dependencies of target voxl-tflite-server
[100%] Built target voxl-tflite-server
Install the project...
-- Install configuration: "DEBUG"
-- Installing: ../pkg/data/usr/bin/voxl-tflite-server
/home/root
starting building Debian Package
dpkg-deb: building package 'voxl-tflite-server' in 'voxl-tflite-server_0.4.1_arm64.deb'.
DONE

```

## Reply by Wondosen · 2025-08-20 00:11:55 UTC (in reply to tom)

@tom Thank you so much. It is working now with your suggestion. I think the README file of [voxl-tflite-server](https://gitlab.com/voxl-public/voxl-sdk/services/voxl-tflite-server) need to be updated.
