MegCC
MegCC copied to clipboard
../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]
./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]
麻烦问一下,你的编译环境,以及编译器gcc的版本?
我这边没有复现,你可以试试使用这个发版的docker环境build:https://github.com/MegEngine/MegCC/blob/main/script/docker/Dockerfile