[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: macOS fltk error
From: |
Andrew Janke |
Subject: |
Re: macOS fltk error |
Date: |
Thu, 19 Dec 2019 10:00:16 -0500 |
User-agent: |
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:60.0) Gecko/20100101 Thunderbird/60.9.1 |
On 12/19/19 9:55 AM, Kai Torben Ohlhus wrote:
> On 12/18/19 2:46 PM, coru wrote:
>> I have the trouble of swithing from "qt" to "fltk".
>>
>> If I tried use fltk and type the following,
>>> graphics_toolkit ('fltk'),
>> I got return error message like below.
>>> error: graphics_toolkit: fltk toolkit is not available
>>> error: called from
>>> graphics_toolkit at line 81 column 5
>>
>> for other info:
>>> available_graphics_toolkits
>>> ans =
>>> {
>>> [1,1] = gnuplot
>>> [1,2] = qt
>>> }
>>
>> I already installed fltk.
>>> brew install fltk
>>> Warning: fltk 1.3.5 is already installed and up-to-date
>>> To reinstall 1.3.5, run `brew reinstall fltk`
>>
>> I also tried to specify the fltk variant like following
>>> sudo port install octave-devel +fltk+carbon+atlas+docs
>> but I got same error.
>>
>> I am using macOS (catalina 10.15) and
>> GNU octave version is 5.1.0.
>>
>> Could anyone help this issue, please?
>>
> By looking at the Homebrew sources [1,2], I wonder why you had to
> install the fltk dependency manually? Do you mix up Homebrew and
> MacPort installations maybe?
>
> Does something like
>
> brew reinstall octave
>
> help?
>
> HTH,
> Kai
>
> [1]: https://formulae.brew.sh/formula/octave
> [2]: https://github.com/Homebrew/homebrew-core/blob/master/Formula/octave.rb
>
>
I see the same thing in my Homebrewed installation of Octave. Looks like
even though the formula declares a dependency on fltk, it's not actually
picking it up during the build. I'll look in to it.
Cheers,
Andrew