[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Guile-CV: Not a GRAY, RGB nor an RGBA image "sand.tif"
From: |
Daniele |
Subject: |
Re: Guile-CV: Not a GRAY, RGB nor an RGBA image "sand.tif" |
Date: |
Wed, 6 Dec 2017 21:27:59 +0100 |
> Then try make check in Guile-CV, then make install, and ... it should be fine.
Yes, it's fine now, thanks.
Daniele
2017-12-06 19:43 GMT+01:00 David Pirotte <address@hidden>:
> Hi Daniele,
>
> this is a long answer, please read carefully, and apply all the steps
> meticulously...
>
>> > Did you install Vigra 'manually?
>> > What is the version of Vigra?
>
> You forgot to answer the above question, but I believe, because of the
> (incomplete)
> 'ldd libvigra_c.so' report you sent, that you installed Vigra manually, which
> is
> perfect (and expected): debian buster still uses 1.10, and Guile-CV needs
> Vigra 1.11
> (to be fully correct, the libvigra_c upon which Guile-CV depends needs Vigra
> 1.11):
>
> It is also a lot better in the long run, debian, even buster, is far
> too
> slow 'for us', as you can see (Vigra 1.11 has been released a while
> ago...).
>
> However, when you install Vigra manually, you are responsible for the
> installation
> of the image format libraries you intend to use, and you are missing
> practically all
> of them, let's fix this, see below.
>
>> > What is the last commit of vigra_c on your side? (just go in the
>> > directory where you cloned, run gilt log and grab the first line for me).
>>
>> commit 691b189b05b0e0734376510cbdb256d30725ec96 (HEAD -> master,
>> origin/master, origin/HEAD)
>
> Perfect.
>
>> > David
>
> as an aside note, please configure your email so it does not wrap
> long lines
> so you can copy paste 'terminal output', and manually ask for
> wrapping text
> lines,,, thanks!
>
>> linux-vdso.so.1 (0x00007fffaefc0000)
>> libvigraimpex.so.11 => /usr/local/lib/libvigraimpex.so.11
>> ...
>
> This is largely incomplete. Let's 'trick' to solve this and try to save some
> time
> as well, please try the following:
>
> 1- install libvigraimpex-dev
>
> sudo apt-get install libvigraimpex-dev
>
> this will install all Vigra dependencies as specified by the
> debian
> team: it will install all image libraries development files
> for all
> image format Vigra is capable of handling
>
> 2- recompile Vigra
>
> cd /your-vigra-source-tree-location/
> make clean
> cmake \
> -DCMAKE_INSTALL_PREFIX=/opt/vigra \
> -DCMAKE_BUILD_TYPE=RELEASE
>
> [ in the above steps, substitute the PREFIX as
> [ appropriate ... I suggest you keep the one you had
> to
> [ simplify (otherwise remember to (re)configure
> [ in /etc/ld.so.conf.d//vigra.conf and run ldconfig
> as
> [ root ...
>
> at this point, cmake will list all format it will
> accept, so
> you can double check ...
>
> make
> make install
>
> 3- recompile libvigra_c
>
> make clean
> cmake \
> -DCMAKE_INSTALL_PREFIX=/opt/vigra_c \
> -DCMAKE_BUILD_TYPE=RELEASE
>
> [ in the above steps, substitute the PREFIX for the
> [ one used above ... remember to (re)configure
> [ in /etc/ld.so.conf.d//vigra_c.conf and run
> ldconfig as
> [ root ...
>
> make
> make install
>
> 4- you may safely remove libvigraimpex-dev if you wish, we are
> not
> using it anyway...
>
> Then try make check in Guile-CV, then make install, and ... it should be fine.
>
> David
- Re: Guile-CV: Not a GRAY, RGB nor an RGBA image "sand.tif", (continued)
- Re: Guile-CV: Not a GRAY, RGB nor an RGBA image "sand.tif", Daniele, 2017/12/05
- Re: Guile-CV: Not a GRAY, RGB nor an RGBA image "sand.tif", David Pirotte, 2017/12/05
- Re: Guile-CV: Not a GRAY, RGB nor an RGBA image "sand.tif", Mark H Weaver, 2017/12/05
- Re: Guile-CV: Not a GRAY, RGB nor an RGBA image "sand.tif", David Pirotte, 2017/12/05
- Re: Guile-CV: Not a GRAY, RGB nor an RGBA image "sand.tif", Mark H Weaver, 2017/12/05
- Re: Guile-CV: Not a GRAY, RGB nor an RGBA image "sand.tif", tomas, 2017/12/06
- Re: Guile-CV: Not a GRAY, RGB nor an RGBA image "sand.tif", Daniele, 2017/12/06
- Message not available
- Re: Guile-CV: Not a GRAY, RGB nor an RGBA image "sand.tif", David Pirotte, 2017/12/06
- Re: Guile-CV: Not a GRAY, RGB nor an RGBA image "sand.tif", Daniele, 2017/12/06
- Re: Guile-CV: Not a GRAY, RGB nor an RGBA image "sand.tif", David Pirotte, 2017/12/06
- Re: Guile-CV: Not a GRAY, RGB nor an RGBA image "sand.tif",
Daniele <=
- Re: Guile-CV: Not a GRAY, RGB nor an RGBA image "sand.tif", David Pirotte, 2017/12/06