Thanks. I added it to environment in ubuntu and now it works fine. but then 
it gave following error:

"ERROR root: Compiler settings are incompatible with fastcomp. You can fall 
back to the older compiler core, although that is not recommended"

 
Solution i found for this is to set EMCC_FAST_COMPILER=0. it solved the 
above issue and now i'm getting this error:

"Non-fastcomp compiler is no longer available, please use fastcomp or an 
older version of emscripten"


How can i fix this. am i missing something here. I did exactly what 
emscripten's documentation has mentioned in their installation guide and 
their test sample programs in *master\tests* folder are also compiling and 
working fine. is there any issue with my make file. or anything i should be 
aware of.

Sorry for my confusion. I'm bit new to this.
Can you please tell me how can i solve this. and what am i thinking in 
wrong way. 


On Thursday, June 11, 2015 at 10:43:52 AM UTC+5:30, Harsha Jayaweera wrote:
>
> I'm having issue with building this demo.
> https://github.com/kakukogou/opencvjs_demo_segmentation
>
> when i cd into this folder and run make command i get this error message:
>
> /bin/sh: 1: emcc: not found
> make: *** [segmentation] Error 127
>
> this is how make file looks like.
>
> segmentation: ../src/segmentation.cpp ../src/export.cpp
> mkdir -p $(OBJDIR)
> emcc \
> ../src/segmentation.cpp \
> ../src/export.cpp \
> -I $(OPENCV_INSTALL_DIR)/include \
> $(OPENCV_INSTALL_DIR)/lib/libopencv_core.so \
> $(OPENCV_INSTALL_DIR)/lib/libopencv_imgproc.so \
> -s EXPORTED_FUNCTIONS="['_on_mouse', '_on_init', '_on_process']" \
> -O3 \
> --llvm-lto 1 \
> --closure 1 \
> -s PRECISE_F32=1 \
> -s FORCE_ALIGNED_MEMORY=1 \
> -s TOTAL_MEMORY=306777216 \
> -o ./bin/segmentation.js
>
> clean:
> rm ./bin/*.js ./bin/*.mem
> .......
>
>
>
> i guess it does not recognize "emcc" command. is there any specific 
> environment variable i have to set to get this command working.
>

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