EMSCRIPTEN EXPERIMENTAL : warning: unresolved symbol: _ZN3pcl7console5printENS0_15VERBOSITY_LEVELEPKcz
Hello there, I'm currently working on an experimental Emscripten build so that lib can work on the web straight.
I did compiled every librairies / dependencies using emscripten before-hand. I'm really close to get it working with webassembly.
I just got trouble figuring what this error could be :
warning: unresolved symbol: _ZN3pcl7console5printENS0_15VERBOSITY_LEVELEPKcz
If some of you have a clue ..
Many thanks
Something weird is going on with our print functions in your environment. Looking at your previous report in #2334 I got an idea that you can try. Prepend :: to the namespace specification in each of these lines. E.g., the first line should become:
#define PCL_ALWAYS(...) ::pcl::console::print (::pcl::console::L_ALWAYS, __VA_ARGS__)
Hey hello, thank you very much to help !

Still getting the error though !
Are you still getting those compilation errors from the other issue, or is this a linker error?
Only a linker error !
What did you do to resolve the compiler errors?
Please give more context for the linker error (actually, the line you posted says "warning") . When exactly does it occur, what is your linker command.
I got it.. Emscripten is a really weird compiler though. I had to play a bit with format export of those static library and enable PCL_NO_PRECOMPILE for some reasons.

I successfully managed to get an EMSCRIPTEN build of PCL working in a browser
@Samsy Hi~Samsy,could you show me your Emscripten build process?
could u share your wasm in github?
@naah69 @plusice I built PCL using WebAssembly and now it works in the browser ✌️: https://github.com/luoxuhai/pcl.js
https://github.com/luoxuhai/pcl.js
omg! that is great! thanks for your code!