Loading ...
Sorry, an error occurred while loading the content.

Re: [PanoToolsNG] multiblend on Ubuntu 12.04 installation fails?

Expand Messages
  • Ethy H. Brito
    On Sun, 9 Sep 2012 20:57:30 +0100 ... Bruno Would you mind posting here your dpkg -l libjpeg* libpng* libtiff* together with a ldd multiblend ?? If you
    Message 1 of 11 , Sep 9, 2012
    • 0 Attachment
      On Sun, 9 Sep 2012 20:57:30 +0100
      Bruno Postle <bruno@...> wrote:

      > On Sun 09-Sep-2012 at 11:30 +0200, Jan Martin wrote:
      > >
      > > having a bit trouble installing multiblend on a new PC with Ubuntu
      > > 12.04.1, 64 bit.
      >
      > > multiblend.cpp:(.text+0x456): undefined reference to
      > > `TIFFMergeFieldInfo' multiblend.cpp:(.text+0x3297): undefined
      > > reference to `png_create_info_struct' multiblend.cpp:(.text+0x898f):
      > > undefined reference to `jpeg_std_error'
      >
      > Do you have multiple versions of the tiff, jpeg and png libraries,
      > or have them installed in non-standard locations?
      >
      > On fedora (all versions), all that is necessary is to install
      > libtiff-devel libjpeg-devel libpng-devel and build with something
      > like this (for x86_64):
      >
      > g++ -g -pipe -Wall -m64 -mtune=generic -msse2 -O3 -ltiff -ljpeg -lpng
      > multiblend.cpp -o multiblend

      Bruno

      Would you mind posting here your "dpkg -l libjpeg* libpng* libtiff* "
      together with a "ldd multiblend" ??

      If you do this we'll be able to compare the compile environment AND running environment of your distro.

      Thanks

      Regards

      Ethy


      >
      > --
      > Bruno
      >
      >
    • Ethy H. Brito
      On Sun, 9 Sep 2012 20:49:05 -0300 Ethy H. Brito wrote: Hi everybody. Bruno: never mind my last email. Thanks anyway. Jan: try like this:
      Message 2 of 11 , Sep 9, 2012
      • 0 Attachment
        On Sun, 9 Sep 2012 20:49:05 -0300
        "Ethy H. Brito" <ethy@...> wrote:

        Hi everybody.
        Bruno: never mind my last email. Thanks anyway.

        Jan: try like this:

        g++ -msse2 -O3 multiblend.cpp -o multiblend -ltiff -ltiffxx -ljpeg -lpng

        (just put the "-llib"s all the way to the end)

        :~/temp/multiblend$ ./multiblend

        multiblend v0.4 (c) 2012 David Horman http://horman.net/multiblend/
        ----------------------------------------------------------------------------
        Usage: multiblend [options] [-o OUTPUT] INPUT...
        Options:

        bla bla bla...

        :~/temp/multiblend$ lsb_release -a
        LSB Version: core-2.0-amd64:core-2.0-noarch:core-3.0-amd64:core-3.0-noarch:core-3.1-amd64:core-3.1-noarch:core-3.2-amd64:core-3.2-noarch:core-4.0-amd64:core-4.0-noarch
        Distributor ID: Ubuntu
        Description: Ubuntu 12.04.1 LTS
        Release: 12.04
        Codename: precise



        Ethy



        > On Sun, 9 Sep 2012 20:57:30 +0100
        > Bruno Postle <bruno@...> wrote:
        >
        > > On Sun 09-Sep-2012 at 11:30 +0200, Jan Martin wrote:
        > > >
        > > > having a bit trouble installing multiblend on a new PC with Ubuntu
        > > > 12.04.1, 64 bit.
        > >
        > > > multiblend.cpp:(.text+0x456): undefined reference to
        > > > `TIFFMergeFieldInfo' multiblend.cpp:(.text+0x3297): undefined
        > > > reference to `png_create_info_struct' multiblend.cpp:(.text+0x898f):
        > > > undefined reference to `jpeg_std_error'
        > >
        > > Do you have multiple versions of the tiff, jpeg and png libraries,
        > > or have them installed in non-standard locations?
        > >
        > > On fedora (all versions), all that is necessary is to install
        > > libtiff-devel libjpeg-devel libpng-devel and build with something
        > > like this (for x86_64):
        > >
        > > g++ -g -pipe -Wall -m64 -mtune=generic -msse2 -O3 -ltiff -ljpeg
        > > -lpng multiblend.cpp -o multiblend
        >
        > Bruno
        >
        > Would you mind posting here your "dpkg -l libjpeg* libpng* libtiff* "
        > together with a "ldd multiblend" ??
        >
        > If you do this we'll be able to compare the compile environment AND
        > running environment of your distro.
        >
        > Thanks
        >
        > Regards
        >
        > Ethy
        >
        >
        > >
        > > --
        > > Bruno
        > >
        > >
        >
        >
        > ------------------------------------
        >
        > --
        >
        >
        >
      • Harry van der Wolf
        2012/9/10 Ethy H. Brito ... Well, I m not Jan ;) but that command works fine on both my 32bit and 64bit Ubuntu 12.04. Thanks, harry
        Message 3 of 11 , Sep 10, 2012
        • 0 Attachment
          2012/9/10 Ethy H. Brito <ethy@...>
           Jan: try like this:

          g++ -msse2 -O3 multiblend.cpp -o multiblend -ltiff -ltiffxx -ljpeg -lpng

          (just put the "-llib"s all the way to the end)

          :~/temp/multiblend$ ./multiblend

           
          Well, I'm not Jan ;)
          but that command works fine on both my 32bit and 64bit Ubuntu 12.04.
           
          Thanks,
          harry
        • Jan Martin
          Ethy, g++ -msse2 -O3 multiblend.cpp -o multiblend -ltiff -ltiffxx -ljpeg -lpng worked for Ubuntu 12.04, 64 bit too. Jan
          Message 4 of 11 , Sep 10, 2012
          • 0 Attachment
            Ethy,

            g++ -msse2 -O3 multiblend.cpp -o multiblend -ltiff -ltiffxx -ljpeg -lpng

            worked for Ubuntu 12.04, 64 bit too.

            Jan
          Your message has been successfully submitted and would be delivered to recipients shortly.