Closed Satancito closed 4 years ago
What version of emscripten are you using (emcc --version
)
Most likely you are using a version older than 1.39.15 where these flags are not supported.
PS C:\Users\Megam> em++ --version
emcc (Emscripten gcc/clang-like replacement) 1.39.11
Copyright (C) 2014 the Emscripten authors (see AUTHORS.txt)
This is free and open source software under the MIT license.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Yup, you need 1.39.15 or above to use those flags
Updating...
No errors. Thanks a lot @sbc100.
Compile.ps1
When compile, it shows this error
shared:ERROR: Js/ExternPre_Compiled.js: Input file has an unknown suffix, don't know what to do with it!
The problem The compiler options --extern-post-js
--extern-pre-js
both have same error.
I changed js files to root directory of project. Same error. I change to lowercase filenames and without special chars, same error as:
I checked the filenames, they are existing.