# Configurable FPC and Lazarus location in the editor

**URL:** https://forum.castle-engine.io/t/configurable-fpc-and-lazarus-location-in-the-editor/98
**Category:** News
**Created:** [October 9, 2019, 8:55pm UTC](https://forum.castle-engine.io/t/configurable-fpc-and-lazarus-location-in-the-editor/98 "2019-10-09T20:55:06Z")
**Posts on this page:** 1
**Page:** 1

<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: [October 9, 2019, 8:55pm UTC](https://forum.castle-engine.io/t/configurable-fpc-and-lazarus-location-in-the-editor/98/1 "2019-10-09T20:55:06Z")

</div>

| [![cge-editor-location](https://castle-engine.io/wp/wp-content/uploads/2019/10/cge-editor-location-200x138.png)](https://castle-engine.io/wp/wp-content/uploads/2019/10/cge-editor-location.png "cge-editor-location") |
| [![cge-editor-location-warning](https://castle-engine.io/wp/wp-content/uploads/2019/10/cge-editor-location-warning-200x237.png)](https://castle-engine.io/wp/wp-content/uploads/2019/10/cge-editor-location-warning.png "cge-editor-location-warning") |

The [CGE editor](https://castle-engine.io/manual_editor.php) now has a _“Preferences”_ window where you can configure the location of FPC / Lazarus.

Basically, if you use the CGE editor, you no longer have to worry about adjusting your environment variables. No need to place FPC / Lazarus in `$PATH` anymore, and no need to define `$CASTLE_ENGINE_PATH`. This should make the editor more user-friendly — I’m aware that editing environment variables isn’t comfortable for everyone on all operating systems 🙂

The editor now also displays more prominently whether it detected FPC (and what version it detected), and the “Preferences” window includes a helpful text leading to [Lazarus + FPC download](https://www.lazarus-ide.org/). All this will hopefully lead to more straightforward experience for people new to Lazarus/FPC.

_(The next step will be, one day, to bundle FPC/Lazarus with CGE editor… but it’s not something I want to attempt now, for nearest release. Especially since advanced users would like to have an “unbundled” download anyway, as you probably want more control over FPC/Lazaus version.)_
