跳至主要內容
Knowledgebase
Home
Renesas Electronics Taiwan - Knowledgebase

Why do error occurs in HEW when a built is executed which supports OS?

Latest Updated:02/18/2013

Question:

In the integrated development environment, High-performance Embedded Workshop, when a build is executed with the [Use custom likage order] being selected in a project which supports real-time OS (RI600/4 or RI600/PX) and was created by the C/C++ compiler package for RX family, the following error occurs.

Phase OptLinker starting
Error accessing file: ri600lit.lib
Phase will not be executed
Phase OptLinker finished

Answer:

Make the following two settings.

  1. Specify the path of the library file.
    1. Click the [Build] menu -> [RX Standard Toolchain...].
      The RX Standard Toolchain dialog box is displayed.

    2. Click the [Link/Library] tab and select "Input" for [Category] and "Library files" for the [Show entries for].

    3. Replace the specified library.
      ri600lit.lib -> Installation directory\lib600\ri600lit.lib
      (ri600big.lib for the case of big endian)

    4. Click the OK button.

  2. Add ritable.obj.
    1. Click the [Build] menu -> [RX Standard Toolchain...].
      The RX Standard Toolchain dialog box is displayed.

    2. Click the [Link/Library] tab and select "Input" for [Category] and "Relocatable/object files" for the [Show entries for].

    3. Click the Add button.
      The dialog box for adding relocatable files or object files is displayed.

    4. Base path: Select "Configuration directory", input ritable.obj in the file path, and click the OK button.

    5. Click the OK button in the RX Standard Toolchain dialog box.
Suitable Products
RX Family
RI600/4 Real-time OS for RX Family
RI600/PX Real-time OS for RX Family