I have compiled FreeType into JavaScript using vs-tool/Visual Studio 2010, 
and linked my program with it. But during runtime, in one of the calls 
inside library, functions table seems to be messed up - instead of proper 
FreeType function, unrelated function from another library gets called. It 
seems that this is a linking problem. How do I debug this?

My current setup is as follows:
1) Compile FreeType 2.5.3 in Visual Studio 2010, producing libfreetype.bc, 
rename it to libfreetype.so to satisfy CMake
2) Compile Allegro library, which uses FreeType 
(liballegro_monolith-debug.so)
3) Compile my project, spefiying -lallegro_monolith-debug and -lfreetype

I'm using Emscripten SDK v1.16.0. Most of FreeType works, surprisingly, but 
because this single call gone awry, I'm can't specify fonts size - FreeType 
renders them all in default size :)

-- 
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