How to build helloworld on S60

Prerequisites

Install the S60 SDK, Java 1.3.1, Visual C++ and Active Perl 5.1.8. Verify that perl, java, nmake and epoc commands are working.

$ perl -version
$ java -version
$ nmake /HELP
$ epoc

Build for the S60 Windows simulator

  1. Go to the group directory
    $ cd C:\Symbian\6.1\Series60\Series60Ex\helloworld\group
    
  2. Generate MAKE files. This will create MAKE files for all supported targets under ${EPOCROOT}\Epoc32\BUILD\SYMBIAN\6.1\SERIES60\SERIES60EX\HELLOWORLD\GROUP
    $ bldmake bldfiles
    
  3. Build
    $ abld build
    
  4. Run the emulator. The application should be automatically installed
    $ epoc
    

Build for the actual device

$ cd C:\Symbian\6.1\Series60\Series60Ex\helloworld\group
$ bldmake bldfiles
$ abld build armi urel
$ cd ..\
$ makesis helloworld.pkg

References

  1. How to use the Symbian build process. Symbian Developer Library
  2. How to use bldmake. Symbian Developer Library
  3. How to use abld. Symbian Developer Library