Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[apothecary] Emscripten - /libfmt.a: Unknown format, not a static library! #8211

Open
Tracked by #8192
dimitre opened this issue Nov 25, 2024 · 1 comment
Open
Tracked by #8192

Comments

@dimitre
Copy link
Member

dimitre commented Nov 25, 2024

Can you help us @danoli3 @Jonathhhan ?

../../../libs/FreeImage/lib/emscripten/WASM/libfreeimage.a ../../../libs/fmt/lib/emscripten/WASM/libfmt.a ../../../libs/libpng/lib/emscripten/WASM/libpng16.a ../../../libs/pugixml/lib/emscripten/WASM/libpugixml.a ../../../libs/tess2/lib/emscripten/WASM/libtess2.a ../../../libs/uriparser/lib/emscripten/WASM/uriparser.a ../../../libs/zlib/lib/emscripten/WASM/zlib.a    
em++: error: ../../../libs/fmt/lib/emscripten/WASM/libfmt.a: Unknown format, not a static library!
make[1]: *** [../../../libs/openFrameworksCompiled/project/makefileCommon/compile.project.mk:411: bin/em/linux64_debug/index.html] Error 1
make[1]: Leaving directory '/src/scripts/templates/linux64'
make: *** [../../../libs/openFrameworksCompiled/project/makefileCommon/compile.project.mk:145: Debug] Error 2
emmake: error: 'make -j Debug' failed (returned 2)
@dimitre dimitre changed the title [apothecary] issues with libfmt - /libfmt.a: Unknown format, not a static library! [apothecary] Emscripten - /libfmt.a: Unknown format, not a static library! Nov 26, 2024
@ofTheo
Copy link
Member

ofTheo commented Dec 8, 2024

@dimitre - removing
of_v20241205_osx_release/libs/fmt/lib/emscripten fixes this

But I get errors relating to wasm after that so need to install 3.1.73 ( to match apothecary ):

./emsdk install 3.1.73
./emsdk activate 3.1.73

Then stuff gets built now in a bin/em/ folder so that breaks running it following the normal methods.

So you have to run like:
emrun bin/em/3DPrimitivesExample/index.html

Then we get the gl context runtime error.

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants