LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 01-10-2017, 10:47 AM   #1
mr.simo
Member
 
Registered: Feb 2010
Posts: 78

Rep: Reputation: 0
Debian, octave and graphicsmagick with 32 bit depth


Hi all,

I am working on a project for which I have to use octave and image processing. The problem is that graphicsmagick is always set to 8 bit depth..

Here is reported how to solve: http://wiki.octave.org/GraphicsMagick
So I downloaded the graphicsmagick source package wit

Code:
apt-get source graphicsmagick
edited the debian/rules files adding the flags

Code:
--with-quantum-depth=32 --enable-shared --disable-static --with-magick-plus-plus=yes
after the configure-stamp label

and I recompiled it following the instructions from here:

https://wiki.debian.org/BuildingAPac...dified_package

and then I reinstalled the graphicsmagick libs with dpkg.

But when I run octave and I try to read an image, I get the following error:

Quote:
error: default_formats: /usr/lib/i386-linux-gnu/octave/3.8.2/oct/i586-pc-linux-gnu/__magick_read__.oct: failed to load: /usr/lib/i386-linux-gnu/octave/3.8.2/oct/i586-pc-linux-gnu/__magick_read__.oct: undefined symbol: _ZN6Magick5ColorC1Ehhh
error: called from:
error: /usr/share/octave/3.8.2/m/image/imformats.m at line 255, column 11
error: /usr/share/octave/3.8.2/m/image/imformats.m at line 78, column 3
error: /usr/share/octave/3.8.2/m/image/private/imageIO.m at line 60, column 7
error: /usr/share/octave/3.8.2/m/image/imread.m at line 107, column 30
Do you have a suggestion about how to solve this issue ?

Regards,
simon

Last edited by mr.simo; 01-10-2017 at 11:05 AM.
 
Old 01-11-2017, 11:50 AM   #2
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,523

Rep: Reputation: 2619Reputation: 2619Reputation: 2619Reputation: 2619Reputation: 2619Reputation: 2619Reputation: 2619Reputation: 2619Reputation: 2619Reputation: 2619Reputation: 2619
i build imagemagick for octave but it is close

you need to blacklist im or gm from being installed as a dependency
or rename the build you are doing

build the q16
then build the q32

Quote:
i386-linux-gnu/octave
is there a need for the 32 bit octave on a 64 bit os ?

you will NEED to build IM or GM as a 32 bit x86 on your 64 bit os

or
install and use the 64 bit octave
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Changing from 24-bit depth to 16-bit (and vice versa) on the fly? Wintershade Linux - Hardware 2 05-01-2011 05:14 PM
Can I Use 8 Bit Color Depth? taurusx5 Linux - Software 3 09-17-2008 02:21 AM
32 bit color depth chii-chan Linux - General 4 03-19-2004 08:15 AM
unsupported 16 bit depth HELP? BatChild01 Linux - Newbie 0 07-15-2001 10:18 AM
i cant get 1024x768 @ 16 bit colour depth vixy27 Linux - Software 4 12-11-2000 12:07 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 07:37 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration