guile-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Solid modeling in Guile


From: Matthew Keeter
Subject: Re: Solid modeling in Guile
Date: Sat, 20 Aug 2016 10:26:53 -0400

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 <address@hidden> 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 via email to

[Prev in Thread] Current Thread [Next in Thread]