multiblend on Ubuntu 12.04 installation fails?

classic Classic list List threaded Threaded
11 messages Options
Reply | Threaded
Open this post in threaded view
|

multiblend on Ubuntu 12.04 installation fails?

Jan Martin-2
Hi all,

having a bit trouble installing multiblend on a new PC with Ubuntu 12.04.1,
64 bit.

Did anyone manage this? If so, how?

Here is what I did:

sudo apt-get install build-essential
sudo apt-get install g++

sudo apt-get install libtiff-opengl
sudo apt-get install libjpeg62-dev
sudo apt-get install libtiff4-dev
sudo apt-get install libpng12-dev


download multiblend source ( multiblend0.4.tar.gz ) from
http://horman.net/multiblend/

unpacked and cd to folder, then

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

but am getting this error:

me@mypc:~/Downloads/multiblend$ g++ -msse2 -O3 -ltiff -ltiffxx -ljpeg -lpng
multiblend.cpp -o multiblend
globals.cpp: In member function ‘bool channel::unswap()’:
globals.cpp:93:27: warning: ignoring return value of ‘size_t fread(void*,
size_t, size_t, FILE*)’, declared with attribute warn_unused_result
[-Wunused-result]
seaming.cpp: In function ‘void load_seams()’:
seaming.cpp:149:22: warning: ignoring return value of ‘size_t fread(void*,
size_t, size_t, FILE*)’, declared with attribute warn_unused_result
[-Wunused-result]
/tmp/ccNbmYRV.o: In function `geotiff_read(tiff*, GeoTIFFInfo*)':
multiblend.cpp:(.text+0x456): undefined reference to `TIFFMergeFieldInfo'
multiblend.cpp:(.text+0x46f): undefined reference to `TIFFGetField'
multiblend.cpp:(.text+0x4b9): undefined reference to `TIFFGetField'
multiblend.cpp:(.text+0x517): undefined reference to `TIFFGetField'
/tmp/ccNbmYRV.o: In function `geotiff_write(tiff*, GeoTIFFInfo*)':
multiblend.cpp:(.text+0x5dd): undefined reference to `TIFFMergeFieldInfo'
multiblend.cpp:(.text+0x611): undefined reference to `TIFFSetField'
multiblend.cpp:(.text+0x65d): undefined reference to `TIFFSetField'
multiblend.cpp:(.text+0x699): undefined reference to `TIFFSetField'
/tmp/ccNbmYRV.o: In function `load_image(struct_image*)':
multiblend.cpp:(.text+0x2891): undefined reference to `TIFFOpen'
multiblend.cpp:(.text+0x28b4): undefined reference to `TIFFGetField'
multiblend.cpp:(.text+0x28da): undefined reference to `TIFFGetField'
multiblend.cpp:(.text+0x2900): undefined reference to `TIFFGetField'
multiblend.cpp:(.text+0x2926): undefined reference to `TIFFGetField'
multiblend.cpp:(.text+0x2949): undefined reference to `TIFFGetField'
/tmp/ccNbmYRV.o:multiblend.cpp:(.text+0x295d): more undefined references to
`TIFFGetField' follow
/tmp/ccNbmYRV.o: In function `load_image(struct_image*)':
multiblend.cpp:(.text+0x2aa1): undefined reference to `TIFFNumberOfStrips'
multiblend.cpp:(.text+0x2ae0): undefined reference to `TIFFNumberOfStrips'
multiblend.cpp:(.text+0x2af7): undefined reference to `TIFFRawStripSize'
multiblend.cpp:(.text+0x2c81): undefined reference to `TIFFRawStripSize'
multiblend.cpp:(.text+0x2ca8): undefined reference to `TIFFNumberOfStrips'
multiblend.cpp:(.text+0x2cdb): undefined reference to `_TIFFmalloc'
multiblend.cpp:(.text+0x2d0b): undefined reference to `TIFFReadEncodedStrip'
multiblend.cpp:(.text+0x2d13): undefined reference to `TIFFStripSize'
multiblend.cpp:(.text+0x2de9): undefined reference to `_TIFFfree'
multiblend.cpp:(.text+0x2e3d): undefined reference to `TIFFClose'
multiblend.cpp:(.text+0x2e58): undefined reference to `TIFFNumberOfStrips'
multiblend.cpp:(.text+0x2e6b): undefined reference to `TIFFRawStripSize'
multiblend.cpp:(.text+0x2ec9): undefined reference to `TIFFNumberOfStrips'
/tmp/ccNbmYRV.o: In function `seam_png(int, char const*)':
multiblend.cpp:(.text+0x3281): undefined reference to
`png_create_write_struct'
multiblend.cpp:(.text+0x3297): undefined reference to
`png_create_info_struct'
multiblend.cpp:(.text+0x32b2): undefined reference to `png_init_io'
multiblend.cpp:(.text+0x32f0): undefined reference to `png_set_IHDR'
multiblend.cpp:(.text+0x3309): undefined reference to `png_set_PLTE'
multiblend.cpp:(.text+0x3316): undefined reference to `png_write_info'
multiblend.cpp:(.text+0x347a): undefined reference to `png_write_row'
multiblend.cpp:(.text+0x3605): undefined reference to `png_write_row'
multiblend.cpp:(.text+0x37df): undefined reference to
`png_destroy_write_struct'
/tmp/ccNbmYRV.o: In function `load_seams()':
multiblend.cpp:(.text+0x3859): undefined reference to `png_check_sig'
multiblend.cpp:(.text+0x3871): undefined reference to
`png_create_read_struct'
multiblend.cpp:(.text+0x3885): undefined reference to
`png_create_info_struct'
multiblend.cpp:(.text+0x389c): undefined reference to `png_init_io'
multiblend.cpp:(.text+0x38a9): undefined reference to `png_set_sig_bytes'
multiblend.cpp:(.text+0x38b4): undefined reference to `png_read_info'
multiblend.cpp:(.text+0x38ed): undefined reference to `png_get_IHDR'
multiblend.cpp:(.text+0x396d): undefined reference to `png_read_row'
/tmp/ccNbmYRV.o: In function `png_mask(int)':
multiblend.cpp:(.text+0x4bcd): undefined reference to
`png_create_write_struct'
multiblend.cpp:(.text+0x4be3): undefined reference to
`png_create_info_struct'
multiblend.cpp:(.text+0x4bfc): undefined reference to `png_init_io'
multiblend.cpp:(.text+0x4c33): undefined reference to `png_set_IHDR'
multiblend.cpp:(.text+0x4c40): undefined reference to `png_write_info'
multiblend.cpp:(.text+0x4d87): undefined reference to `png_write_row'
multiblend.cpp:(.text+0x4e0e): undefined reference to
`png_destroy_write_struct'
/tmp/ccNbmYRV.o: In function `jpeg_out()':
multiblend.cpp:(.text+0x898f): undefined reference to `jpeg_std_error'
multiblend.cpp:(.text+0x89a8): undefined reference to `jpeg_CreateCompress'
multiblend.cpp:(.text+0x89b9): undefined reference to `jpeg_stdio_dest'
multiblend.cpp:(.text+0x89e7): undefined reference to `jpeg_set_defaults'
multiblend.cpp:(.text+0x89fc): undefined reference to `jpeg_set_quality'
multiblend.cpp:(.text+0x8a0b): undefined reference to `jpeg_start_compress'
multiblend.cpp:(.text+0x8b23): undefined reference to `jpeg_finish_compress'
multiblend.cpp:(.text+0x8b2d): undefined reference to
`jpeg_destroy_compress'
multiblend.cpp:(.text+0x8bff): undefined reference to `jpeg_write_scanlines'
multiblend.cpp:(.text+0x8e39): undefined reference to `jpeg_write_scanlines'
/tmp/ccNbmYRV.o: In function `tiff_out()':
multiblend.cpp:(.text+0x8f92): undefined reference to `TIFFSetField'
multiblend.cpp:(.text+0x8fab): undefined reference to `TIFFSetField'
multiblend.cpp:(.text+0x8fc4): undefined reference to `TIFFSetField'
multiblend.cpp:(.text+0x8fdc): undefined reference to `TIFFSetField'
multiblend.cpp:(.text+0x8ff4): undefined reference to `TIFFSetField'
/tmp/ccNbmYRV.o:multiblend.cpp:(.text+0x900d): more undefined references to
`TIFFSetField' follow
/tmp/ccNbmYRV.o: In function `tiff_out()':
multiblend.cpp:(.text+0x9462): undefined reference to
`TIFFWriteEncodedStrip'
multiblend.cpp:(.text+0x9492): undefined reference to `TIFFClose'
multiblend.cpp:(.text+0x9949): undefined reference to `TIFFSetField'
multiblend.cpp:(.text+0x997d): undefined reference to `TIFFSetField'
multiblend.cpp:(.text+0x999e): undefined reference to `TIFFSetField'
multiblend.cpp:(.text+0x99d2): undefined reference to `TIFFSetField'
multiblend.cpp:(.text+0x99f5): undefined reference to `TIFFSetField'
/tmp/ccNbmYRV.o:multiblend.cpp:(.text+0x9a1f): more undefined references to
`TIFFSetField' follow
/tmp/ccNbmYRV.o: In function `go(char**, int)':
multiblend.cpp:(.text+0xa22a): undefined reference to `TIFFOpen'
multiblend.cpp:(.text+0xa33d): undefined reference to `TIFFOpen'
/tmp/ccNbmYRV.o: In function `geotiff_register(tiff*)':
multiblend.cpp:(.text+0x3db): undefined reference to `TIFFMergeFieldInfo'
/tmp/ccNbmYRV.o: In function `main':
multiblend.cpp:(.text.startup+0x17): undefined reference to
`TIFFSetWarningHandler'
collect2: ld returned 1 exit status

David suggested to try:

sudo apt-get install libjpeg62
sudo apt-get install libtiff4
sudo apt-get install libpng12-0

But nothing changed.

Any idea what is missing?

Thanks,
Jan
Reply | Threaded
Open this post in threaded view
|

Re: multiblend on Ubuntu 12.04 installation fails?

Jan Martin-2
Hi all,

copied the multiblend program from old to new PC and to my surprise it
works?

Did not really expect this, given the differences:
Anyone got an opinion on this?

OLD PC:
me@oldpc:~$ cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=10.04
DISTRIB_CODENAME=lucid
DISTRIB_DESCRIPTION="Ubuntu 10.04.4 LTS"

me@oldpc:~$ uname -a
Linux me 2.6.32-42-generic #96-Ubuntu SMP Wed Aug 15 19:37:37 UTC 2012
x86_64 GNU/Linux

NEW PC:
me@newpc:~$ cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=12.04
DISTRIB_CODENAME=precise
DISTRIB_DESCRIPTION="Ubuntu 12.04.1 LTS"

me@newpc:~$ uname -a
Linux me 3.2.0-29-generic #46-Ubuntu SMP Fri Jul 27 17:03:23 UTC 2012
x86_64 x86_64 x86_64 GNU/Linux

Thanks,
Jan


On Sun, Sep 9, 2012 at 11:30 AM, Jan Martin <[hidden email]>wrote:

> Hi all,
>
> having a bit trouble installing multiblend on a new PC with Ubuntu
> 12.04.1, 64 bit.
>
> Did anyone manage this? If so, how?
>
> Here is what I did:
>
> sudo apt-get install build-essential
> sudo apt-get install g++
>
> sudo apt-get install libtiff-opengl
> sudo apt-get install libjpeg62-dev
> sudo apt-get install libtiff4-dev
> sudo apt-get install libpng12-dev
>
>
> download multiblend source ( multiblend0.4.tar.gz ) from
> http://horman.net/multiblend/
>
> unpacked and cd to folder, then
>
> g++ -msse2 -O3 -ltiff -ltiffxx -ljpeg -lpng multiblend.cpp -o multiblend
>
> but am getting this error:
>
> me@mypc:~/Downloads/multiblend$ g++ -msse2 -O3 -ltiff -ltiffxx -ljpeg
> -lpng multiblend.cpp -o multiblend
> globals.cpp: In member function ‘bool channel::unswap()’:
> globals.cpp:93:27: warning: ignoring return value of ‘size_t fread(void*,
> size_t, size_t, FILE*)’, declared with attribute warn_unused_result
> [-Wunused-result]
> seaming.cpp: In function ‘void load_seams()’:
> seaming.cpp:149:22: warning: ignoring return value of ‘size_t fread(void*,
> size_t, size_t, FILE*)’, declared with attribute warn_unused_result
> [-Wunused-result]
> /tmp/ccNbmYRV.o: In function `geotiff_read(tiff*, GeoTIFFInfo*)':
> multiblend.cpp:(.text+0x456): undefined reference to `TIFFMergeFieldInfo'
> multiblend.cpp:(.text+0x46f): undefined reference to `TIFFGetField'
> multiblend.cpp:(.text+0x4b9): undefined reference to `TIFFGetField'
> multiblend.cpp:(.text+0x517): undefined reference to `TIFFGetField'
> /tmp/ccNbmYRV.o: In function `geotiff_write(tiff*, GeoTIFFInfo*)':
> multiblend.cpp:(.text+0x5dd): undefined reference to `TIFFMergeFieldInfo'
> multiblend.cpp:(.text+0x611): undefined reference to `TIFFSetField'
> multiblend.cpp:(.text+0x65d): undefined reference to `TIFFSetField'
> multiblend.cpp:(.text+0x699): undefined reference to `TIFFSetField'
> /tmp/ccNbmYRV.o: In function `load_image(struct_image*)':
> multiblend.cpp:(.text+0x2891): undefined reference to `TIFFOpen'
> multiblend.cpp:(.text+0x28b4): undefined reference to `TIFFGetField'
> multiblend.cpp:(.text+0x28da): undefined reference to `TIFFGetField'
> multiblend.cpp:(.text+0x2900): undefined reference to `TIFFGetField'
> multiblend.cpp:(.text+0x2926): undefined reference to `TIFFGetField'
> multiblend.cpp:(.text+0x2949): undefined reference to `TIFFGetField'
> /tmp/ccNbmYRV.o:multiblend.cpp:(.text+0x295d): more undefined references
> to `TIFFGetField' follow
> /tmp/ccNbmYRV.o: In function `load_image(struct_image*)':
> multiblend.cpp:(.text+0x2aa1): undefined reference to `TIFFNumberOfStrips'
> multiblend.cpp:(.text+0x2ae0): undefined reference to `TIFFNumberOfStrips'
> multiblend.cpp:(.text+0x2af7): undefined reference to `TIFFRawStripSize'
> multiblend.cpp:(.text+0x2c81): undefined reference to `TIFFRawStripSize'
> multiblend.cpp:(.text+0x2ca8): undefined reference to `TIFFNumberOfStrips'
> multiblend.cpp:(.text+0x2cdb): undefined reference to `_TIFFmalloc'
> multiblend.cpp:(.text+0x2d0b): undefined reference to
> `TIFFReadEncodedStrip'
> multiblend.cpp:(.text+0x2d13): undefined reference to `TIFFStripSize'
> multiblend.cpp:(.text+0x2de9): undefined reference to `_TIFFfree'
> multiblend.cpp:(.text+0x2e3d): undefined reference to `TIFFClose'
> multiblend.cpp:(.text+0x2e58): undefined reference to `TIFFNumberOfStrips'
> multiblend.cpp:(.text+0x2e6b): undefined reference to `TIFFRawStripSize'
> multiblend.cpp:(.text+0x2ec9): undefined reference to `TIFFNumberOfStrips'
> /tmp/ccNbmYRV.o: In function `seam_png(int, char const*)':
> multiblend.cpp:(.text+0x3281): undefined reference to
> `png_create_write_struct'
> multiblend.cpp:(.text+0x3297): undefined reference to
> `png_create_info_struct'
> multiblend.cpp:(.text+0x32b2): undefined reference to `png_init_io'
> multiblend.cpp:(.text+0x32f0): undefined reference to `png_set_IHDR'
> multiblend.cpp:(.text+0x3309): undefined reference to `png_set_PLTE'
> multiblend.cpp:(.text+0x3316): undefined reference to `png_write_info'
> multiblend.cpp:(.text+0x347a): undefined reference to `png_write_row'
> multiblend.cpp:(.text+0x3605): undefined reference to `png_write_row'
> multiblend.cpp:(.text+0x37df): undefined reference to
> `png_destroy_write_struct'
> /tmp/ccNbmYRV.o: In function `load_seams()':
> multiblend.cpp:(.text+0x3859): undefined reference to `png_check_sig'
> multiblend.cpp:(.text+0x3871): undefined reference to
> `png_create_read_struct'
> multiblend.cpp:(.text+0x3885): undefined reference to
> `png_create_info_struct'
> multiblend.cpp:(.text+0x389c): undefined reference to `png_init_io'
> multiblend.cpp:(.text+0x38a9): undefined reference to `png_set_sig_bytes'
> multiblend.cpp:(.text+0x38b4): undefined reference to `png_read_info'
> multiblend.cpp:(.text+0x38ed): undefined reference to `png_get_IHDR'
> multiblend.cpp:(.text+0x396d): undefined reference to `png_read_row'
> /tmp/ccNbmYRV.o: In function `png_mask(int)':
> multiblend.cpp:(.text+0x4bcd): undefined reference to
> `png_create_write_struct'
> multiblend.cpp:(.text+0x4be3): undefined reference to
> `png_create_info_struct'
> multiblend.cpp:(.text+0x4bfc): undefined reference to `png_init_io'
> multiblend.cpp:(.text+0x4c33): undefined reference to `png_set_IHDR'
> multiblend.cpp:(.text+0x4c40): undefined reference to `png_write_info'
> multiblend.cpp:(.text+0x4d87): undefined reference to `png_write_row'
> multiblend.cpp:(.text+0x4e0e): undefined reference to
> `png_destroy_write_struct'
> /tmp/ccNbmYRV.o: In function `jpeg_out()':
> multiblend.cpp:(.text+0x898f): undefined reference to `jpeg_std_error'
> multiblend.cpp:(.text+0x89a8): undefined reference to `jpeg_CreateCompress'
> multiblend.cpp:(.text+0x89b9): undefined reference to `jpeg_stdio_dest'
> multiblend.cpp:(.text+0x89e7): undefined reference to `jpeg_set_defaults'
> multiblend.cpp:(.text+0x89fc): undefined reference to `jpeg_set_quality'
> multiblend.cpp:(.text+0x8a0b): undefined reference to `jpeg_start_compress'
> multiblend.cpp:(.text+0x8b23): undefined reference to
> `jpeg_finish_compress'
> multiblend.cpp:(.text+0x8b2d): undefined reference to
> `jpeg_destroy_compress'
> multiblend.cpp:(.text+0x8bff): undefined reference to
> `jpeg_write_scanlines'
> multiblend.cpp:(.text+0x8e39): undefined reference to
> `jpeg_write_scanlines'
> /tmp/ccNbmYRV.o: In function `tiff_out()':
> multiblend.cpp:(.text+0x8f92): undefined reference to `TIFFSetField'
> multiblend.cpp:(.text+0x8fab): undefined reference to `TIFFSetField'
> multiblend.cpp:(.text+0x8fc4): undefined reference to `TIFFSetField'
> multiblend.cpp:(.text+0x8fdc): undefined reference to `TIFFSetField'
> multiblend.cpp:(.text+0x8ff4): undefined reference to `TIFFSetField'
> /tmp/ccNbmYRV.o:multiblend.cpp:(.text+0x900d): more undefined references
> to `TIFFSetField' follow
> /tmp/ccNbmYRV.o: In function `tiff_out()':
> multiblend.cpp:(.text+0x9462): undefined reference to
> `TIFFWriteEncodedStrip'
> multiblend.cpp:(.text+0x9492): undefined reference to `TIFFClose'
> multiblend.cpp:(.text+0x9949): undefined reference to `TIFFSetField'
> multiblend.cpp:(.text+0x997d): undefined reference to `TIFFSetField'
> multiblend.cpp:(.text+0x999e): undefined reference to `TIFFSetField'
> multiblend.cpp:(.text+0x99d2): undefined reference to `TIFFSetField'
> multiblend.cpp:(.text+0x99f5): undefined reference to `TIFFSetField'
> /tmp/ccNbmYRV.o:multiblend.cpp:(.text+0x9a1f): more undefined references
> to `TIFFSetField' follow
> /tmp/ccNbmYRV.o: In function `go(char**, int)':
> multiblend.cpp:(.text+0xa22a): undefined reference to `TIFFOpen'
> multiblend.cpp:(.text+0xa33d): undefined reference to `TIFFOpen'
> /tmp/ccNbmYRV.o: In function `geotiff_register(tiff*)':
> multiblend.cpp:(.text+0x3db): undefined reference to `TIFFMergeFieldInfo'
> /tmp/ccNbmYRV.o: In function `main':
> multiblend.cpp:(.text.startup+0x17): undefined reference to
> `TIFFSetWarningHandler'
> collect2: ld returned 1 exit status
>
> David suggested to try:
>
> sudo apt-get install libjpeg62
> sudo apt-get install libtiff4
> sudo apt-get install libpng12-0
>
> But nothing changed.
>
> Any idea what is missing?
>
> Thanks,
> Jan
>
>
Reply | Threaded
Open this post in threaded view
|

