# Cling to use fltk widgets

**URL:** <https://root-forum.cern.ch/t/cling-to-use-fltk-widgets/31794>\
**Category:** Newbie\
**Created:** [November 28, 2018, 4:55pm UTC](https://root-forum.cern.ch/t/cling-to-use-fltk-widgets/31794 "2018-11-28T16:55:30Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![forrest](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/forrest/32/17552_2.png) [@forrest](https://root-forum.cern.ch/u/forrest)\
**Post date:** [November 28, 2018, 4:55pm UTC](https://root-forum.cern.ch/t/cling-to-use-fltk-widgets/31794/1 "2018-11-28T16:55:30Z")

</div>

First, I’m unsure how to set a library path and other compiler command-line options for cling.

2nd, the (musical) use I have in mind will require some sort of gui interface, fltk being the most intelligible set of tools for this I’ve found so far.  
Even to compile the fltk ‘hello world’ example on my system (Ubuntu 18) I’ve needed to use a script (“fltk-configure”) to set the compilation flags and call in the (gcc) compiler.

3rd, I’m utterly new to cling & don’t know what preliminary steps I need to do before putting in repl lines or files invoking fltk code

---

<div class="post-metadata">

**Author:** ![Axel](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/axel/32/11084_2.png) [@Axel](https://root-forum.cern.ch/u/Axel)\
**Post date:** [December 4, 2018, 7:53pm UTC](https://root-forum.cern.ch/t/cling-to-use-fltk-widgets/31794/2 "2018-12-04T19:53:41Z")

</div>

Let me see whether I can cook something up tomorrow! I suppose fltk isn’t simply in `/usr/lib` / `/usr/include`?

---

<div class="post-metadata">

**Author:** ![forrest](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/forrest/32/17552_2.png) [@forrest](https://root-forum.cern.ch/u/forrest)\
**Post date:** [December 11, 2018, 4:58am UTC](https://root-forum.cern.ch/t/cling-to-use-fltk-widgets/31794/3 "2018-12-11T04:58:03Z")

</div>

No, thanks for wanting to help out, but I found it in /usr/lib/x86\_64-linux-gnu/libfltk.so

and bumbled my way through (see my own response to my later frustrated note.)

The program needs better documentation for idiots (or at least I do!) It’s hard for anyone who knows how to \_\_ to imagine the difficulties of someone who doesn’t.
