Hi. I have old project that was compiled with fastcomp. Now I updated
it to upstream, but I have error on link stage.
```
wasm-ld: error: CMakeFiles/bin-obj.dir/AppDelegate.cpp.o: undefined
symbol: typeinfo for EditorScene
wasm-ld: error: CMakeFiles/bin-obj.dir/IAP/IAPManager.cpp.o: undefined
symbol: vtable for IAPPlatformDummy
wasm-ld: error: CMakeFiles/bin-obj.dir/IAP/IAPManager.cpp.o: undefined
symbol: typeinfo for OnlineLevelListScene
wasm-ld: error: CMakeFiles/bin-obj.dir/IAP/IAPManager.cpp.o: undefined
symbol: typeinfo for CommunityScene
wasm-ld: error: CMakeFiles/bin-obj.dir/Scenes/SocialLayer.cpp.o:
undefined symbol: typeinfo for OnlineLevelListLayer
...
wasm-ld: error: too many errors emitted, stopping now (use
-error-limit=0 to see all errors)
shared:ERROR: '/home/caiiiycuk/sdk/emsdk/upstream/bin/wasm-ld
@/tmp/emscripten_ricuunpu.rsp' failed (1)
```

This project have a lot of undefined symbols, and it's ok. For native
I can successfully compile it with
```
    set(CMAKE_EXE_LINKER_FLAGS "-Wl,--unresolved-symbols=ignore-all")
```

And it works fine. For web I used fastcomp with -s
ERROR_ON_UNDEFINED_SYMBOLS=0 and it works fine.
But now, I can compile it, event with -s ERROR_ON_UNDEFINED_SYMBOLS=0

-- 
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/CAKOm%3DVHOofQU2iBi_kS1X3sypW-TrK9bOqTbGDrHp8Mc6VW%2B%2Bg%40mail.gmail.com.

Reply via email to