[LinuxCNC/linuxcnc Issue#100] Error compiling isnan()

未分类 bolang 4个月前 (10-15) 28次浏览

Issue #100 | 状态: 已关闭 | 作者: TurBoss | 创建时间: 2016-07-01


Hi

Configure output: http://dpaste.com/2HAGKHS
Error: http://dpaste.com/0EB8BRS

I’m having this error when compiling master branch 3e93bfa14ecf1653b8c38ef6d1c1f51c330148ca on ubuntu 16.04

i’m building a simulator with –with-realtime=uspace

Thx


评论 (5)

#1 – SebKuzminsky 于 2016-07-01

Looks like a conflict in the definition of isnan() between the standard C++ header file “cmath” and boost.

Try the attached patch, which tells it to prefer the cmath implementation over the boost one.

isnan-patch.txt


#2 – jepler 于 2016-07-01

Looks like we regressed, this was fixed once before at commit 9d6a5bc0. If the patch isn’t adequate, please re-open this issue with the next compile error if it looks like it’s also about isnan, or open a new issue if it looks like something else.


#3 – TurBoss 于 2016-07-01

it has passed the taskintf, but still compiling fine

will tell if finish

edit: Thx


#4 – TurBoss 于 2016-07-01

now I’m getting this

http://dpaste.com/0GED3Z0


#5 – TurBoss 于 2016-07-01

sry can’t reopen so I’m goin to create a new one


原始Issue: https://github.com/LinuxCNC/linuxcnc/issues/100

喜欢 (0)