nanogui: setselection.c compilation error


Previous by date: 19 Oct 2001 03:42:24 -0000 Re: Is frame buffer necessary?, Greg Haerr
Next by date: 19 Oct 2001 03:42:24 -0000 How to make a window invisible, ylyuan.davform.com
Previous in thread: 19 Oct 2001 03:42:24 -0000 setselection.c compilation error, Raymond Wong
Next in thread: 19 Oct 2001 03:42:24 -0000 Re: setselection.c compilation error, Jordan Crouse

Subject: Re: [nanogui] setselection.c compilation error
From: "Greg Haerr" ####@####.####
Date: 19 Oct 2001 03:42:24 -0000
Message-Id: <04ae01c1584d$7eb67f60$3aba46a6@xmission.com>

: Does this arise from library?
: 
: Compiling setselection.c ...
: nsaver.o: In function `saver5_exposure':
: nsaver.o(.text+0x7c4): undefined reference to `sin'
: nsaver.o(.text+0x7c4): relocation truncated to fit: R_ARM_PC24 sin

This looks like missing math lib.  Try adding -lm to the link line.

Regards,

Greg



Previous by date: 19 Oct 2001 03:42:24 -0000 Re: Is frame buffer necessary?, Greg Haerr
Next by date: 19 Oct 2001 03:42:24 -0000 How to make a window invisible, ylyuan.davform.com
Previous in thread: 19 Oct 2001 03:42:24 -0000 setselection.c compilation error, Raymond Wong
Next in thread: 19 Oct 2001 03:42:24 -0000 Re: setselection.c compilation error, Jordan Crouse


Powered by ezmlm-browse 0.20.