Compile a project
Now that you've created your first application, you need to compile and link the code.To compile and link your BlackBerry 10 OS project:
Open the C/C++ perspective by choosing its icon in the right side of the toolbar.
To create a binary, right-click the project name, and then select Build Project.
- If you want to build for the simulator, right-click on the project and select .
- If you want to build for the device, right-click on the project and
select Device-Release. Makefile projects
build all build varients by default.
The compiler and linker will now do their work. You will find the compiler output (including any errors) in the Console view.
**** Rebuild of configuration Simulator for project MyBlackBerryProject **** **** Internal Builder is used for build **** qcc -o src\main.o ..\src\main.c -V4.4.2,gcc_ntox86 -w1 -c -g qcc -o MyBlackBerryProject src\main.o -lGLESv1_CM -lEGL -lscreen -V4.4.2,gcc_ntox86 -w1 -g Build complete for project MyBlackBerryProject Time consumed: 5188 ms.However, if errors occur during compiling, you will find the Problems view more useful, because it displays the output of the compiler in an interpreted and more readable fashion than the Console view. The Editor view also gives you information about an error if you leave the pointer over it.