forlano Messages: 1202 Registered: March 2006 Location: Italy
Senior Contributor
Hello,
I would like to test emscripten https://github.com/kripken/emscripten/wiki . The Duetto competitor has no good (for me) instructions.
It seems I must start with a Makefile and then substitute gcc with emcc ( https://github.com/kripken/emscripten/wiki/Building-Projects ). I am not so optimistic about it. However it would be fantastic to have a U++ package working in the browser (by the way, the emscripten test case work with Firefox, but fail with Chromium).
Anyway I need a working makefile project to start with.
I run under lubuntu 13.04 U++ 6572-raring-i386 , got by Honza PPA (it worked without problem as usual ... thanks).
I was able to run the examples/HelloWorld package and then made a Makefile by menu item "Build/Output mode". The problem: I run "make" in the directory of the Makefile and appeared
luigi@luigi:~/HelloWorld$ make
mkdir -p _out/HelloWorld/GCC4.7-Gcc-Gui-Linux-Main-Posix-Shared/
mkdir -p _out/HelloWorld/GCC4.7-Gcc-Gui-Linux-Main-Posix-Shared/
mkdir -p _out/CtrlLib/GCC4.7-Gcc-Gui-Linux-Posix-Shared/
mkdir -p _out/CtrlCore/GCC4.7-Gcc-Gui-Linux-Posix-Shared/
mkdir -p _out/PdfDraw/GCC4.7-Gcc-Gui-Linux-Posix-Shared/
mkdir -p _out/Draw/GCC4.7-Gcc-Gui-Linux-Posix-Shared/
mkdir -p _out/plugin/bmp/GCC4.7-Gcc-Gui-Linux-Posix-Shared/
mkdir -p _out/RichText/GCC4.7-Gcc-Gui-Linux-Posix-Shared/
mkdir -p _out/Core/GCC4.7-Gcc-Gui-Linux-Posix-Shared/
mkdir -p _out/plugin/png/GCC4.7-Gcc-Gui-Linux-Posix-Shared/
make: *** No rule to generate the target "HelloWorld/hello.cpp", necessary for " _out/HelloWorld/GCC4.7-Gcc-Gui-Linux-Main-Posix-Shared/hello .o ". Stop.
So it created only few directories and then stopped. It is since 10 years that I am not using make and never I have known how it worked.
Please send me anything able to build the HelloWorld package (whole library + HelloWorld) or give me some advice to get one working.