nanogui: Linking gives errors
Subject:
Re: [nanogui] Linking gives errors
From:
"Greg Haerr" ####@####.####
Date:
18 Apr 2006 23:48:39 +0100
Message-Id: <03e101c6633a$3444b990$6401a8c0@winXP>
: When compiling either with shared libs or not, I get an error when
: linking to libmw.so about not found references to sinf() and cosf().
: I'm Using gcc-3.4.3 for ARM with uClibc 0.9.27. I tought it may be
: uClibc not having these functions and wanted to replace them with cos()
: and sin() but a simple find/grep command couldn't find the sources
: using these functions...
The file engine/devarc.c is the only file that uses the sin/cos
functions. If HIGHPRECISION is not defined, then table
lookup is performed, otherwise sin/cos are called. On some
systems, these may be translated to sinf/cosf.
Regards,
Greg