Wrox Home  
Search P2P Archive for: Go

  Return to Index  

pro_linux_programming thread: Image Manipulation


Message #1 by "Nicolas Lechugas" <new_world@r...> on Mon, 21 Aug 2000 15:32:44
Nicolas,

Try compiling your program with the '-lvga' switch.
Eg.:

cc -o myprogram myprogram.c -lvga

Best of luck,

Richard Hills
List Moderator
P2P
Wrox Press
richardhills@w...


On 08/21/00, ""Nicolas Lechugas" <new_world@r...>" wrote:
> Hi to all: I have a problem using the  vga_drawpixel function. I have the
following program:

#include <stdio.h>
#include <stdlib.h>
#include <vga.h>

int main (void)
{
vga_drawpixel(50,50);
exit(EXIT_SUCCESS);

}

When I try to compile the program (gcc pixel.c -o pixel) I get the 
following
error message

undefined reference to vga_drawpixel
collect2: ld returned 1 exit status

<snipped>

  Return to Index