Wiki page hello-world.md changed with summary [] by Xavi Artigas

This commit is contained in:
Xavi Artigas 2017-10-27 05:04:26 -07:00 committed by apache
parent 4f8aa05daa
commit 30964cd3be
1 changed files with 3 additions and 3 deletions

View File

@ -4,7 +4,7 @@
# Tutorial 1: Hello World #
This tutorial will guide you through the necessary steps to build your first "Hello World" example using the _Enlightenment Foundation Libraries_ (EFL). Before continuing make sure you have read the [Setting up the development environment](devenv-setup.md) guide.
This tutorial will guide you through the necessary steps to build your first "Hello World" example using the _Enlightenment Foundation Libraries_ (EFL). Before continuing make sure you have read the [Setting up the development environment](/develop/setup/c/) guide.
There is very little code in this first tutorial so don't worry if you have little coding experience. The main goal is to build and execute an application using EFL. You will need a basic knowledge of C to get started however.
@ -28,7 +28,7 @@ efl_main(void *data EINA_UNUSED, const Efl_Event *ev EINA_UNUSED)
EFL_MAIN()
```
Next, build this application as outlined in our guide in [Setting up the development environment](devenv-setup.md#Building). If you are using the ``gcc`` compiler, run:
Next, build this application as outlined in our guide in [Setting up the development environment](/develop/setup/c/#Building). If you are using the ``gcc`` compiler, run:
```bash
gcc -o hello-world hello-world.c `pkg-config --cflags --libs eina efl elementary` -DEFL_EO_API_SUPPORT=1 -DEFL_BETA_API_SUPPORT=1
@ -114,4 +114,4 @@ Hopefully you will not have found this tutorial too difficult. So far you have l
* Your EFL programs should **always** call ``efl_exit()`` at some stage.
* Your EFL programs should include the ``EFL_MAIN()`` macro at the end, so EFL can insert its own start and shutdown code.
The next tutorial keeps introducing more basic concepts, and shows how to retrieve the command line parameters passed to your program. See you there!
The next tutorial keeps introducing more basic concepts, and shows how to retrieve the command line parameters passed to your program. See you there!