>
> Hi Floh,
>>
>   Thanks very much for that little test program - I can confirm that 
compiled fine and showed the blit function in the right place. My code, not 
so fortunate.

This is what I use to build my project. I've simplified it as per your 
suggestion but still no joy:

call emcc -o ./anthraciteWASM.js ../src/UnityBuildWASM.cpp -O3 --pre-js 
./pre_init.js --post-js ./post_init.js -fno-rtti -fno-cxx-exceptions 
-msimd128 -s ASSERTIONS=2 -s ERROR_ON_UNDEFINED_SYMBOLS=0 -s 
DISABLE_EXCEPTION_CATCHING=0 -s ALLOW_MEMORY_GROWTH=1  -I..\include 
--js-library utils.js -s USE_WEBGL2=1 -s USE_BULLET=1 -s USE_FREETYPE=1 -s 
USE_LIBJPEG=1 -s USE_LIBPNG=1 -s WASM=1 -s NO_EXIT_RUNTIME=1 -std=c++1z -s 
"EXPORTED_FUNCTIONS=['_main', '_resizeDisplay']" -s 
"EXTRA_EXPORTED_RUNTIME_METHODS=['ccall','cwrap','stringToUTF8','resizeDisplay']"
 
-DGOLD -DUSEOGL -DWASM -DUSING_GL3 -DUSING_PHYSICS -DUSING_OLD_BULLET 
-DNO_FREE_IMAGE -DTHREADING_DISABLED -Wno-inconsistent-missing-override 
-Wno-overloaded-virtual -Wno-unused-variable -Wno-unused-private-field 
-Wno-deprecated-register -Wno-switch -s FORCE_FILESYSTEM=1 

There's a lot of stuff there that's probably not relevant to our problem 
but it's a big project, takes a while to compile, so I haven't been able to 
try too many permutations yet.

Just looking at that, any clues?

Thanks again,
Tim. 

-- 
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].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/emscripten-discuss/7040438a-7c07-4d91-8e9c-b519ea398409%40googlegroups.com.

Reply via email to