Книга: Embedded Linux development using Eclipse

Running the Program

Running the Program

As we have with previous projects, open the Debug Configurations dialog and create a new configuration for this project. The default values should be fine. Click Apply if it’s active and click Debug. The Debug perspective displays an error in an Editor tab saying that no source is available for “main()”. That’s because main() is supplied by the WideStudio/MWT library. That’s OK, because we’re not interested in debugging main().

Click the Resume icon. The application window with the Hello button shows up (Figure 6.17). When you click the button, the label changes to the string you set in the hello_button() function.


Figure 6.17: The running application window.

Granted this is not a very exciting application, but it does serve to illustrate the fundamental capabilities of NAB. You can easily build and test the GUI elements of an embedded application on your host and then move it over to the target. In a sense, this is a more elaborate version of the simple simulation we did in the previous chapter.

Оглавление книги


Генерация: 0.553. Запросов К БД/Cache: 3 / 0
поделиться
Вверх Вниз