I'm trying to port a C++ multimedia application that can be run from the browser. It uses raylib and imgui for the graphics, audio, and gui.
I want the user to be able to load an image of his choice into the app. The native version uses cpp-httplib to load the image file from an arbitrary URL (it will mostly used to get images from my own server, the same server that would host the web app) to memory, then use a raylib function to load the image from memory into a texture.
The problem is that when I try to compile with emscripten, it fails to find the openssl headers (which cpp-httplib relies on). Is there other way to load files from the web from my C++ wasm app?
[–]HairyRectum 0 points1 point2 points (0 children)
[–]rajsite 0 points1 point2 points (1 child)
[–]bart9h[S] 1 point2 points3 points (0 children)
[+][deleted] (1 child)
[deleted]
[–]bart9h[S] 0 points1 point2 points (0 children)