[Discuss OpenCPI] Re: Help changing target directory

From: <dwp_at_md1tech.co.uk>
Date: Wed, 26 Apr 23 11:34:33 +0000

Hi,

The `TOOL` variables were indeed set. I unset them and ran the `source` command and they returned to the same values:

**`OCPI_TOOL_OS`**`=linux`\
**`OCPI_TOOL_PLATFORM`**`=ubuntu22_04`\
**`OCPI_TOOL_ARCH`**`=x86_64`\
**`OCPI_TOOL_DIR`**`=ubuntu22_04`\
**`OCPI_TOOL_OS_VERSION`**`=u22_04`\
**`OCPI_TOOL_PLATFORM_DIR`**`=/home/dwp/git/opencpi/project-registry/ocpi.core/exports/rcc/platforms/ubuntu22_04`

Running the `source` command also removed the `TARGET` variables and the problem returned when attempting `ocpidev run`\
`application example_rxToFile` giving the following output:

`/bin/bash: line 1: target-/example_rxToFile: No such file or directory`\
`make: *** [/home/dwp/git/opencpi/cdk/include/application.mk:70: run] Error 127`

It is only when `OCPI_TARGET_DIR `is set to` ubuntu_22_04 `that the application runs. I can see that this variable is used in the file\
`<opencpi-root-dir>/cdk/include/application.mk` on line 63.

Thanks,\
Dan






Received on Wed Apr 26 2023 - 11:34:33 CDT

This archive was generated by hypermail 2.3.0 : Fri Jun 05 2026 - 08:45:25 CDT