AWARE [SYSTEMS] Imaging expertise for the Delphi developer
AWare Systems, Imaging expertise for the Delphi developer, Home TIFF and LibTiff Mailing List Archive

LibTiff Mailing List

TIFF and LibTiff Mailing List Archive
March 2007

Previous Thread
Next Thread

Previous by Thread
Next by Thread

Previous by Date
Next by Date

Contact

The TIFF Mailing List Homepage
This list is run by Frank Warmerdam
Archive maintained by AWare Systems



Valid HTML 4.01!



Thread

2007.03.23 20:33 "add tag to tiff image", by Varun Reddy
2007.03.24 10:19 "Re: add tag to tiff image", by Andrey Kiselev
2007.03.25 14:09 "Re: add tag to tiff image", by Varun Reddy
2007.03.26 13:41 "Re: add tag to tiff image", by Andrey Kiselev
2007.03.26 16:47 "Re: add tag to tiff image", by Varun Reddy
2007.03.27 05:56 "Re: add tag to tiff image", by Andrey Kiselev
2007.03.27 15:09 "Re: add tag to tiff image", by Varun Reddy

2007.03.26 16:47 "Re: add tag to tiff image", by Varun Reddy

When i try to compile the program i get the following error:

------
varun@varun-laptop:~/Desktop/osivtest$ gcc -o myprog tiffTagEditor.c
/tmp/ccqgKygU.o: In function `TagExtender':
tiffTagEditor.c:(.text+0x1d): undefined reference to `TIFFMergeFieldInfo'
/tmp/ccqgKygU.o: In function `main':
tiffTagEditor.c:(.text+0x3c): undefined reference to `TIFFSetTagExtender'
tiffTagEditor.c:(.text+0x50): undefined reference to `TIFFOpen'
tiffTagEditor.c:(.text+0x6e): undefined reference to `TIFFSetField'
tiffTagEditor.c:(.text+0x96): undefined reference to `TIFFSetField'
tiffTagEditor.c:(.text+0xbf): undefined reference to `TIFFSetField'
tiffTagEditor.c:(.text+0xe9): undefined reference to `TIFFSetField'
tiffTagEditor.c:(.text+0x113): undefined reference to `TIFFSetField'
/tmp/ccqgKygU.o:tiffTagEditor.c:(.text+0x13e): more undefined references to
`TIFFSetField' follow
/tmp/ccqgKygU.o: In function `main':
tiffTagEditor.c:(.text+0x16f): undefined reference to `TIFFRewriteDirectory'
tiffTagEditor.c:(.text+0x17a): undefined reference to `TIFFClose'
tiffTagEditor.c:(.text+0x18e): undefined reference to `TIFFOpen'
tiffTagEditor.c:(.text+0x1ab): undefined reference to `TIFFGetField'
tiffTagEditor.c:(.text+0x1df): undefined reference to `TIFFGetField'
tiffTagEditor.c:(.text+0x221): undefined reference to `TIFFGetField'
tiffTagEditor.c:(.text+0x261): undefined reference to `TIFFGetField'
tiffTagEditor.c:(.text+0x2a1): undefined reference to `TIFFGetField'
/tmp/ccqgKygU.o:tiffTagEditor.c:(.text+0x2e1): more undefined references to
`TIFFGetField' follow
/tmp/ccqgKygU.o: In function `main':
tiffTagEditor.c:(.text+0x34f): undefined reference to `TIFFClose'
collect2: ld returned 1 exit status
-------

I am new to this so i will need some help to compile and run the program.

Thanks,
Varun


On 3/26/07, Andrey Kiselev <dron@ak4719.spb.edu> wrote:
>
> On Sun, Mar 25, 2007 at 10:09:41AM -0400, Varun Reddy wrote:
> > I tried to use tiffset to add a tag and i got the following error:
> >
> > varun@varun-laptop:~/Desktop/osivtest$ tiffset -s 65000 100 flap0.tif
> > TIFFFieldWithTag: Internal error, unknown tag 0xfde8.
> > Field name 65000 not recognised.
> >
> > Is this because the 65000 tag is not already present in the image? If
> > so is there a way i can add this tag?
>
> It is more tricky to add (and read back) non-standard tag. See here for
> code sample:
>
> http://www.asmail.be/msg0054585832.html
>
> Best regards,
> Andrey
>
>
> --
> Andrey V. Kiselev
> ICQ# 26871517
> _______________________________________________
> Tiff mailing list: Tiff@lists.maptools.org
> http://lists.maptools.org/mailman/listinfo/tiff
> http://www.remotesensing.org/libtiff/
>