Search the Community
Showing results for tags 'emscripten'.
-
We are exploring Unigine's Webgl port since some time and facing some issue while compiling the engine. We are performing manual compilation from engine directory, setting webgl as default platform and clang as default compiler in SConstruct. First few errors are engine\math/MathLib.h:457:31: error: use of undeclared identifier '_mm_set_ss'; did you mean '_mm_set1_ps'? _mm_store_ss(&v,_mm_sqrt_ss(_mm_set_ss(v))); engine\math/MathLib.h:457:19: error: use of undeclared identifier '_mm_sqrt_ss'; did you mean '_mm_sqrt_ps'? _mm_store_ss(&v,_mm_sqrt_ss(_mm_set_ss(v))); engine\math/MathLib.h:457:3: error: use of undeclared identifier '_mm_store_ss'; did you mean '_mm_store_ps'? _mm_store_ss(&v,_mm_sqrt_ss(_mm_set_ss(v))); engine\math/MathLib.h:497:19: error: use of undeclared identifier '_mm_rcp_ss' _mm_store_ss(&v,_mm_rcp_ss(_mm_set_ss(v))); engine\math/MathLib.h:812:33: error: use of undeclared identifier '_MM_HINT_NTA' _mm_prefetch((const char*)ptr,_MM_HINT_NTA); . . . . We are unable to get these implementations in xmmintrin.h of Emscripten. Does anyone else get success in compiling Engine for WebGL platform? Which Version of Emscripten and Unigine version was used. We are having Scons version : 2.2.0 Emscripten version : 1.12/1.20/1.23 Unigine version : unigine_2014_06_04
- 4 replies
-
- compilation
- scons
-
(and 2 more)
Tagged with: