MegEngine / MegCC

MegCC是一个运行时超轻量,高效,移植简单的深度学习模型编译器
Apache License 2.0
467 stars 55 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 1 year ago

yhl41001 commented 1 year 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 1 year ago

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

chenqy4933 commented 1 year ago

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