Check whether the ImageMagick libraries are part of the link step.

Michael.


On Sat, May 23, 2009 at 12:18 PM, Tatsuro MATSUOKA
<[email protected]> wrote:
> Hello
>
> I have tried to install image-1.0.8.tar.gz under the octave-3.0.5 for both my 
> own build and Benjamin's
> build. (Of course, ImageMagick should be installed before install.)
>
>
>
> For my build, which is built with GCC-4.4.0-TDM-dw2, image-1.0.8 is 
> successfully installed.
>
> octave:5> pkg install image-1.0.8.tar.gz
> warning: implicit conversion from matrix to string
> octave:8> pkg list
>            image *|   1.0.8 | 
> ...\OctaveBuild\share\octave\packages\image-1.0.8
>
> However for octave-3.0.5 (Benjamin),
> pkg install image-1.0.8.tar.gz
>
> gave errors like,
>
> __magick_read__.cc: In function 'octave_value_list 
> read_indexed_images(std::vect
> or<Magick::Image, std::allocator<Magick::Image> >, Array<int>, bool)':
> __magick_read__.cc:94: warning: comparison between signed and unsigned 
> integer e
> xpressions
> __magick_read__.o:__magick_read__.cc:(.text+0x409): undefined reference to 
> `Magi
> ck::Image::baseRows() const'
> __magick_read__.o:__magick_read__.cc:(.text+0x41c): undefined reference to 
> `Magi
> ck::Image::baseColumns() const'
> __magick_read__.o:__magick_read__.cc:(.text+0x444): undefined reference to 
> `Magi
> ck::Image::type()'
>  :
>  :
>
> The above might be complier problem but I do not know whether my guess is 
> correct or not.
>
>> For some reason (probably because I didn't install the mingw development
>> package separately, but only your windows distribution of octave-3.0.5)
>> my installed octave doesn't recognize the required environment vars, so
>> I can't use 'pkg build', 'mex' or 'mkoctfile'.
>>
>
> I did not met such situation for octave-3.0.5 (Benjamin),
> For example,
>
> octave-3.0.5.exe:3:C:\usr\tatsu\test\testOrego
>> mkoctfile -s oregonator.cc
> octave-3.0.5.exe:5:C:\usr\tatsu\test\testOrego
>> system('ls -l oregonator.oct')
> -rwxr-xr-x 1 Tatsu Administrators 16896 May 23 19:55 oregonator.oct
> ans = 0
>
> mkoctfile worked without problem.
>
> I have install octave 3,0.5 (Benjamin) to 'C:\Programs' but not 'C:\Program 
> Files' to avoid white
> space problem. But I guess that Benjamin solved the white space problem so 
> that default installing
> folder is 'C:\Program Files'.  But you can try to install octave to the 
> folder whose path name contain
> white space.  But I do not sure that it will give affirmative results.
>
> Anyway even if you will use mkoctfile, pkg install, the problem perhaps will 
> not be solved.
>
> I hope your trouble will be solved in the near future.
>
> Regards
>
> Tatsuro
>
>
> --- nit_ar  wrote:
>
>> I thought about this but the ordfil2 m function calls a C source code
>> based function.
>>
>>
>> For some reason (probably because I didn't install the mingw development
>> package separately, but only your windows distribution of octave-3.0.5)
>> my installed octave doesn't recognize the required environment vars, so
>> I can't use 'pkg build', 'mex' or 'mkoctfile'.
>>
>>
>> Nitzan
>>
>>
>> Benjamin Lindner wrote:
>>
>> > nit_ar wrote:
>> >> Specifically, I need the function ordfilt2 which I do not find in
>> >> octave-3.0.5
>> >>
>> >
>> > Now this is not a nice solution, but if you need a single function
>> > from a package, you can simply download the package, extract it
>> > somewhere temporarily and fetch ordfilt2.m from the inst/ subdirectory
>> > and move it somewhere into your octave search path.
>> >
>> > Not elegant, but should do the job.
>> >
>> > benjamin
>> >
>> >
>>
>> ------------------------------------------------------------------------------
>> Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT
>> is a gathering of tech-side developers & brand creativity professionals. Meet
>> the minds behind Google Creative Lab, Visual Complexity, Processing, &
>> iPhoneDevCamp asthey present alongside digital heavyweights like Barbarian
>> Group, R/GA, & Big Spaceship. http://www.creativitycat.com
>> _______________________________________________
>> Octave-dev mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/octave-dev
>>
>
>
> --------------------------------------
> Power up the Internet with Yahoo! Toolbar.
> http://pr.mail.yahoo.co.jp/toolbar/
>
> ------------------------------------------------------------------------------
> Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT
> is a gathering of tech-side developers & brand creativity professionals. Meet
> the minds behind Google Creative Lab, Visual Complexity, Processing, &
> iPhoneDevCamp asthey present alongside digital heavyweights like Barbarian
> Group, R/GA, & Big Spaceship. http://www.creativitycat.com
> _______________________________________________
> Octave-dev mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/octave-dev
>

------------------------------------------------------------------------------
Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT
is a gathering of tech-side developers & brand creativity professionals. Meet
the minds behind Google Creative Lab, Visual Complexity, Processing, & 
iPhoneDevCamp asthey present alongside digital heavyweights like Barbarian
Group, R/GA, & Big Spaceship. http://www.creativitycat.com 
_______________________________________________
Octave-dev mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/octave-dev

Reply via email to