Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compiler is not EMSCRIPTEN #127

Open
jiapei100 opened this issue Jul 7, 2023 · 1 comment
Open

Compiler is not EMSCRIPTEN #127

jiapei100 opened this issue Jul 7, 2023 · 1 comment

Comments

@jiapei100
Copy link

Hi, I‘m using Ubuntu 22.04. and I put my emsdk under folder /opt/emsdk.
However, I got the following ERROR message. Compiler is not EMSRIPOM

 -- Compiler is not EMSCRIPTEN
 CMake Deprecation Warning at build/_deps/brotli-src/CMakeLists.txt:5 (cmake_minimum_required):
   Compatibility with CMake < 2.8.12 will be removed from a future version of
   CMake.

   Update the VERSION argument <min> value or use a ...<max> suffix to tell
   CMake that the project does not need compatibility with older versions.

 Build type is 'Release'
 -- Compiler is not EMSCRIPTEN
 Configuring done (0.4s)

Can anybody give me a hand? Thank you ..

@eustas
Copy link
Collaborator

eustas commented Jul 7, 2023

-- Compiler is not EMSCRIPTEN is not an error, it is info-message: https://github.com/google/brunsli/blob/master/CMakeLists.txt#L19

It appears twice, because both brunsli and brotli check that.

Try using emcmake / emconfigure / toolchain instead of plain cmake if you want to compile WASM library.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants