Wednesday, June 1, 2022

[SOLVED] Where is the header file of emscripten/bind.h?

Issue

I am using emcc to compile c++ to wasm on Debian 11.
It is successfully done.
So I think emcc knows the path.

But VS Code shows error squiggle under #include <emscripten/bind.h> because it doesn't know the path to the header file.

Where is the header file?

I'm not familiar to c++ and I install emsdk via git (I just follow the official tutorial here https://emscripten.org/docs/getting_started/downloads.html).


Solution

found at ./emsdk/upstream/emscripten/bind.h

https://github.com/emscripten-core/emscripten/blob/main/system/include/emscripten/bind.h



Answered By - invalid
Answer Checked By - Clifford M. (WPSolving Volunteer)