*I can't compile it, even with -s ERROR_ON_UNDEFINED_SYMBOLS=0 пн, 27 апр. 2020 г. в 10:15, Александр Гурьянов <[email protected]>: > > 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%3DVGPWSd7%2ByPVAhBMB3rh8Y1P3vGHRvAx7ey6aG6R_Nob0Q%40mail.gmail.com.
