I have some C and C++ knowledge and I am bad at compiling(I have always used IDEs in the past to compile code).
I tried a simple example on Emscripten website about Fetch Api ( https://emscripten.org/docs/api_reference/fetch.html The first example here) I put the code info main.cpp file and tried compiling the code using: emcc main.cpp -s FETCH=1 It gave the errors: warning: unresolved symbol: emscripten_fetch_close warning: unresolved symbol: emscripten_fetch_att_init warning: unresolved symbol: emscripten_fetch I downloaded the file emscripten_fetch.cpp from github and put it into the same directory with main.cpp then tried compiling using: emcc main.cpp emcc_fetch.cpp -s FETCH=1 This time the error messages changed to: warning:unresolved symbol: emscripten_is_main_browser_thread warning:unresolved symbol: emscripten_start_fetch warning:unresolved symbol: _emscripten_fetch_free When I viewed the file emscripten_fetch.cpp, I saw that although these functions are either called or declared , they seem like they are not defined in the file. -- You received this message because you are subscribed to the Google Groups "emscripten-discuss" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/emscripten-discuss/031ce26e-6c7d-4750-b0bc-779f3007da28%40googlegroups.com.
