Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » Developing U++ » U++ Developers corner » HelloWorld makefile
HelloWorld makefile [message #41303] Thu, 28 November 2013 20:36 Go to previous message
forlano is currently offline  forlano
Messages: 1185
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 Cool ... 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.

Many thanks,
Luigi
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Bug in msc 7.1 ?
Next Topic: Painter replacement
Goto Forum:
  


Current Time: Mon Apr 29 15:48:15 CEST 2024

Total time taken to generate the page: 0.02732 seconds