Wed 23 Nov 2016 11:37:42 PM UTC, comment #7:
No response for quite a long time now, closing as invalid (or possibly fixed).
|
Fri 17 Jun 2016 10:19:46 PM UTC, comment #6:
This bug seems to have idled for quite a while. Can someone report whether the image package can be installed on current macOS systems with Octave 4.0.x?
|
Fri 05 Dec 2014 07:37:34 PM UTC, comment #5:
Wait, I think the problem arises as a combination of clang + GNU libstdc++... a very old GNU libstdc++, argh, stupid Apple.
Can you use a newer GNU libstdc++ or the corresponding old gcc that goes with that old GNU libstdc++ or the newer libc++ from LLVM?
Alternatively, we can probably fix this very easily by changing the call to pow(2.0, 32).
|
Fri 05 Dec 2014 06:44:46 PM UTC, comment #4:
I'm pretty sure that this is not a result of PR21083 (as suggested by Jordi), because that's a libc++ bug, and these errors are coming from a libstdc++ header file.
The paths, file names and line numbers all match the (very old) version of libstdc++'s cmath header.
BTW, I just tried compiling:
#include <cmath>
int main () { double x = pow(2.32); }
on my Mac OS 10.10.1 system (with Apple clang clang-600.0.56) with both libc++ and libstdc++, and got no error. I suspect that something more complicated is going on here.
|
Fri 05 Dec 2014 05:47:10 PM UTC, comment #3:
I really don't understand how clang can think that pow(2,32) is ambiguous. This seems like another symptom of this bug?
http://llvm.org/bugs/show_bug.cgi?id=21083
Does your clang have the bugfix attached to this bug?
|
Fri 05 Dec 2014 02:10:08 PM UTC, comment #2:
I do have installation problems on Mac OS X 10.8.5. Octave 3.8.2 is installed via the Fink package manager:
Xcode version is 5.1.1 with the latest (for this version of OS X) command line tools installed.
|
Thu 04 Dec 2014 05:45:40 PM UTC, comment #1:
FWIW, the whitepoint function would belong to the image package but as not yet been implemented anyway. Of course, there is no way for Octave to know if functions exist in packages that are not yet installed.
|
Thu 04 Dec 2014 01:53:09 AM UTC, original submission:
I tried to process an image via:
>> [l, Am, C] = slic(im, 3000, 10, 10, 'median');
warning: the 'whitepoint' function belongs to the image package from Octave Forge
which seems to not be installed in your system.
This seems to fail with the default MacOSX binary installed for 3.8.0. Compiling on MacOSX is already difficult, so the binary install should come with these packages already compiled so that everything works by default.
Anyway, I then tried to run this:
pkg install -forge general control signal image
It fails with the following compiler error:
So, it looks like the control package fails to compile on MacOSX 10.9.5. Please fix this since it makes use of Octave impossible. There is no point in a binary installer that fails to actually install binaries that actually work.
|