首页 > 解决方案 > 使用 Emscripten 编译时未检测到已安装的 Clang 和 GCC 版本

问题描述

使用 windows 并尝试编译 emscripten:

emmake mingw32-make SUBTARGET=pacmantest SOURCES=C:\Users\Adam\Documents\GitHub\mame\drivers\pacman.cpp

我不习惯编译 C,但我安装了最新版本的 GCC 和 Clang,但由于某种原因它没有使用它们。它抛出以下错误:

'head' is not recognized as an internal or external command, operable program or batch file. 

GCC 2.0.10 detected
clang version 6.0 or later needed.
mingw32-make: *** [makefile:1345: build/projects/sd1/mamepacmantest/gmake-asmjs/makefile] Error -1

标签: c++gcccompilationclangemscripten

解决方案


推荐阅读