Installing ASN.1 to C Compiler
Preparing for Installation
The ASN.1 to C Compiler required ASN.1 Development Tools (ASNDT) be installed in Eclipse platform. Before you begin, take a moment to confirm that you have installed ASNDT.
Installing the ASN.1 to C Compiler
The best way to download the ASN.1 to C Compiler plugin is through an eclipse update site, via Eclipse Update Manager (Eclipse 3.3 or earlier) or Provisioning Platform(P2, Eclipse 3.4 or later),
following the instructions below to download the ASN.1 to C Compiler plugin and install it in your respective Eclipse environment.
Eclipse 3.3(Europa) or earlier | Eclipse 3.4 (Ganymede) or later |
- Start Eclipse, then select Help > Software Updates > Find and Install....
- In the dialog that appears, select Search for new features to install and click Next.
- Click New Remote Site.
- In the resulting dialog box, enter a name for the remote site (e.g. "ASN.1 to C Compiler") and enter the URL:
http://updates.asnlab.org/asncc/
Click OK.
- You should now see the new site added to the search list (and checked). Click Finish.
- In the subsequent Search Results dialog box, select the checkbox for the "ASN.1 to C Compiler". Click Next.
- Read and accept the license agreement, then click Next.
- On the following Installation window, click Finish.
- The ASN.1 to C Compiler plugin is not digitally signed. Accept the installation anyway by clicking Install All.
- Restart Eclipse.
|
- Start Eclipse, then select Help > Software Updates....
- In the dialog that appears, click the Available Software tab.
- Click Add Site...
- Enter the Location:
http://updates.asnlab.org/asncc/
Click OK.
- Select the checkbox next to the added update site and click Install...
- Read and accept the license agreement, then click Finish.
- Restart Eclipse.
|
Troubleshooting Installation
If you are behind a firewall (such as a corporate firewall), make sure that you have properly configured your proxy settings in Eclipse. In Eclipse 3.3/3.4, you can configure proxy information from the main Eclipse menu in Window (on Mac, Eclipse) > Preferences > General > Network Connections.
If you are still unable to use Eclipse to download the plugin as a remote update site, you
can download the zip file to your local machine and manually install it:
- Download the zip file (do not unpack it).
- Follow steps 1 and 2 in the default install instructions (above).
- In Eclipse 3.3, click New Archive Site....
In Eclipse 3.4, click Add Site..., then Archive...
- Browse and select the downloaded zip file.
- Follow the remaining procedures, above, starting from steps 5.
Next Steps
Once you have completed installation, you are ready to begin developing applications. Here are a few ways you can get started:
- Request a Trial License or purchase a Permanent License from ASN Lab website.
- In Eclipse click Windows > Preferences > ASN.1 > ASN.1 to C Compiler to open the ASN.1 to C Compiler preference page.
- Enter the serial number of license in the General section and click OK.
- Follow the examples tutorial to build a "hello world" ASN.1 application.