I'm developing on Win10 a C++ programm for Webassembly.
#include <SDL2/SDL.h>
#include <stdlib.h>
#include <emscripten.h>
int main() {
printf("Hello World!");
}
Emscripten itself creates correctly the .wasm file. But Intellisense in Visual Studio Code shows always the source of #include <SDL2/SDL.h> can't be found. My c_cpp_properties.json looks like this:
{
"configurations": [
{
"name": "Win32",
"includePath": [
"${workspaceFolder}/**",
"E:\\PROGRAMS\\emsdk-master\\upstream\\emscripten\\system\\**"
],
"defines": [
"_DEBUG",
"UNICODE",
"_UNICODE"
],
"compilerPath": "E:\\PROGRAMS\\mingw-w64\\x86_64-8.1.0-posix-seh-rt_v6-rev0\\mingw64\\bin\\gcc.exe",
"cStandard": "c11",
"cppStandard": "c++17",
"intelliSenseMode": "clang-x64"
}
],
"version": 4
}
I can't find the directory SDL2 under ...\\emsdk-master\\upstream\\emscripten\\system\\". What I'm doing wrong?