Re: multiblend on Ubuntu 12.04 installation fails?

Ethy H. Brito
In reply to this post by Jan Martin-2
On Sun, 9 Sep 2012 11:30:57 +0200
Jan Martin <[hidden email]> wrote:

> Hi all,
>
> having a bit trouble installing multiblend on a new PC with Ubuntu
> 12.04.1, 64 bit.
>
> Did anyone manage this? If so, how?

Hi Jan.

One of the missing library is (I think) libjpeg-turbo[-dev]. The author lists
it as one of multiblend dependencies.

Would you post here the output from "dpkg -l libjpeg* libpng* libtiff* " here?

I did not downloaded the tar file but doesn't it have a "configure;make;
make install" sequence?

regards

Ethy

> Here is what I did:
>
> sudo apt-get install build-essential
> sudo apt-get install g++
>
> sudo apt-get install libtiff-opengl
> sudo apt-get install libjpeg62-dev
> sudo apt-get install libtiff4-dev
> sudo apt-get install libpng12-dev
>
>
> download multiblend source ( multiblend0.4.tar.gz ) from
> http://horman.net/multiblend/
>
> unpacked and cd to folder, then
>
> g++ -msse2 -O3 -ltiff -ltiffxx -ljpeg -lpng multiblend.cpp -o multiblend
>
> but am getting this error:
>
> me@mypc:~/Downloads/multiblend$ g++ -msse2 -O3 -ltiff -ltiffxx -ljpeg
> -lpng multiblend.cpp -o multiblend
> globals.cpp: In member function ‘bool channel::unswap()’:
> globals.cpp:93:27: warning: ignoring return value of ‘size_t fread(void*,
> size_t, size_t, FILE*)’, declared with attribute warn_unused_result
> [-Wunused-result]
> seaming.cpp: In function ‘void load_seams()’:
> seaming.cpp:149:22: warning: ignoring return value of ‘size_t
> fread(void*, size_t, size_t, FILE*)’, declared with attribute
> warn_unused_result [-Wunused-result]
> /tmp/ccNbmYRV.o: In function `geotiff_read(tiff*, GeoTIFFInfo*)':
> multiblend.cpp:(.text+0x456): undefined reference to `TIFFMergeFieldInfo'
> multiblend.cpp:(.text+0x46f): undefined reference to `TIFFGetField'
> multiblend.cpp:(.text+0x4b9): undefined reference to `TIFFGetField'
> multiblend.cpp:(.text+0x517): undefined reference to `TIFFGetField'
> /tmp/ccNbmYRV.o: In function `geotiff_write(tiff*, GeoTIFFInfo*)':
> multiblend.cpp:(.text+0x5dd): undefined reference to `TIFFMergeFieldInfo'
> multiblend.cpp:(.text+0x611): undefined reference to `TIFFSetField'
> multiblend.cpp:(.text+0x65d): undefined reference to `TIFFSetField'
> multiblend.cpp:(.text+0x699): undefined reference to `TIFFSetField'
> /tmp/ccNbmYRV.o: In function `load_image(struct_image*)':
> multiblend.cpp:(.text+0x2891): undefined reference to `TIFFOpen'
> multiblend.cpp:(.text+0x28b4): undefined reference to `TIFFGetField'
> multiblend.cpp:(.text+0x28da): undefined reference to `TIFFGetField'
> multiblend.cpp:(.text+0x2900): undefined reference to `TIFFGetField'
> multiblend.cpp:(.text+0x2926): undefined reference to `TIFFGetField'
> multiblend.cpp:(.text+0x2949): undefined reference to `TIFFGetField'
> /tmp/ccNbmYRV.o:multiblend.cpp:(.text+0x295d): more undefined references
> to `TIFFGetField' follow
> /tmp/ccNbmYRV.o: In function `load_image(struct_image*)':
> multiblend.cpp:(.text+0x2aa1): undefined reference to
> `TIFFNumberOfStrips' multiblend.cpp:(.text+0x2ae0): undefined reference
> to `TIFFNumberOfStrips' multiblend.cpp:(.text+0x2af7): undefined
> reference to `TIFFRawStripSize' multiblend.cpp:(.text+0x2c81): undefined
> reference to `TIFFRawStripSize' multiblend.cpp:(.text+0x2ca8): undefined
> reference to `TIFFNumberOfStrips' multiblend.cpp:(.text+0x2cdb):
> undefined reference to `_TIFFmalloc' multiblend.cpp:(.text+0x2d0b):
> undefined reference to `TIFFReadEncodedStrip'
> multiblend.cpp:(.text+0x2d13): undefined reference to `TIFFStripSize'
> multiblend.cpp:(.text+0x2de9): undefined reference to `_TIFFfree'
> multiblend.cpp:(.text+0x2e3d): undefined reference to `TIFFClose'
> multiblend.cpp:(.text+0x2e58): undefined reference to
> `TIFFNumberOfStrips' multiblend.cpp:(.text+0x2e6b): undefined reference
> to `TIFFRawStripSize' multiblend.cpp:(.text+0x2ec9): undefined reference
> to `TIFFNumberOfStrips' /tmp/ccNbmYRV.o: In function `seam_png(int, char
> const*)': multiblend.cpp:(.text+0x3281): undefined reference to
> `png_create_write_struct' multiblend.cpp:(.text+0x3297): undefined
> reference to `png_create_info_struct'
> multiblend.cpp:(.text+0x32b2): undefined reference to `png_init_io'
> multiblend.cpp:(.text+0x32f0): undefined reference to `png_set_IHDR'
> multiblend.cpp:(.text+0x3309): undefined reference to `png_set_PLTE'
> multiblend.cpp:(.text+0x3316): undefined reference to `png_write_info'
> multiblend.cpp:(.text+0x347a): undefined reference to `png_write_row'
> multiblend.cpp:(.text+0x3605): undefined reference to `png_write_row'
> multiblend.cpp:(.text+0x37df): undefined reference to
> `png_destroy_write_struct'
> /tmp/ccNbmYRV.o: In function `load_seams()':
> multiblend.cpp:(.text+0x3859): undefined reference to `png_check_sig'
> multiblend.cpp:(.text+0x3871): undefined reference to
> `png_create_read_struct'
> multiblend.cpp:(.text+0x3885): undefined reference to
> `png_create_info_struct'
> multiblend.cpp:(.text+0x389c): undefined reference to `png_init_io'
> multiblend.cpp:(.text+0x38a9): undefined reference to `png_set_sig_bytes'
> multiblend.cpp:(.text+0x38b4): undefined reference to `png_read_info'
> multiblend.cpp:(.text+0x38ed): undefined reference to `png_get_IHDR'
> multiblend.cpp:(.text+0x396d): undefined reference to `png_read_row'
> /tmp/ccNbmYRV.o: In function `png_mask(int)':
> multiblend.cpp:(.text+0x4bcd): undefined reference to
> `png_create_write_struct'
> multiblend.cpp:(.text+0x4be3): undefined reference to
> `png_create_info_struct'
> multiblend.cpp:(.text+0x4bfc): undefined reference to `png_init_io'
> multiblend.cpp:(.text+0x4c33): undefined reference to `png_set_IHDR'
> multiblend.cpp:(.text+0x4c40): undefined reference to `png_write_info'
> multiblend.cpp:(.text+0x4d87): undefined reference to `png_write_row'
> multiblend.cpp:(.text+0x4e0e): undefined reference to
> `png_destroy_write_struct'
> /tmp/ccNbmYRV.o: In function `jpeg_out()':
> multiblend.cpp:(.text+0x898f): undefined reference to `jpeg_std_error'
> multiblend.cpp:(.text+0x89a8): undefined reference to
> `jpeg_CreateCompress' multiblend.cpp:(.text+0x89b9): undefined reference
> to `jpeg_stdio_dest' multiblend.cpp:(.text+0x89e7): undefined reference
> to `jpeg_set_defaults' multiblend.cpp:(.text+0x89fc): undefined
> reference to `jpeg_set_quality' multiblend.cpp:(.text+0x8a0b): undefined
> reference to `jpeg_start_compress' multiblend.cpp:(.text+0x8b23):
> undefined reference to `jpeg_finish_compress'
> multiblend.cpp:(.text+0x8b2d): undefined reference to
> `jpeg_destroy_compress' multiblend.cpp:(.text+0x8bff): undefined
> reference to `jpeg_write_scanlines' multiblend.cpp:(.text+0x8e39):
> undefined reference to `jpeg_write_scanlines' /tmp/ccNbmYRV.o: In
> function `tiff_out()': multiblend.cpp:(.text+0x8f92): undefined
> reference to `TIFFSetField' multiblend.cpp:(.text+0x8fab): undefined
> reference to `TIFFSetField' multiblend.cpp:(.text+0x8fc4): undefined
> reference to `TIFFSetField' multiblend.cpp:(.text+0x8fdc): undefined
> reference to `TIFFSetField' multiblend.cpp:(.text+0x8ff4): undefined
> reference to
> `TIFFSetField' /tmp/ccNbmYRV.o:multiblend.cpp:(.text+0x900d): more
> undefined references to `TIFFSetField' follow /tmp/ccNbmYRV.o: In
> function `tiff_out()': multiblend.cpp:(.text+0x9462): undefined
> reference to `TIFFWriteEncodedStrip'
> multiblend.cpp:(.text+0x9492): undefined reference to `TIFFClose'
> multiblend.cpp:(.text+0x9949): undefined reference to `TIFFSetField'
> multiblend.cpp:(.text+0x997d): undefined reference to `TIFFSetField'
> multiblend.cpp:(.text+0x999e): undefined reference to `TIFFSetField'
> multiblend.cpp:(.text+0x99d2): undefined reference to `TIFFSetField'
> multiblend.cpp:(.text+0x99f5): undefined reference to `TIFFSetField'
> /tmp/ccNbmYRV.o:multiblend.cpp:(.text+0x9a1f): more undefined references
> to `TIFFSetField' follow
> /tmp/ccNbmYRV.o: In function `go(char**, int)':
> multiblend.cpp:(.text+0xa22a): undefined reference to `TIFFOpen'
> multiblend.cpp:(.text+0xa33d): undefined reference to `TIFFOpen'
> /tmp/ccNbmYRV.o: In function `geotiff_register(tiff*)':
> multiblend.cpp:(.text+0x3db): undefined reference to `TIFFMergeFieldInfo'
> /tmp/ccNbmYRV.o: In function `main':
> multiblend.cpp:(.text.startup+0x17): undefined reference to
> `TIFFSetWarningHandler'
> collect2: ld returned 1 exit status
>
> David suggested to try:
>
> sudo apt-get install libjpeg62
> sudo apt-get install libtiff4
> sudo apt-get install libpng12-0
>
> But nothing changed.
>
> Any idea what is missing?
>
> Thanks,
> Jan
Reply | Threaded
Open this post in threaded view
|

