Sebastian Alff
Sebastian Alff
Thank you both! Here is the output of `ninja`, including the failing command: ``` $ ninja [6/6] Linking CXX executable Main/Main.js FAILED: Main/Main.js : && /usr/lib/emscripten/em++ -sMAIN_MODULE=1 Main/CMakeFiles/Main.dir/src/main.cpp.o -o Main/Main.js...
Here is the verbose output of `ninja` for an Emscripten build: ``` $ ninja -v ninja -v [1/6] /usr/lib/emscripten/em++ -DA_EXPORTS -std=gnu++11 -fPIC -sSIDE_MODULE=1 -MD -MT A/CMakeFiles/A.dir/src/a.cpp.o -MF A/CMakeFiles/A.dir/src/a.cpp.o.d -o A/CMakeFiles/A.dir/src/a.cpp.o...
...just realized that `libA.so` **is** included in the `objdump` output - it was just line-wrapped, which is why I missed it. I updated the comment above.
...but, the `objdump` output of the ELF build also includes the path to `libA.so`, just a few lines below my `
``` $ readelf -d libB.so Dynamic section at offset 0x2da8 contains 30 entries: Tag Type Name/Value 0x0000000000000001 (NEEDED) Shared library: [libA.so] 0x0000000000000001 (NEEDED) Shared library: [libstdc++.so.6] 0x0000000000000001 (NEEDED) Shared library:...
> When you link libB.so do you see a -Wl,-rpath (or something similar)? When building with Emscripten, the string `-Wl,-rpath` doesn't show up, but when building via ELF, it shows...
Here is the relevant section of the `build.ninja` when using `emcmake cmake -G Ninja ..`: ``` ############################################# # Link the shared library B/libB.so build B/libB.so: CXX_SHARED_LIBRARY_LINKER__B_ B/CMakeFiles/B.dir/src/b.cpp.o | A/libA.so ||...
``` $ emcc --version emcc (Emscripten gcc/clang-like replacement + linker emulating GNU ld) 4.0.8 (70404efec4458b60b953bc8f1529f2fa112cdfd1) ``` After the modifications to the `build.ninja` mentioned above, the build fails at ``` $...
Just trying out OrcaSlicer for the first time and I'm also running into this issue. By enabling "Developer Mode" in the preferences, it is possible to get more detailed error...
Or maybe not... When I right-click the problematic request to `account.prusa3d.com/o/token/` in the "Network"-Tab and choose "Copy as cURL", then execute that curl command in a terminal, the prusa server...