MegEngine / MegCC

MegCC是一个运行时超轻量,高效,移植简单的深度学习模型编译器
Apache License 2.0
473 stars 56 forks source link

../dnn/test/fallback/gi.cpp:38:33: error: ‘isnan’ was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive] #18

Open yhl41001 opened 2 years ago

yhl41001 commented 2 years ago

./third_party/prepare.sh 编译的时候遇到错误:../dnn/test/fallback/gi.cpp:38:33: error: ‘isnan’ was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]

chenqy4933 commented 2 years ago

麻烦问一下,你的编译环境,以及编译器gcc的版本?

chenqy4933 commented 2 years ago

我这边没有复现,你可以试试使用这个发版的docker环境build:https://github.com/MegEngine/MegCC/blob/main/script/docker/Dockerfile