c++ - 使用 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
解决方案
推荐阅读
- php - 如何在 wordpress 的单个页面中显示特定帖子?
- c++ - 为什么当窗口在一个类中时,SFML 窗口不显示?
- c - RBIE 中断只工作一次 - PIC16F877A
- smpp - kannel收货问题
- python - 度量标准 Python 休息 api
- google-maps - Flutter中的谷歌地图没有响应触摸事件
- java - 如何在字符串中查找模式并删除所有不匹配的内容
- python - 如何在 pygame 中使用 pygame.time.set_timer()?
- cassandra - 如何在 mac 上安装 dsbulk?
- rust - Bindgen 跳过 C++ 头文件中的定义