# Third person camera

**URL:** <https://forum.castle-engine.io/t/third-person-camera/213>\
**Category:** Uncategorized\
**Created:** [August 21, 2020, 12:52pm UTC](https://forum.castle-engine.io/t/third-person-camera/213 "2020-08-21T12:52:49Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![valterb](https://forum.castle-engine.io/user_avatar/forum.castle-engine.io/valterb/32/26_2.png) [@valterb](https://forum.castle-engine.io/u/valterb)\
**Post date:** [August 21, 2020, 12:52pm UTC](https://forum.castle-engine.io/t/third-person-camera/213/1 "2020-08-21T12:52:49Z")

</div>

Hi, I’m trying to compile the Third\_person\_camera example but Lazarus raises the error class EOggVirbisMissingLibraryError (library to decode OggVorbis is not available).  
I also tried to copy vorbisfile.dll, vorbis.dll, ogg.dll to the main application folder but I keep getting the same message.  
Is it needed to set other parameters to access the library?  
I am working in Windows 64bit and latest version of Lazarus (2.0.10)

---

<div class="post-metadata">

**Author:** ![michalis](https://forum.castle-engine.io/user_avatar/forum.castle-engine.io/michalis/32/3_2.png) [@michalis](https://forum.castle-engine.io/u/michalis)\
**Post date:** [August 21, 2020, 1:15pm UTC](https://forum.castle-engine.io/t/third-person-camera/213/2 "2020-08-21T13:15:02Z")

</div>

First of all, you see the error because you run inside Lazarus debugger. You can just press “continue” and the application will continue to work, just without playing OggVorbis sound.

Copying the DLL files linked from [Documentation | Castle Game Engine](https://castle-engine.io/documentation.php#section_libraries) to reside alongside the EXE should definitely work. But make sure that you copy proper versions of the DLL files. See the advise there:

> Be sure to use the `dll` files corresponding to your target platform. For example, if you use FPC/Lazarus for 32-bits, then you make executable for 32-bits (by default), and you should use `dll` for 32-bits. _Even if you work on a 64-bit Windows._

My best advise would be to compile using our [Build Tool · castle-engine/castle-engine Wiki · GitHub](https://github.com/castle-engine/castle-engine/wiki/Build-Tool) or [editor](https://castle-engine.io/manual_editor.php), then the DLLs (with proper architecture) are automatically placed alongside the EXE and you don’t need to do anything.

---

<div class="post-metadata">

**Author:** ![valterb](https://forum.castle-engine.io/user_avatar/forum.castle-engine.io/valterb/32/26_2.png) [@valterb](https://forum.castle-engine.io/u/valterb)\
**Post date:** [August 21, 2020, 1:42pm UTC](https://forum.castle-engine.io/t/third-person-camera/213/3 "2020-08-21T13:42:13Z")

</div>

> But make sure that you copy proper versions of the DLL files

True, sorry. 😊
