Building the .a file into js creates a file with the libspeex library in
it. But it doesn't have a main() function. Perhaps link it with an example
program, then run that?


On Sun, Jul 5, 2015 at 6:49 PM, gonzobrains <[email protected]> wrote:

> Hi everyone,
>
> I have been trying to build libspeex but have ran into a few problems.  I
> seem to have the emscripten portable SDK set up okay in an Ubuntu 14 VM,
> but there were a few tests that failed.
>
> Despite that, I ran emconfigure ./configure and emmake make, and can see
> libspeex.a and libspeex.so were built.
>
> I can even run llvm-nm and can inspect their contents.  However, if I try
> something like the following:
>
> emcc -O2 libspeex.a -o libspeex.js
>
> I get a file that seems to have "boilerplate" stuff but nothing specific
> to speex.
>
> What am I doing wrong?  I noticed there is a guy on Github who was able to
> do this so I'd like to be able to do the same thing myself:
>
> https://github.com/jpemartins/speex.js/
>
> I would just stick what he has done but the examples don't seem to work,
> so I'd like to start from scratch.
>
> Thanks,
> gb
>
>  --
> You received this message because you are subscribed to the Google Groups
> "emscripten-discuss" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"emscripten-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to