Hi,

2011/12/31 Monkey <[email protected]>

> http://horman.net/multiblend/multiblend0.1a.tar.gz
>
> I've included my build command, which was just
>
> g++ -ltiff -msse2 -O2 multiblend.cpp
>
> though I have libtiff-devel installed from an RPM, so I'm not sure
> what hoops others may have to jump through to get it working.
>
> Trying to compile it with -O3 was causing the segfaults yesterday.
>
> David
>
>
On Ubuntu 11.10 I have libtiff4-dev, libtiff4 and libtiffxx0c2 installed,
but I get the following errors:

g++ -ltiff -msse2 -O2 multiblend.cpp
/tmp/ccNNU5W4.o: In function `load_image(struct_image*)':
multiblend.cpp:(.text+0x1aa5): undefined reference to `TIFFOpen'
multiblend.cpp:(.text+0x1ac7): undefined reference to `TIFFGetField'
multiblend.cpp:(.text+0x1aeb): undefined reference to `TIFFGetField'
multiblend.cpp:(.text+0x1b12): undefined reference to `TIFFGetField'
multiblend.cpp:(.text+0x1b3c): undefined reference to `TIFFGetField'
multiblend.cpp:(.text+0x1b63): undefined reference to `TIFFGetField'
/tmp/ccNNU5W4.o:multiblend.cpp:(.text+0x1b7b): more undefined references to
`TIFFGetField' follow
/tmp/ccNNU5W4.o: In function `load_image(struct_image*)':
multiblend.cpp:(.text+0x1c68): undefined reference to `TIFFNumberOfStrips'
multiblend.cpp:(.text+0x1c9f): undefined reference to `TIFFNumberOfStrips'
multiblend.cpp:(.text+0x1cda): undefined reference to `_TIFFmalloc'
multiblend.cpp:(.text+0x1d17): undefined reference to `TIFFReadEncodedStrip'
multiblend.cpp:(.text+0x1d1f): undefined reference to `TIFFStripSize'
multiblend.cpp:(.text+0x1ded): undefined reference to `_TIFFfree'
multiblend.cpp:(.text+0x1e3d): undefined reference to `TIFFClose'
multiblend.cpp:(.text+0x1f3d): undefined reference to `TIFFNumberOfStrips'
multiblend.cpp:(.text+0x1f50): undefined reference to `TIFFRawStripSize'
multiblend.cpp:(.text+0x1f74): undefined reference to `TIFFRawStripSize'
multiblend.cpp:(.text+0x1f9f): undefined reference to `TIFFNumberOfStrips'
multiblend.cpp:(.text+0x1fb2): undefined reference to `TIFFRawStripSize'
/tmp/ccNNU5W4.o: In function `tiff_out()':
multiblend.cpp:(.text+0x5ea4): undefined reference to `TIFFSetField'
multiblend.cpp:(.text+0x5ec2): undefined reference to `TIFFSetField'
multiblend.cpp:(.text+0x5ee0): undefined reference to `TIFFSetField'
multiblend.cpp:(.text+0x5efd): undefined reference to `TIFFSetField'
multiblend.cpp:(.text+0x5f1a): undefined reference to `TIFFSetField'
/tmp/ccNNU5W4.o:multiblend.cpp:(.text+0x5f38): more undefined references to
`TIFFSetField' follow
/tmp/ccNNU5W4.o: In function `tiff_out()':
multiblend.cpp:(.text+0x62c2): undefined reference to
`TIFFWriteEncodedStrip'
multiblend.cpp:(.text+0x62e2): undefined reference to `TIFFClose'
multiblend.cpp:(.text+0x6537): undefined reference to `TIFFSetField'
multiblend.cpp:(.text+0x6563): undefined reference to `TIFFSetField'
/tmp/ccNNU5W4.o: In function `go(char**, int)':
multiblend.cpp:(.text+0x6587): undefined reference to
`TIFFSetWarningHandler'
multiblend.cpp:(.text+0x65a9): undefined reference to `TIFFOpen'
multiblend.cpp:(.text+0x6669): undefined reference to `TIFFOpen'
collect2: ld gaf exit-status 1 terug

On MacOSX I also have libtiff including it's include files installed. I set
the necessary paths to includes and libs by hand, after the first erroneous
runs, but I get the errors like in the attached OSXoutput.txt (too long to
include in this mail. notepad can't read unix style text files correctly.
Use worpad or any other more advanced editor than notepad).

I know that (almost) all errors have to do with the tiff include, but even
when specifying the path to the tiff include it doesn't work. I also
changed "tiffio.h" to <tiffio.h> and back but that doesn't seem to make a
difference either. I also specified the environment settings TIFFINC and
LIBTIFF: no difference either. Only when I specify the full path to the
tiffio.h like "<path_to>/tiffio.h> it is found.

On OSX I also had the error with malloc not being found, so I made a small
patch. See attached. Note that your code is made on Windows while I'm on
Mac OS X (by default) and every now and then on (L)Ubuntu. That causes the
^M line endings.

Harry

-- 
You received this message because you are subscribed to the Google Groups 
"Hugin and other free panoramic software" group.
A list of frequently asked questions is available at: 
http://wiki.panotools.org/Hugin_FAQ
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at http://groups.google.com/group/hugin-ptx
g++ -ltiff -msse2 -O2 multiblend.cpp
multiblend.cpp:17:20: error: tiffio.h: No such file or directory
globals.cpp:23: error: ‘uint32’ does not name a type
globals.cpp:24: error: ISO C++ forbids declaration of ‘uint32’ with no type
globals.cpp:24: error: expected ‘;’ before ‘*’ token
globals.cpp:25: error: ISO C++ forbids declaration of ‘uint32’ with no type
globals.cpp:25: error: expected ‘;’ before ‘*’ token
globals.cpp:27: error: ISO C++ forbids declaration of ‘uint32’ with no type
globals.cpp:27: error: expected ‘;’ before ‘*’ token
globals.cpp:29: error: ISO C++ forbids declaration of ‘uint32’ with no type
globals.cpp:29: error: expected ‘;’ before ‘*’ token
globals.cpp:30: error: ISO C++ forbids declaration of ‘uint32’ with no type
globals.cpp:30: error: expected ‘;’ before ‘*’ token
globals.cpp:73: error: expected constructor, destructor, or type conversion 
before ‘*’ token
globals.cpp:74: error: ‘COMPRESSION_NONE’ was not declared in this scope
globals.cpp:75: error: expected constructor, destructor, or type conversion 
before ‘*’ token
globals.cpp:86: error: expected constructor, destructor, or type conversion 
before ‘*’ token
functions.cpp: In function ‘void* _aligned_malloc(int, int)’:
functions.cpp:45: error: ‘memalign’ was not declared in this scope
loadimages.cpp: In function ‘void trim8(void*, int, int, int, int*, int*, int*, 
int*)’:
loadimages.cpp:86: error: ‘uint32’ was not declared in this scope
loadimages.cpp:86: error: ‘b’ was not declared in this scope
loadimages.cpp:86: error: expected primary-expression before ‘)’ token
loadimages.cpp:86: error: expected `;' before ‘bitmap’
loadimages.cpp: In function ‘void trim16(void*, int, int, int, int*, int*, 
int*, int*)’:
loadimages.cpp:137: error: ‘uint16’ was not declared in this scope
loadimages.cpp:137: error: ‘b’ was not declared in this scope
loadimages.cpp:137: error: expected primary-expression before ‘)’ token
loadimages.cpp:137: error: expected `;' before ‘bitmap’
loadimages.cpp: In function ‘void extract8(struct_image*, void*, int, int)’:
loadimages.cpp:192: error: ‘uint32’ was not declared in this scope
loadimages.cpp:192: error: expected `;' before ‘pixel’
loadimages.cpp:194: error: ‘struct struct_indexed’ has no member named ‘rows’
loadimages.cpp:194: error: expected primary-expression before ‘)’ token
loadimages.cpp:194: error: expected `;' before ‘malloc’
loadimages.cpp:198: error: ‘uint8’ was not declared in this scope
loadimages.cpp:205: error: ‘struct struct_indexed’ has no member named ‘rows’
loadimages.cpp:207: error: ‘pixel’ was not declared in this scope
loadimages.cpp:207: error: expected primary-expression before ‘)’ token
loadimages.cpp:207: error: expected `)' before ‘bitmap’
loadimages.cpp:209: error: expected primary-expression before ‘)’ token
loadimages.cpp:209: error: expected `)' before ‘image’
loadimages.cpp:210: error: expected primary-expression before ‘)’ token
loadimages.cpp:210: error: expected `)' before ‘image’
loadimages.cpp:211: error: expected primary-expression before ‘)’ token
loadimages.cpp:211: error: expected `)' before ‘image’
loadimages.cpp:220: error: expected primary-expression before ‘)’ token
loadimages.cpp:220: error: expected `)' before ‘bitmap’
loadimages.cpp:222: error: expected primary-expression before ‘)’ token
loadimages.cpp:222: error: expected `)' before ‘image’
loadimages.cpp:223: error: expected primary-expression before ‘)’ token
loadimages.cpp:223: error: expected `)' before ‘image’
loadimages.cpp:224: error: expected primary-expression before ‘)’ token
loadimages.cpp:224: error: expected `)' before ‘image’
loadimages.cpp:228: error: expected primary-expression before ‘)’ token
loadimages.cpp:228: error: expected `)' before ‘bitmap’
loadimages.cpp:234: error: expected primary-expression before ‘)’ token
loadimages.cpp:234: error: expected `)' before ‘bitmap’
loadimages.cpp:237: error: ‘struct struct_indexed’ has no member named ‘rows’
loadimages.cpp:239: error: ‘struct struct_indexed’ has no member named ‘data’
loadimages.cpp:239: error: expected primary-expression before ‘)’ token
loadimages.cpp:239: error: expected `;' before ‘malloc’
loadimages.cpp:242: error: ‘struct struct_indexed’ has no member named ‘data’
loadimages.cpp: In function ‘void extract16(struct_image*, void*, int, int)’:
loadimages.cpp:254: error: ‘struct struct_indexed’ has no member named ‘rows’
loadimages.cpp:254: error: ‘uint32’ was not declared in this scope
loadimages.cpp:254: error: expected primary-expression before ‘)’ token
loadimages.cpp:254: error: expected `;' before ‘malloc’
loadimages.cpp:258: error: ‘uint16’ was not declared in this scope
loadimages.cpp:265: error: ‘struct struct_indexed’ has no member named ‘rows’
loadimages.cpp:267: error: expected primary-expression before ‘)’ token
loadimages.cpp:267: error: expected `)' before ‘bitmap’
loadimages.cpp:269: error: expected primary-expression before ‘)’ token
loadimages.cpp:269: error: expected `)' before ‘image’
loadimages.cpp:270: error: expected primary-expression before ‘)’ token
loadimages.cpp:270: error: expected `)' before ‘image’
loadimages.cpp:271: error: expected primary-expression before ‘)’ token
loadimages.cpp:271: error: expected `)' before ‘image’
loadimages.cpp:282: error: expected primary-expression before ‘)’ token
loadimages.cpp:282: error: expected `)' before ‘bitmap’
loadimages.cpp:284: error: expected primary-expression before ‘)’ token
loadimages.cpp:284: error: expected `)' before ‘image’
loadimages.cpp:285: error: expected primary-expression before ‘)’ token
loadimages.cpp:285: error: expected `)' before ‘image’
loadimages.cpp:286: error: expected primary-expression before ‘)’ token
loadimages.cpp:286: error: expected `)' before ‘image’
loadimages.cpp:292: error: expected primary-expression before ‘)’ token
loadimages.cpp:292: error: expected `)' before ‘bitmap’
loadimages.cpp:300: error: expected primary-expression before ‘)’ token
loadimages.cpp:300: error: expected `)' before ‘bitmap’
loadimages.cpp:303: error: ‘struct struct_indexed’ has no member named ‘rows’
loadimages.cpp:305: error: ‘struct struct_indexed’ has no member named ‘data’
loadimages.cpp:305: error: expected primary-expression before ‘)’ token
loadimages.cpp:305: error: expected `;' before ‘malloc’
loadimages.cpp:308: error: ‘struct struct_indexed’ has no member named ‘data’
loadimages.cpp: At global scope:
loadimages.cpp:318: error: ‘uint32’ has not been declared
loadimages.cpp: In function ‘void inpaint8(struct_image*, int*)’:
loadimages.cpp:322: error: ‘uint32’ was not declared in this scope
loadimages.cpp:322: error: ‘edt_p’ was not declared in this scope
loadimages.cpp:323: error: ‘mask_pointer’ was not declared in this scope
loadimages.cpp:323: error: ‘struct struct_indexed’ has no member named ‘data’
loadimages.cpp:324: error: ‘uint8’ was not declared in this scope
loadimages.cpp:324: error: ‘red’ was not declared in this scope
loadimages.cpp:324: error: expected primary-expression before ‘)’ token
loadimages.cpp:324: error: expected `;' before ‘image’
loadimages.cpp:325: error: ‘grn’ was not declared in this scope
loadimages.cpp:325: error: expected primary-expression before ‘)’ token
loadimages.cpp:325: error: expected `;' before ‘image’
loadimages.cpp:326: error: ‘blu’ was not declared in this scope
loadimages.cpp:326: error: expected primary-expression before ‘)’ token
loadimages.cpp:326: error: expected `;' before ‘image’
loadimages.cpp:329: error: expected `;' before ‘dist’
loadimages.cpp:341: error: ‘dist’ was not declared in this scope
loadimages.cpp:386: error: ‘temp_dist’ was not declared in this scope
loadimages.cpp:446: error: ‘temp_dist’ was not declared in this scope
loadimages.cpp:478: error: ‘temp_dist’ was not declared in this scope
loadimages.cpp:555: error: ‘temp_dist’ was not declared in this scope
loadimages.cpp:585: error: ‘temp_dist’ was not declared in this scope
loadimages.cpp:624: error: ‘temp_dist’ was not declared in this scope
loadimages.cpp: At global scope:
loadimages.cpp:659: error: ‘uint32’ has not been declared
loadimages.cpp: In function ‘void inpaint16(struct_image*, int*)’:
loadimages.cpp:662: error: ‘uint32’ was not declared in this scope
loadimages.cpp:662: error: ‘edt_p’ was not declared in this scope
loadimages.cpp:663: error: ‘mask_pointer’ was not declared in this scope
loadimages.cpp:663: error: ‘struct struct_indexed’ has no member named ‘data’
loadimages.cpp:664: error: ‘uint16’ was not declared in this scope
loadimages.cpp:664: error: ‘red’ was not declared in this scope
loadimages.cpp:664: error: expected primary-expression before ‘)’ token
loadimages.cpp:664: error: expected `;' before ‘image’
loadimages.cpp:665: error: ‘grn’ was not declared in this scope
loadimages.cpp:665: error: expected primary-expression before ‘)’ token
loadimages.cpp:665: error: expected `;' before ‘image’
loadimages.cpp:666: error: ‘blu’ was not declared in this scope
loadimages.cpp:666: error: expected primary-expression before ‘)’ token
loadimages.cpp:666: error: expected `;' before ‘image’
loadimages.cpp:669: error: expected `;' before ‘dist’
loadimages.cpp:679: error: ‘dist’ was not declared in this scope
loadimages.cpp:724: error: ‘temp_dist’ was not declared in this scope
loadimages.cpp:745: error: ‘temp_dist’ was not declared in this scope
loadimages.cpp:777: error: ‘temp_dist’ was not declared in this scope
loadimages.cpp:854: error: ‘temp_dist’ was not declared in this scope
loadimages.cpp:884: error: ‘temp_dist’ was not declared in this scope
loadimages.cpp:923: error: ‘temp_dist’ was not declared in this scope
loadimages.cpp: At global scope:
loadimages.cpp:955: error: ‘uint32’ has not been declared
loadimages.cpp: In function ‘bool load_image(struct_image*)’:
loadimages.cpp:960: error: ‘uint32’ was not declared in this scope
loadimages.cpp:960: error: expected `;' before ‘rowsperstrip’
loadimages.cpp:961: error: expected `;' before ‘strip’
loadimages.cpp:962: error: expected `;' before ‘minstripsize’
loadimages.cpp:963: error: expected `;' before ‘minstripcount’
loadimages.cpp:964: error: expected `;' before ‘temp’
loadimages.cpp:965: error: expected `;' before ‘first_strip’
loadimages.cpp:966: error: expected `;' before ‘tiff_width’
loadimages.cpp:973: error: ‘uint16’ was not declared in this scope
loadimages.cpp:973: error: expected `;' before ‘bpp’
loadimages.cpp:974: error: expected `;' before ‘compression’
loadimages.cpp:977: error: ‘TIFF’ was not declared in this scope
loadimages.cpp:977: error: ‘tiff’ was not declared in this scope
loadimages.cpp:977: error: ‘TIFFOpen’ was not declared in this scope
loadimages.cpp:982: error: ‘TIFFTAG_XPOSITION’ was not declared in this scope
loadimages.cpp:982: error: ‘TIFFGetField’ was not declared in this scope
loadimages.cpp:983: error: ‘TIFFTAG_YPOSITION’ was not declared in this scope
loadimages.cpp:983: error: ‘TIFFGetField’ was not declared in this scope
loadimages.cpp:984: error: ‘TIFFTAG_XRESOLUTION’ was not declared in this scope
loadimages.cpp:984: error: ‘TIFFGetField’ was not declared in this scope
loadimages.cpp:985: error: ‘TIFFTAG_YRESOLUTION’ was not declared in this scope
loadimages.cpp:985: error: ‘TIFFGetField’ was not declared in this scope
loadimages.cpp:986: error: ‘TIFFTAG_IMAGEWIDTH’ was not declared in this scope
loadimages.cpp:986: error: ‘tiff_width’ was not declared in this scope
loadimages.cpp:986: error: ‘TIFFGetField’ was not declared in this scope
loadimages.cpp:987: error: ‘TIFFTAG_IMAGELENGTH’ was not declared in this scope
loadimages.cpp:987: error: ‘tiff_height’ was not declared in this scope
loadimages.cpp:988: error: ‘TIFFTAG_BITSPERSAMPLE’ was not declared in this 
scope
loadimages.cpp:988: error: ‘bpp’ was not declared in this scope
loadimages.cpp:989: error: ‘TIFFTAG_SAMPLESPERPIXEL’ was not declared in this 
scope
loadimages.cpp:989: error: ‘spp’ was not declared in this scope
loadimages.cpp:990: error: ‘TIFFTAG_ROWSPERSTRIP’ was not declared in this scope
loadimages.cpp:990: error: ‘rowsperstrip’ was not declared in this scope
loadimages.cpp:991: error: ‘TIFFTAG_COMPRESSION’ was not declared in this scope
loadimages.cpp:991: error: ‘compression’ was not declared in this scope
loadimages.cpp:999: error: ‘first_strip’ was not declared in this scope
loadimages.cpp:1000: error: ‘last_strip’ was not declared in this scope
loadimages.cpp:1000: error: ‘TIFFNumberOfStrips’ was not declared in this scope
loadimages.cpp:1003: error: ‘minstripsize’ was not declared in this scope
loadimages.cpp:1004: error: ‘strip’ was not declared in this scope
loadimages.cpp:1005: error: ‘temp’ was not declared in this scope
loadimages.cpp:1005: error: expected `;' before ‘TIFFRawStripSize’
loadimages.cpp:1006: error: ‘minstripcount’ was not declared in this scope
loadimages.cpp:1007: error: ‘minstripcount’ was not declared in this scope
loadimages.cpp:1009: error: ‘temp’ was not declared in this scope
loadimages.cpp:1009: error: expected `;' before ‘TIFFRawStripSize’
loadimages.cpp:1011: error: ‘minstripcount’ was not declared in this scope
loadimages.cpp:1012: error: expected `;' before ‘rowsinfinalstrip’
loadimages.cpp:1016: error: expected `;' before ‘TIFFRawStripSize’
loadimages.cpp:1031: error: expected `;' before ‘untrimmed_height’
loadimages.cpp:1034: error: ‘untrimmed_height’ was not declared in this scope
loadimages.cpp:1036: error: ‘untrimmed_height’ was not declared in this scope
loadimages.cpp:1039: error: ‘untrimmed_height’ was not declared in this scope
loadimages.cpp:1039: error: ‘_TIFFmalloc’ was not declared in this scope
loadimages.cpp:1043: error: ‘strip’ was not declared in this scope
loadimages.cpp:1044: error: ‘TIFFReadEncodedStrip’ was not declared in this 
scope
loadimages.cpp:1045: error: ‘TIFFStripSize’ was not declared in this scope
loadimages.cpp:1055: error: expected primary-expression before ‘)’ token
loadimages.cpp:1057: error: ‘_TIFFfree’ was not declared in this scope
loadimages.cpp:1068: error: ‘TIFFClose’ was not declared in this scope
seaming.cpp: In function ‘void rightdownxy()’:
seaming.cpp:74: error: ‘uint32’ was not declared in this scope
seaming.cpp:74: error: expected `;' before ‘temp’
seaming.cpp:79: error: ‘line’ was not declared in this scope
seaming.cpp:80: error: expected `;' before ‘bestval’
seaming.cpp:81: error: expected `;' before ‘a’
seaming.cpp:87: error: ‘g_edt’ was not declared in this scope
seaming.cpp:94: error: ‘struct struct_indexed’ has no member named ‘pointer’
seaming.cpp:94: error: ‘struct struct_indexed’ has no member named ‘data’
seaming.cpp:94: error: ‘struct struct_indexed’ has no member named ‘rows’
seaming.cpp:108: error: ‘temp’ was not declared in this scope
seaming.cpp:108: error: ‘struct struct_indexed’ has no member named ‘pointer’
seaming.cpp:130: error: ‘bestval’ was not declared in this scope
seaming.cpp:132: error: ‘testval’ was not declared in this scope
seaming.cpp:138: error: ‘testval’ was not declared in this scope
seaming.cpp:139: error: ‘bestval’ was not declared in this scope
seaming.cpp:155: error: ‘a’ was not declared in this scope
seaming.cpp:156: error: ‘b’ was not declared in this scope
seaming.cpp:157: error: ‘d’ was not declared in this scope
seaming.cpp:160: error: ‘temp’ was not declared in this scope
seaming.cpp:161: error: ‘c’ was not declared in this scope
seaming.cpp:163: error: ‘bestval’ was not declared in this scope
seaming.cpp:178: error: ‘testval’ was not declared in this scope
seaming.cpp:179: error: ‘bestval’ was not declared in this scope
seaming.cpp: In function ‘void leftupxy()’:
seaming.cpp:210: error: ‘uint32’ was not declared in this scope
seaming.cpp:210: error: expected `;' before ‘temp’
seaming.cpp:215: error: ‘line’ was not declared in this scope
seaming.cpp:216: error: expected `;' before ‘bestval’
seaming.cpp:217: error: expected `;' before ‘a’
seaming.cpp:223: error: ‘g_edt’ was not declared in this scope
seaming.cpp:230: error: ‘struct struct_indexed’ has no member named ‘pointer’
seaming.cpp:230: error: ‘struct struct_indexed’ has no member named ‘data’
seaming.cpp:230: error: ‘struct struct_indexed’ has no member named ‘rows’
seaming.cpp:244: error: ‘temp’ was not declared in this scope
seaming.cpp:244: error: ‘struct struct_indexed’ has no member named ‘pointer’
seaming.cpp:268: error: ‘testval’ was not declared in this scope
seaming.cpp:274: error: ‘testval’ was not declared in this scope
seaming.cpp:275: error: ‘bestval’ was not declared in this scope
seaming.cpp:291: error: ‘b’ was not declared in this scope
seaming.cpp:292: error: ‘c’ was not declared in this scope
seaming.cpp:293: error: ‘d’ was not declared in this scope
seaming.cpp:297: error: ‘temp’ was not declared in this scope
seaming.cpp:298: error: ‘a’ was not declared in this scope
seaming.cpp:300: error: ‘bestval’ was not declared in this scope
seaming.cpp:302: error: ‘b’ was not declared in this scope
seaming.cpp:303: error: ‘c’ was not declared in this scope
seaming.cpp:304: error: ‘d’ was not declared in this scope
seaming.cpp:308: error: ‘c’ was not declared in this scope
seaming.cpp:308: error: ‘b’ was not declared in this scope
seaming.cpp:310: error: ‘d’ was not declared in this scope
seaming.cpp:314: error: ‘testval’ was not declared in this scope
seaming.cpp:315: error: ‘bestval’ was not declared in this scope
seaming.cpp: In function ‘void make_seams()’:
seaming.cpp:344: error: ‘uint32’ was not declared in this scope
seaming.cpp:344: error: ‘line’ was not declared in this scope
seaming.cpp:347: error: ‘g_seams’ was not declared in this scope
seaming.cpp:347: error: expected primary-expression before ‘)’ token
seaming.cpp:347: error: expected `;' before ‘malloc’
seaming.cpp:350: error: ‘g_edt’ was not declared in this scope
seaming.cpp:368: error: expected primary-expression before ‘)’ token
seaming.cpp:368: error: expected `;' before ‘realloc’
seaming.cpp:372: error: expected primary-expression before ‘)’ token
seaming.cpp:372: error: expected `;' before ‘realloc’
seaming.cpp: In function ‘void seam()’:
seaming.cpp:379: error: ‘g_edt’ was not declared in this scope
seaming.cpp:379: error: ‘uint32’ was not declared in this scope
seaming.cpp:379: error: expected primary-expression before ‘)’ token
seaming.cpp:379: error: expected `;' before ‘malloc’
maskpyramids.cpp: In function ‘int squish_line(float*, float*, int, int)’:
maskpyramids.cpp:75: error: ‘int32’ was not declared in this scope
maskpyramids.cpp:75: error: expected primary-expression before ‘)’ token
maskpyramids.cpp:81: error: ‘int32’ was not declared in this scope
maskpyramids.cpp:81: error: expected primary-expression before ‘)’ token
maskpyramids.cpp:113: error: ‘int32’ was not declared in this scope
maskpyramids.cpp:113: error: expected primary-expression before ‘)’ token
maskpyramids.cpp:121: error: ‘int32’ was not declared in this scope
maskpyramids.cpp:121: error: expected primary-expression before ‘)’ token
maskpyramids.cpp:123: error: ‘int32’ was not declared in this scope
maskpyramids.cpp:123: error: expected primary-expression before ‘)’ token
maskpyramids.cpp:156: error: ‘int32’ was not declared in this scope
maskpyramids.cpp:156: error: expected primary-expression before ‘)’ token
maskpyramids.cpp:164: error: ‘int32’ was not declared in this scope
maskpyramids.cpp:164: error: expected primary-expression before ‘)’ token
maskpyramids.cpp:166: error: ‘int32’ was not declared in this scope
maskpyramids.cpp:166: error: expected primary-expression before ‘)’ token
maskpyramids.cpp:187: error: ‘int32’ was not declared in this scope
maskpyramids.cpp:187: error: expected primary-expression before ‘)’ token
maskpyramids.cpp: In function ‘void extract_top_masks()’:
maskpyramids.cpp:312: error: ‘uint32’ was not declared in this scope
maskpyramids.cpp:312: error: expected `;' before ‘seam’
maskpyramids.cpp:313: error: ‘int32’ was not declared in this scope
maskpyramids.cpp:313: error: expected `;' before ‘this_i’
maskpyramids.cpp:323: error: ‘last_i’ was not declared in this scope
maskpyramids.cpp:325: error: ‘g_seams’ was not declared in this scope
maskpyramids.cpp:326: error: ‘this_i’ was not declared in this scope
maskpyramids.cpp:326: error: invalid operands of types ‘void ()()’ and ‘int’ to 
binary ‘operator&’
maskpyramids.cpp:327: error: ‘this_count’ was not declared in this scope
maskpyramids.cpp:327: error: invalid operands of types ‘void ()()’ and ‘int’ to 
binary ‘operator>>’
maskpyramids.cpp:332: error: expected primary-expression before ‘)’ token
maskpyramids.cpp:332: error: expected `)' before ‘g_images’
maskpyramids.cpp:338: error: expected primary-expression before ‘)’ token
maskpyramids.cpp:338: error: expected `)' before ‘g_images’
maskpyramids.cpp:341: error: expected primary-expression before ‘)’ token
maskpyramids.cpp:341: error: expected `)' before ‘g_images’
maskpyramids.cpp:344: error: expected primary-expression before ‘)’ token
maskpyramids.cpp:344: error: expected `)' before ‘g_images’
blending-int.cpp: In function ‘void int_copy_channel(int, int)’:
blending-int.cpp:348: error: ‘uint8’ was not declared in this scope
blending-int.cpp:348: error: expected primary-expression before ‘)’ token
blending-int.cpp:348: error: expected `)' before ‘pixels’
blending-int.cpp:352: error: expected primary-expression before ‘)’ token
blending-int.cpp:352: error: expected `)' before ‘pixels’
blending-int.cpp:358: error: ‘uint16’ was not declared in this scope
blending-int.cpp:358: error: expected primary-expression before ‘)’ token
blending-int.cpp:358: error: expected `)' before ‘pixels’
blending-int.cpp:362: error: expected primary-expression before ‘)’ token
blending-int.cpp:362: error: expected `)' before ‘pixels’
blending-int.cpp:368: error: expected primary-expression before ‘)’ token
blending-int.cpp:368: error: expected `)' before ‘pixels’
blending-int.cpp:373: error: expected primary-expression before ‘)’ token
blending-int.cpp:373: error: expected `)' before ‘pixels’
blending-int.cpp:380: error: expected primary-expression before ‘)’ token
blending-int.cpp:380: error: expected `)' before ‘pixels’
blending-int.cpp:384: error: expected primary-expression before ‘)’ token
blending-int.cpp:384: error: expected `)' before ‘pixels’
blending-int.cpp: In function ‘void dither(struct_level*, void*)’:
blending-int.cpp:635: error: ‘uint8’ was not declared in this scope
blending-int.cpp:635: error: expected primary-expression before ‘)’ token
blending-int.cpp:635: error: expected `)' before ‘channel’
blending-int.cpp:652: error: ‘uint16’ was not declared in this scope
blending-int.cpp:652: error: expected primary-expression before ‘)’ token
blending-int.cpp:652: error: expected `)' before ‘channel’
write.cpp: In function ‘void tiff_out()’:
write.cpp:61: error: ‘uint16’ was not declared in this scope
write.cpp:61: error: expected `;' before ‘out’
write.cpp:62: error: ‘uint32’ was not declared in this scope
write.cpp:62: error: expected `;' before ‘temp’
write.cpp:72: error: ‘struct struct_indexed’ has no member named ‘pointer’
write.cpp:72: error: ‘struct struct_indexed’ has no member named ‘data’
write.cpp:76: error: ‘g_tiff’ was not declared in this scope
write.cpp:76: error: ‘TIFFTAG_IMAGEWIDTH’ was not declared in this scope
write.cpp:76: error: ‘TIFFSetField’ was not declared in this scope
write.cpp:77: error: ‘TIFFTAG_IMAGELENGTH’ was not declared in this scope
write.cpp:78: error: ‘TIFFTAG_COMPRESSION’ was not declared in this scope
write.cpp:79: error: ‘TIFFTAG_PLANARCONFIG’ was not declared in this scope
write.cpp:79: error: ‘PLANARCONFIG_CONTIG’ was not declared in this scope
write.cpp:80: error: ‘TIFFTAG_ROWSPERSTRIP’ was not declared in this scope
write.cpp:81: error: ‘TIFFTAG_BITSPERSAMPLE’ was not declared in this scope
write.cpp:83: error: ‘TIFFTAG_SAMPLESPERPIXEL’ was not declared in this scope
write.cpp:85: error: ‘TIFFTAG_SAMPLESPERPIXEL’ was not declared in this scope
write.cpp:86: error: ‘out’ was not declared in this scope
write.cpp:86: error: ‘EXTRASAMPLE_UNASSALPHA’ was not declared in this scope
write.cpp:87: error: ‘TIFFTAG_EXTRASAMPLES’ was not declared in this scope
write.cpp:89: error: ‘TIFFTAG_PHOTOMETRIC’ was not declared in this scope
write.cpp:89: error: ‘PHOTOMETRIC_RGB’ was not declared in this scope
write.cpp:101: error: ‘uint8’ was not declared in this scope
write.cpp:101: error: expected primary-expression before ‘)’ token
write.cpp:101: error: expected `)' before ‘strip’
write.cpp:102: error: expected primary-expression before ‘)’ token
write.cpp:102: error: expected `)' before ‘strip’
write.cpp:103: error: expected primary-expression before ‘)’ token
write.cpp:103: error: expected `)' before ‘strip’
write.cpp:108: error: expected primary-expression before ‘)’ token
write.cpp:108: error: expected `)' before ‘strip’
write.cpp:109: error: expected primary-expression before ‘)’ token
write.cpp:109: error: expected `)' before ‘strip’
write.cpp:110: error: expected primary-expression before ‘)’ token
write.cpp:110: error: expected `)' before ‘strip’
write.cpp:120: error: ‘struct struct_indexed’ has no member named ‘pointer’
write.cpp:120: error: ‘struct struct_indexed’ has no member named ‘data’
write.cpp:120: error: ‘struct struct_indexed’ has no member named ‘rows’
write.cpp:134: error: ‘temp’ was not declared in this scope
write.cpp:134: error: ‘struct struct_indexed’ has no member named ‘pointer’
write.cpp:148: error: ‘uint8’ was not declared in this scope
write.cpp:148: error: expected primary-expression before ‘)’ token
write.cpp:148: error: expected `)' before ‘strip’
write.cpp:149: error: expected primary-expression before ‘)’ token
write.cpp:149: error: expected `)' before ‘strip’
write.cpp:150: error: expected primary-expression before ‘)’ token
write.cpp:150: error: expected `)' before ‘strip’
write.cpp:151: error: expected primary-expression before ‘)’ token
write.cpp:151: error: expected `)' before ‘strip’
write.cpp:156: error: expected primary-expression before ‘)’ token
write.cpp:156: error: expected `)' before ‘strip’
write.cpp:157: error: expected primary-expression before ‘)’ token
write.cpp:157: error: expected `)' before ‘strip’
write.cpp:158: error: expected primary-expression before ‘)’ token
write.cpp:158: error: expected `)' before ‘strip’
write.cpp:159: error: expected primary-expression before ‘)’ token
write.cpp:159: error: expected `)' before ‘strip’
write.cpp:165: error: ‘uint8’ was not declared in this scope
write.cpp:165: error: expected primary-expression before ‘)’ token
write.cpp:165: error: expected `)' before ‘strip’
write.cpp:167: error: expected primary-expression before ‘)’ token
write.cpp:167: error: expected `)' before ‘strip’
write.cpp:211: error: ‘TIFFWriteEncodedStrip’ was not declared in this scope
write.cpp:216: error: ‘TIFFClose’ was not declared in this scope
go.cpp: In function ‘void go(char**, int)’:
go.cpp:8: error: ‘TIFFSetWarningHandler’ was not declared in this scope
go.cpp:10: error: ‘g_tiff’ was not declared in this scope
go.cpp:10: error: ‘TIFFOpen’ was not declared in this scope
go.cpp:10: error: ‘g_tiff’ was not declared in this scope
go.cpp:10: error: ‘TIFFOpen’ was not declared in this scope
go.cpp:11: error: ‘g_tiff’ was not declared in this scope
multiblend.cpp: In function ‘int main(int, char**)’:
multiblend.cpp:94: error: ‘COMPRESSION_LZW’ was not declared in this scope
multiblend.cpp:95: error: ‘COMPRESSION_PACKBITS’ was not declared in this scope
multiblend.cpp:97: error: ‘COMPRESSION_NONE’ was not declared in this scope

Attachment: multiblend.diff
Description: Binary data

Reply via email to