Details Ticket 3113


Comment | Reply | Take | Open


Serial Number 3113
Subject NVIZ not built in GRASS 6.1.cvs on Mac OS X
Area grass6
Queue grass
Requestors lorenzo.moretti@bologna.enea.it
Owner none
Status resolved
Last User Contact Fri Mar 25 16:32:13 2005 (3 yr ago)
Current Priority 70
Final Priority 70
Due No date assigned
Last Action Wed Aug 31 21:57:45 2005 (3 yr ago)
Created Wed Mar 23 11:37:23 2005 (3 yr ago)

Transaction History Ticket 3113


Wed, Mar 23 2005 11:37:23    Request created by guest  
Subject: NVIZ not built in GRASS 6.1.cvs on Mac OS X

Platform: Mac OSX
grass obtained from: Trento Italy site
grass binary for platform: Compiled from Sources
GRASS Version: 6.1.cvs-050319

After last changes in NVIZ now it's impossible to built NVIZ module in Mac OS
X. The error list is 
at this address:
http://wwwamb.bologna.enea.it/forgrass/files/
Error_NVIZ_OSX_grass61cvs_050319.txt

Until Grass 6.0.0 NVIZ was built and worked in Mac OS X
Wed, Mar 23 2005 12:26:42    Mail sent by guest  
Do we need to add something like this ?

# check for various IEEE and c99 standard math functions in libm
AC_CHECK_LIB([m], [acosf], [AC_DEFINE([HAVE_ACOSF],[1],[libm includes acosf])])
AC_CHECK_LIB([m], [asinf], [AC_DEFINE([HAVE_ASINF],[1],[libm includes asinf])])
AC_CHECK_LIB([m], [atan2f], [AC_DEFINE([HAVE_ATAN2F],[1],[libm includes atan2f])])
AC_CHECK_LIB([m], [atanf], [AC_DEFINE([HAVE_ATANF],[1],[libm includes atanf])])
AC_CHECK_LIB([m], [cosf], [AC_DEFINE([HAVE_COSF],[1],[libm includes cosf])])
AC_CHECK_LIB([m], [expf], [AC_DEFINE([HAVE_EXPF],[1],[libm includes expf])])
AC_CHECK_LIB([m], [fabsf], [AC_DEFINE([HAVE_FABSF],[1],[libm includes fabsf])])
AC_CHECK_LIB([m], [floorf], [AC_DEFINE([HAVE_FLOORF],[1],[libm includes floorf])])
AC_CHECK_LIB([m], [fmodf], [AC_DEFINE([HAVE_FMODF],[1],[libm includes fmodf])])
AC_CHECK_LIB([m], [hypotf], [AC_DEFINE([HAVE_HYPOTF],[1],[libm includes hypotf])])
AC_CHECK_LIB([m], [logf], [AC_DEFINE([HAVE_LOGF],[1],[libm includes logf])])
AC_CHECK_LIB([m], [powf], [AC_DEFINE([HAVE_POWF],[1],[libm includes powf])])
AC_CHECK_LIB([m], [sinf], [AC_DEFINE([HAVE_SINF],[1],[libm includes sinf])])
AC_CHECK_LIB([m], [sqrtf], [AC_DEFINE([HAVE_SQRTF],[1],[libm includes sqrtf])])
AC_CHECK_LIB([m], [tanf], [AC_DEFINE([HAVE_TANF],[1],[libm includes tanf])])
See
 http://cvs.sourceforge.net/viewcvs.py/bzflag/bzflag/configure.in?rev=2.4
?

Markus

Wed, Mar 23 2005 15:50:31    Comments added by guest  
See my bug #3106 - the new nviz flythru uses those float math functions, and
on Mac OS X they are 
in libmx, so -lmx must be added to MATHLIB in configure.

William K
kyngchaos@charter.net
Thu, Mar 24 2005 21:26:41    Mail sent by glynn@gclements.plus.com  
Return-Path <glynn@gclements.plus.com>
Delivered-To grass-bugs@lists.intevation.de
From Glynn Clements <glynn@gclements.plus.com>
MIME-Version 1.0
Content-Type text/plain; charset=us-ascii
Content-Transfer-Encoding 7bit
Message-ID <16963.8825.116900.750891@gargle.gargle.HOWL>
Date Thu, 24 Mar 2005 20:26:33 +0000
To guest user via RT <grass-bugs@intevation.de>
Cc grass5@grass.itc.it
Subject Re: [GRASS5] [bug #3113] (grass) NVIZ not built in GRASS 6.1.cvs on Mac OS X
In-Reply-To <20050323112642.49DA7101EE6@lists.intevation.de>
References <20050323112642.49DA7101EE6@lists.intevation.de>
X-Mailer VM 7.07 under 21.4 (patch 15) "Security Through Obscurity" XEmacs Lucid
X-Spam-Status No, hits=-4.9 tagged_above=-999.0 required=3.0 tests=BAYES_00
X-Spam-Level
guest user via RT wrote:

> Do we need to add something like this ?
> 
> # check for various IEEE and c99 standard math functions in libm
> AC_CHECK_LIB([m], [acosf], [AC_DEFINE([HAVE_ACOSF],[1],[libm includes acosf])])
> AC_CHECK_LIB([m], [asinf], [AC_DEFINE([HAVE_ASINF],[1],[libm includes asinf])])
[snip]

No, we just need to avoid using the single-precision versions unless
performance is *really* critical. Which isn't the case for
togl_flythrough.c.

Fixed in CVS.

-- 
Glynn Clements <glynn@gclements.plus.com>


Fri, Mar 25 2005 12:58:32    Mail sent by guest  
Thanx Glynn. Now NVIZ is built in the last CVS.

- Lorenzo -
Fri, Mar 25 2005 16:32:13    Mail sent by guest  
Thanx Glynn. Now NVIZ is built in the last CVS.

- Lorenzo -
Wed, Aug 31 2005 21:57:45    Status changed to resolved by mneteler  
Comment | Reply | Take | Open

You are currently authenticated as guest.
[Show Configuration] [Login as another user]

Users Guide - Mail Commands - Homepage of RequestTracker 1.0.7 - list any request