- Status Report (Stack and Tile)
- Back from Auckland
- Work in progress on the xHCI driver
- GSoC Introduction: BFS Partition Resizer
- GSoC Introduction: NFSv4 client
- GSoC Introduction: x86_64 port
- GSoC Introduction: OpenJDK port
- gsoc2012 cpuidle project introduction
- Playing Around With QEMU and VT-d
- A Short BeGeistert 025 Report
Lesson 14: Our First GUI Program
It's about time: our first program which does more than print stuff to the Terminal! Now the real fun begins! Learning to Program With Haiku, Lesson 14.
- darkwyrm's blog
- Login or register to post comments







Comments
Re: Lesson 14: Our First GUI Program
Great tutorial, thanks.
Re: Lesson 14: Our First GUI Program
Thank's again.
Re: Lesson 14: Our First GUI Program
AH, the good stuff. :)
Thanks a lot.
Re: Lesson 14: Our First GUI Program
The lesson 14 link on this-> http://www.haiku-os.org/development/learning_to_program_with_haiku
page doesn't point to the pdf.
Re: Lesson 14: Our First GUI Program
Yes, I can't too. Try with this URL: http://ftp.haiku-os.gr/Learning%20to%20Program%20With%20Haiku%20Lesson%2... :)
Re: Lesson 14: Our First GUI Program
I tried to compile the app from the terminal
gcc app.cpp -o app
and got loads of undefined references to BApplication::something, the last one being BApplication::~BApplication. How should I compile it? It works fine in Paladin, but it crashses on my desktop.
Re: Lesson 14: Our First GUI Program
Compiling requires the system libraries libbe.so and libroot.so. When you try to compile from within the terminal you also need to include these, so that the compiler can find the BApplication, etc. You can either type out the full path in the terminal (/boot/system/lib/libbe.so) or you can copy and paste the libraries into the same folder that the rest of your source code is in. If you choose the latter, then just type the name of the lib when compiling.