Add new comment

Compiling with emscripten

Hi there,

I am trying to compile LibRaw with emscripten for use with a web project, but struggling, and am unable to find any existing resources online.

I have successfully compiled LibRaw in Visual Studio, but emscripten requires a CMake file, which my knowledge of is limited, and Visual Studio support for emscripten ended with VS2010.

I have also set up emscripten correctly and compiled "hello world" etc., but I do not know how to organise the code so as to compile(/transpile) with emscripten.

I am willing to put in as much work as is needed, but would anybody have any pointers as to how to get started?

Many, many thanks in advance,
Josh

Forums: