Post Go back to editing

Does VisualDSP++ use absolute or relative paths?

Does VisualDSP++ use absolute or relative paths?

Parents
  • MuE wrote:

    Does VisualDSP++ use absolute or relative paths?

    When adding files to your project, VisualDSP++ will use a relative path if the files are on the same drive as the project file. It will use an absolute path if the files are on a different drive to the project file.
    The only exception to this is if the file is located in the VisualDSP installation directory.  In this case, the install path is replaced with $VDSP. For example, if you are adding "C:\Program Files\Analog Devices\VisualDSP 5.0\Blackfin\Examples\Tutorial\dot_product_c\dotprod.c" into your project, dotprod.c is stored as "$VDSP\Blackfin\Examples\Tutorial\dot_product_c\dotprod.c" in the .dpj file.

    When adding paths to Project Options (such as include files) the decision is left to the user. When using the 'browse' functionality provided, an absolute path is added. If the user chooses to change that path to a relative one, it will remain so.

Reply
  • MuE wrote:

    Does VisualDSP++ use absolute or relative paths?

    When adding files to your project, VisualDSP++ will use a relative path if the files are on the same drive as the project file. It will use an absolute path if the files are on a different drive to the project file.
    The only exception to this is if the file is located in the VisualDSP installation directory.  In this case, the install path is replaced with $VDSP. For example, if you are adding "C:\Program Files\Analog Devices\VisualDSP 5.0\Blackfin\Examples\Tutorial\dot_product_c\dotprod.c" into your project, dotprod.c is stored as "$VDSP\Blackfin\Examples\Tutorial\dot_product_c\dotprod.c" in the .dpj file.

    When adding paths to Project Options (such as include files) the decision is left to the user. When using the 'browse' functionality provided, an absolute path is added. If the user chooses to change that path to a relative one, it will remain so.

Children
No Data