# Amb82 mini RTSPFaceDetection example gives compile error

**URL:** <https://forum.amebaiot.com/t/amb82-mini-rtspfacedetection-example-gives-compile-error/4170>\
**Category:** AI\
**Tags:** evb-amb82, rtl8735b\
**Created:** [June 12, 2025, 5:57am UTC](https://forum.amebaiot.com/t/amb82-mini-rtspfacedetection-example-gives-compile-error/4170 "2025-06-12T05:57:02Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![samlewis02](https://sea2.discourse-cdn.com/flex016/user_avatar/forum.amebaiot.com/samlewis02/32/2461_2.png) [@samlewis02](https://forum.amebaiot.com/u/samlewis02)\
**Post date:** [June 12, 2025, 5:57am UTC](https://forum.amebaiot.com/t/amb82-mini-rtspfacedetection-example-gives-compile-error/4170/1 "2025-06-12T05:57:02Z")

</div>

Using Arduino IDE 2.3.6 on a Mac Mini M4 running Sequoia 15.5 and Ameba Pro build 4.0.9. Trying to compile RTSPFaceDetection example from AmebaNN folder I get the following error:

In file included from /Users/samlewis/Library/Arduino15/packages/realtek/hardware/AmebaPro2/4.0.9-build20250528/libraries/NeuralNetwork/src/NNFaceDetection.h:11,  
from /private/var/folders/5v/gypk7bd16wq7r6qj0g0tm7z80000gn/T/.arduinoIDE-unsaved2025512-852-1nod69d.jnvbi/RTSPFaceDetection/RTSPFaceDetection.ino:28:  
/Users/samlewis/Library/Arduino15/packages/realtek/hardware/AmebaPro2/4.0.9-build20250528/system/component/media/mmfv2/module\_vipnn.h:5:10: fatal error: vip\_lite.h: No such file or directory  
5 | #include \<vip\_lite.h\>  
| ^ ~~~~~~~~~~~  
compilation terminated.  
exit status 1

Compilation error: exit status 1

The same error occurs with the ObjectDetection examples.  
The HTTPDisplayJPEGContinuous example compiles with no error and runs successfully.

I just tried 4.0.9-build20250325 and this works apart from a warning.

---

<div class="post-metadata">

**Author:** ![Pammy](https://sea2.discourse-cdn.com/flex016/user_avatar/forum.amebaiot.com/pammy/32/936_2.png) [@Pammy](https://forum.amebaiot.com/u/Pammy)\
**Post date:** [June 12, 2025, 6:42am UTC](https://forum.amebaiot.com/t/amb82-mini-rtspfacedetection-example-gives-compile-error/4170/2 "2025-06-12T06:42:17Z")

</div>

Hi @samlewis02, as it is a pre-release version. It could be unstable. I recommend you to use the stable version v4.0.8.

If you need to use 4.0.9-build20250528, you need to patch with [Update platform.txt · Ameba-AIoT/ameba-arduino-pro2@bddce9c · GitHub](https://github.com/Ameba-AIoT/ameba-arduino-pro2/commit/bddce9cd8e7c247c38a8dd09a0aa71d34462d0fd).
