nanogui: compile errors


Previous by date: 19 Jun 2007 16:14:56 +0100 compile errors, Edward King
Next by date: 19 Jun 2007 16:14:56 +0100 Re: help on GrInjectKeyboardEvent, tj
Previous in thread: 19 Jun 2007 16:14:56 +0100 compile errors, Edward King
Next in thread: 19 Jun 2007 16:14:56 +0100 Re: compile errors, Laine Walker-Avina

Subject: Re: [nanogui] compile errors
From: Carlo Zinato ####@####.####
Date: 19 Jun 2007 16:14:56 +0100
Message-Id: <4677F2F4.5010002@viscount.it>

Edward King ha scritto:
> okay, maybe I am stupid, but I was dropped on my head as a child, so it 
> really isnt my fault.
> 
> Im still getting compile errors despite copying the includes to my 
> working directory.
> 
> ####@####.#### gcc example.c
> /tmp/ccyx8Wsw.o(.text+0x14): In function `main':
> : undefined reference to `GrOpen'
> /tmp/ccyx8Wsw.o(.text+0x47): In function `main':
> : undefined reference to `GrGetScreenInfo'
> /tmp/ccyx8Wsw.o(.text+0x72): In function `main':
> : undefined reference to `GrNewWindow'
> /tmp/ccyx8Wsw.o(.text+0x85): In function `main':
> : undefined reference to `GrSelectEvents'
> /tmp/ccyx8Wsw.o(.text+0x93): In function `main':
> : undefined reference to `GrMapWindow'
> /tmp/ccyx8Wsw.o(.text+0x9b): In function `main':
> : undefined reference to `GrNewGC'
> /tmp/ccyx8Wsw.o(.text+0xaa): In function `main':
> : undefined reference to `GrGetNextEvent'
> /tmp/ccyx8Wsw.o(.text+0xd9): In function `main':
> : undefined reference to `GrClose'
> /tmp/ccyx8Wsw.o(.text+0x106): In function `main':
> : undefined reference to `GrText'
> collect2: ld returned 1 exit status
> ####@####.####
> 
> Anyone got an idea what Im doing wrong?

Maybe you don't have libnano-X.a in your toolchain's lib directory?

Carlo

> 
> EK
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: ####@####.####
> For additional commands, e-mail: ####@####.####
> 
> 
> 

Previous by date: 19 Jun 2007 16:14:56 +0100 compile errors, Edward King
Next by date: 19 Jun 2007 16:14:56 +0100 Re: help on GrInjectKeyboardEvent, tj
Previous in thread: 19 Jun 2007 16:14:56 +0100 compile errors, Edward King
Next in thread: 19 Jun 2007 16:14:56 +0100 Re: compile errors, Laine Walker-Avina


Powered by ezmlm-browse 0.20.