octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #45569] support for Image IO was disabled when


From: chris
Subject: [Octave-bug-tracker] [bug #45569] support for Image IO was disabled when Octave was built. but it was not reported in the summary of ./config
Date: Sat, 18 Jul 2015 16:19:53 +0000
User-agent: Mozilla/5.0 (X11; Linux i686; rv:38.0) Gecko/20100101 Firefox/38.0

Follow-up Comment #1, bug #45569 (project octave):

I installed the:
GraphicsMagick-1.3.20-3
GraphicsMagick-devel-1.3.20-3
GraphicsMagick-c++-1.3.20-3
GraphicsMagick-c++-devel-1.3.20-3
and have the libs:
libGraphicsMagick.so.3.12.0
libGraphicsMagick++.so.3.7.0

The system is Scientific Linux 6 32-bit.

I re-installed Octave from source using a g++ 5.1 compiler (the previous build
was with g++ 4.4.7) as follows:
./config --prefix=dir
make 
make install

the make check gives:
  scripts/image/imfinfo.m ....... PASS      0/1             
  scripts/image/imformats.m ..... PASS      5/5   
  scripts/image/imread.m ........ PASS      2/4   
  scripts/image/imshow.m ........ PASS      6/6   
  scripts/image/imwrite.m ....... PASS      9/19  

and then build image-2.4.0 as follows:

setenv CPPFLAGS -D_GLIBCXX_USE_CXX11_ABI=1
(NOTE: with setenv CPPFLAGS -D_GLIBCXX_USE_CXX11_ABI=0 it failed, but worked
with the octave that was built with g++ 4.4.7)
pkg install image-2.4.0

a = imread(fname); gives the error:

error: default_formats:
/usr/.../octave-4.0.0_g++_5.1/lib/octave/4.0.0/oct/i686-pc-linux-gnu/__magick_read__.oct:
failed to load:
/usr/.../octave-4.0.0_g++_5.1/lib/octave/4.0.0/oct/i686-pc-linux-gnu/__magick_read__.oct:
undefined symbol: _ZNK6Magick5Image7commentB5cxx11Ev
error: called from
    imformats>default_formats at line 256 column 11
    imformats at line 79 column 3
    imageIO at line 106 column 11
    imread at line 106 column 30

In http://wiki.octave.org/GraphicsMagick it says:

./configure  --with-quantum-depth=16 --enable-shared --disable-static
--with-magick-plus-plus=yes
make
make check
sudo make install

is the above relevant to this bug please? do I have to re-install octave from
source (with g++ 5.1 ?)? Do I have to do something before that, about
"GraphicsMagick"? Thank you.


    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?45569>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]