Replies: 1 comment 2 replies
-
I think the problem is that Can you try with |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Look at the following code:
main.cpp
#include
int main() {
std::cout << "Hello, emscripten!\n";
}
emcc main.cpp -o main.html -s MAIN_MODULE=1 -s USE_PTHREADS=1
When building it I'm getting an error "warning: ___call_main may need to be added to EXPORTED_FUNCTIONS if it arrives from a system library". It comes up only if I combine main_module + pthread flags. I tried to add __call_main/_main to EXPORTED_FUNCTION but it didn't help. Is it expected behavior? What am I missing here?
emcc --version
emcc (Emscripten gcc/clang-like replacement + linker emulating GNU ld) 3.1.8 (3ff7eff)
Beta Was this translation helpful? Give feedback.
All reactions