elkin - 2007-02-22

greetings from colombia (south America)

I am working with kubuntu 6.06  LTS Dapper for linux
i tried the follow code

#include <gandalf/image/image_rgb_uchar.h>

#include <stdio.h>
#include <assert.h>
#include <gandalf/image/image_defs.h>
#include <gandalf/image/image_gl_uchar.h>
#include <gandalf/image/image_gl_uint.h>
#include <gandalf/image/image_gl_int.h>
//#include <gandalf/image/image_rgb_uchar.h>
#include <gandalf/common/misc_error.h>

int main()
{
    Gan_Image *img, *pImage;

     //read the image from a file in PNG format */
       pImage = gan_image_read ( "Imagen.png", GAN_PNG_FORMAT, NULL,NULL,NULL );

return 0;
}

but i have this errors

elkin@elkin:~/Documentos/Tesis/Gandalf/imagen02$ g++ imagen02.cxx -o imagen02
imagen02.cxx:23:2: aviso: no hay caractér de fin de línea al final del fichero
/tmp/ccFA6d1g.o: En funciñon `main':imagen02.cxx:(.text+0x44): referencia a `gan_image_read' sin definir
collect2: ld devolvió el estado de salida 1
elkin@elkin:~/Documentos/Tesis/Gandalf/imagen02$

/tmp/ccFA6d1g.o: In function `main':imagen02.cxx:(.text+0x44): references to `gan_image_read' without defines
collect2: ld return the out state 1

Thanks you for your help

your friend elkin