Re: help with "HelloWorld"



Ronald Amado Gilio Lucana wrote:
> Hi, when use:
> g++ main.cc | helloworld.cc | -o main  `pkg-config gtkmm-2.4 --libs
> --cflags`
> 
> in the example "HelloWorld", as suggested Pedro Sousa, the compiler was:
> 
> linux linux:~/programacion/gtkmm/ejemplo1$ g++ main.cc | helloworld.cc |
> -o main  `pkg-config gtkmm-2.4 --libs --cflags`

Remove the '|' I don't know why Pedro did put them in the example, but
that's just wrong.

Like:
 g++ main.cc helloworld.cc -o main  `pkg-config gtkmm-2.4 --libs --cflags`

Hub


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]