Skip to content
This repository has been archived by the owner on Dec 5, 2018. It is now read-only.

FLTKConfig.cmake not installed #3

Open
oberon-manjaro opened this issue Dec 13, 2016 · 2 comments
Open

FLTKConfig.cmake not installed #3

oberon-manjaro opened this issue Dec 13, 2016 · 2 comments

Comments

@oberon-manjaro
Copy link

oberon-manjaro commented Dec 13, 2016

I am trying to compile jwm-settings-manager on Manjaro (Archlinux). With the Archlinux fltk package installed, the build fails with

CMake Error at CMakeLists.txt:50 (FIND_PACKAGE):
  Could not find a package configuration file provided by "FLTK" with any of
  the following names:

    FLTKConfig.cmake
    fltk-config.cmake

  Add the installation prefix of "FLTK" to CMAKE_PREFIX_PATH or set
  "FLTK_DIR" to a directory containing one of the above files.  If "FLTK"
  provides a separate development package or SDK, be sure it has been
  installed.

So I investigated further and found that - even when I compile fltk from source, /usr/lib/fltk/ and its content will not be installed at all.
I see that the debian package libfltk1.3-dev does indeed include these files.
Now my question is, how do I compile fltk in a way to get these installed aswell?
I'd be very happy if you could help me out there 😉

@ghost
Copy link

ghost commented Dec 13, 2016

@Oberon2007 I remember this issue when I tried to compile it on Arch a few months ago, but I got around the issue, I just do not completely remember how 😁 I also had a similar issue on Fedora about a year ago.
Perhaps asking someone on #cmake on freenode. Or the maintainer of the cmake packages in Arch. They may have some better insight.

@Albrecht-S
Copy link

@oberon-manjaro: To answer the original question "how do I compile fltk in a way to get these installed aswell?": you can compile (and optionally install) FLTK using CMake instead of autoconf/configure. This will create the needed file(s).

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants