You may need to add emcc to your path, if you see an error like that.

On Wed, Jun 10, 2015 at 10:13 PM, Harsha Jayaweera <
[email protected]> 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.
>

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