Re: multiblend on Ubuntu 12.04 installation fails?

Harry van der Wolf-3
I get the exact same error on both 64bit Ubuntu 12.04 as on 32bit Ubuntu
12.04.
Both are fully up to date and have a full development environment installed.
And I did check whether the required include files were there and contained
the required variables/classes and they did.

Even a stupidly overcomplete command line didn't solve it:
g++ -msse2 -O3 -I/usr/include -I/usr/lib/x86_64-linux-gnu -L/usr/lib
-L/usr/lib/x86_64-linux-gnu -ltiff -ltiffxx -ljpeg -lpng multiblend.cpp -o
multiblend



As a reference to the dpkg list command:
ii  libjpeg-dev             8c-2ubuntu7             Independent JPEG
Group's JPEG runtime library (dependency pack
ii  libjpeg-turbo8          1.1.90+svn733-0ubuntu4. IJG JPEG compliant
runtime library.
ii  libjpeg-turbo8-dev      1.1.90+svn733-0ubuntu4. Development files for
the IJG JPEG library
un  libjpeg62-dev           <none>                  (geen beschrijving
beschikbaar)
un  libjpeg7-dev            <none>                  (geen beschrijving
beschikbaar)
ii  libjpeg8                8c-2ubuntu7             Independent JPEG
Group's JPEG runtime library (dependency pack
ii  libjpeg8-dev            8c-2ubuntu7             Independent JPEG
Group's JPEG runtime library (dependency pack
ii  libpng++-dev            0.2.5-1                 C++ interface to the
PNG (Portable Network Graphics) library
un  libpng-dev              <none>                  (geen beschrijving
beschikbaar)
ii  libpng12-0              1.2.46-3ubuntu4         PNG library - runtime
un  libpng12-0-dev          <none>                  (geen beschrijving
beschikbaar)
ii  libpng12-dev            1.2.46-3ubuntu4         PNG library -
development
un  libpng2                 <none>                  (geen beschrijving
beschikbaar)
un  libpng2-dev             <none>                  (geen beschrijving
beschikbaar)
un  libpng3-dev             <none>                  (geen beschrijving
beschikbaar)
un  libtiff-dev             <none>                  (geen beschrijving
beschikbaar)
ii  libtiff-opengl          3.9.5-2ubuntu1.2        TIFF manipulation and
conversion tools
ii  libtiff4                3.9.5-2ubuntu1.2        Tag Image File Format
(TIFF) library
ii  libtiff4-dev            3.9.5-2ubuntu1.2        Tag Image File Format
library (TIFF), development files
ii  libtiffxx0c2            3.9.5-2ubuntu1.2        Tag Image File Format
(TIFF) library -- C++ interface


