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

make[2]: emcc: No such file or directory #361

Open
jespertheend opened this issue Mar 30, 2021 · 1 comment
Open

make[2]: emcc: No such file or directory #361

jespertheend opened this issue Mar 30, 2021 · 1 comment

Comments

@jespertheend
Copy link

when I try to build with

cmake -B builds -DEMSCRIPTEN_ROOT=$emscriptenPath
cmake --build builds

I get the following output:

Scanning dependencies of target LinearMath
[  0%] Building CXX object bullet/src/LinearMath/CMakeFiles/LinearMath.dir/btAlignedAllocator.o
shared:INFO: (Emscripten: Running sanity checks)
[  1%] Building CXX object bullet/src/LinearMath/CMakeFiles/LinearMath.dir/btConvexHull.o
[  1%] Building CXX object bullet/src/LinearMath/CMakeFiles/LinearMath.dir/btConvexHullComputer.o
[  2%] Building CXX object bullet/src/LinearMath/CMakeFiles/LinearMath.dir/btGeometryUtil.o
[  2%] Building CXX object bullet/src/LinearMath/CMakeFiles/LinearMath.dir/btPolarDecomposition.o
[  3%] Building CXX object bullet/src/LinearMath/CMakeFiles/LinearMath.dir/btQuickprof.o
[  3%] Building CXX object bullet/src/LinearMath/CMakeFiles/LinearMath.dir/btSerializer.o
[  5%] Building CXX object bullet/src/LinearMath/CMakeFiles/LinearMath.dir/btVector3.o
[  5%] Linking CXX static library libLinearMath.a
[  5%] Built target LinearMath
Scanning dependencies of target ammo-bindings
[  6%] Generating ammo bindings
[  6%] Building ammo bindings
make[2]: emcc: No such file or directory
make[2]: *** [glue.o] Error 1
make[1]: *** [CMakeFiles/ammo-bindings.dir/all] Error 2
make: *** [all] Error 2
@jespertheend
Copy link
Author

Adding emsdk to my PATH using export PATH=$PATH:/node_modules/emsdk-npm/emsdk/upstream/emscripten/ seems to fix it.

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

1 participant