unofficial mirror of guile-user@gnu.org 
 help / color / mirror / Atom feed
From: Matthew Keeter <matt.j.keeter@gmail.com>
To: Ralf Mattes <rm@seid-online.de>
Cc: guile-user@gnu.org
Subject: Re: Solid modeling in Guile
Date: Sat, 20 Aug 2016 10:26:53 -0400	[thread overview]
Message-ID: <D17D9C55-F63D-4AC0-8BA8-B5E9BB48D53F@gmail.com> (raw)
In-Reply-To: <20160820132337.ithrhyc4s53nrdmh@seid-online.de>

I added a cmath include and qualified isnan with std::,
try it out now and see if that fixes it (commit 61ce8e1).

-Matt

On Aug 20, 2016, at 9:23 AM, Ralf Mattes <rm@seid-online.de> wrote:

> On Thu, Aug 18, 2016 at 05:44:46PM -0400, Matthew Keeter wrote:
>> Hi Guile-folks,
>> 
>> I wrote a computer-aided design (CAD) tool that you may find interesting.
>> 
>> It’s a solid modeling tool that uses Guile scripts to define objects (and
>> constructive solid geometry + functional representations under the hood).
>> 
>> Project page:  http://www.mattkeeter.com/projects/ao/
>> Source:  https://github.com/mkeeter/ao
>> 
>> I’d love feedback – Scheme is relatively new to me, so I’m sure there are
>> more elegant ways to accomplish a lot of what the code implements.
> 
> 
> Build fails over here: 
> 
> ../kernel/src/eval/evaluator.cpp: In function ‘Interval clause(Opcode, const Interval&, const Interval&)’:
> ../kernel/src/eval/evaluator.cpp:805:36: error: ‘isnan’ was not declared in this scope
>             return (isnan(a.lower()) || isnan(a.upper())) ? b : a;
>                                    ^
> 
> This is with:
> 
> /usr/bin/c++ --version
> g++-5.real (Debian 5.4.0-6) 5.4.0 20160609
> 
> and /usr/include/c++/5/cmath from the package libstdc++-5-dev:amd64
> on a Debian Testing system.
> 
> But it looks very nice 
> 
> 
> Cheers, Ralf Mattes
> 
>> -Matt




  reply	other threads:[~2016-08-20 14:26 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-08-18 21:44 Solid modeling in Guile Matthew Keeter
2016-08-19  1:26 ` dsmich
2016-08-19  7:37 ` Mark H Weaver
2016-09-22 17:40   ` Mark H Weaver
2016-09-22 17:42     ` Matthew Keeter
2016-08-19  9:29 ` Alex Kost
2016-08-25 16:08   ` Thien-Thi Nguyen
2016-08-19 17:05 ` Thompson, David
2016-08-20 13:23 ` Ralf Mattes
2016-08-20 14:26   ` Matthew Keeter [this message]
2016-08-21 11:54     ` Ralf Mattes
2016-08-21 12:00     ` Ralf Mattes

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/guile/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=D17D9C55-F63D-4AC0-8BA8-B5E9BB48D53F@gmail.com \
    --to=matt.j.keeter@gmail.com \
    --cc=guile-user@gnu.org \
    --cc=rm@seid-online.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).