Harry
Reply | Threaded
Open this post in threaded view
|

Re: multiblend on Ubuntu 12.04 installation fails?

Jan Martin-2
In reply to this post by Jan Martin-2
Ethy,

please find the requested output:

dpkg -l libjpeg* libpng* libtiff*
Desired=Unknown/Install/Remove/Purge/Hold
|
Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name           Version        Description
+++-==============-==============-============================================
ii  libjpeg-dev    8c-2ubuntu7    Independent JPEG Group's JPEG runtime
librar
ii  libjpeg-turbo8 1.1.90+svn733- IJG JPEG compliant runtime library.
ii  libjpeg-turbo8 1.1.90+svn733- Development files for the IJG JPEG library
ii  libjpeg62      6b1-2ubuntu1   Independent JPEG Group's JPEG runtime
librar
un  libjpeg62-dev  <none>         (no description available)
un  libjpeg7-dev   <none>         (no description available)
ii  libjpeg8       8c-2ubuntu7    Independent JPEG Group's JPEG runtime
librar
ii  libjpeg8-dev   8c-2ubuntu7    Independent JPEG Group's JPEG runtime
librar
ii  libpng++-dev   0.2.5-1        C++ interface to the PNG (Portable
Network G
un  libpng-dev     <none>         (no description available)
ii  libpng12-0     1.2.46-3ubuntu PNG library - runtime
un  libpng12-0-dev <none>         (no description available)
ii  libpng12-dev   1.2.46-3ubuntu PNG library - development
un  libpng2        <none>         (no description available)
un  libpng2-dev    <none>         (no description available)
ii  libpng3        1.2.46-3ubuntu PNG library - runtime
un  libpng3-dev    <none>         (no description available)
un  libtiff-dev    <none>         (no description available)
ii  libtiff-opengl 3.9.5-2ubuntu1 TIFF manipulation and conversion tools
ii  libtiff-tools  3.9.5-2ubuntu1 TIFF manipulation and conversion tools
ii  libtiff4       3.9.5-2ubuntu1 Tag Image File Format (TIFF) library
ii  libtiff4-dev   3.9.5-2ubuntu1 Tag Image File Format library (TIFF),
develo
ii  libtiffxx0c2   3.9.5-2ubuntu1 Tag Image File Format (TIFF) library -


Harry,
tried your command line and got the same errors as before.

Jan
Reply | Threaded
Open this post in threaded view
|

Re: multiblend on Ubuntu 12.04 installation fails?

Bruno Postle
In reply to this post by Jan Martin-2
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
Reply | Threaded
Open this post in threaded view
|

Re: multiblend on Ubuntu 12.04 installation fails?

Harry van der Wolf-3
2012/9/9 Bruno Postle <[hidden email]>

> **
>
> 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
>
>

Same errors unfortunately.

I'm afraid it is "something" Ubuntu like.

Harry
Reply | Threaded
Open this post in threaded view
|

Re: multiblend on Ubuntu 12.04 installation fails?

Ethy H. Brito
In reply to this post by Bruno Postle
On Sun, 9 Sep 2012 20:57:30 +0100
Bruno Postle <[hidden email]> 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
>
>
Reply | Threaded
Open this post in threaded view
|

Re: multiblend on Ubuntu 12.04 installation fails?

Ethy H. Brito
On Sun, 9 Sep 2012 20:49:05 -0300
"Ethy H. Brito" <[hidden email]> 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 <[hidden email]> 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
> >
> >
>
>
> ------------------------------------
>
> --
>
>
>
Reply | Threaded
Open this post in threaded view
|

Re: multiblend on Ubuntu 12.04 installation fails?

Harry van der Wolf-3
2012/9/10 Ethy H. Brito <[hidden email]>

> **
>  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
Reply | Threaded
Open this post in threaded view
|

Re: multiblend on Ubuntu 12.04 installation fails?

Jan Martin-2
In reply to this post by Jan Martin-2
Ethy,

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

worked for Ubuntu 12.04, 64 bit too.

Jan