Hi,

The `TARGET` variables should only be used when cross compiling, AFAIK. It should be the `TOOL` variables that need to be set.

I'm pretty sure `source. /cdk/opencpi-setup.sh -r` sets those variables.

After installation you should be prompted (either in the install guide, or by the installer) to add the above `source` line to your `.bashrc`.

That environment is not maintained between shell sessions, so you'll need to source that file for every new terminal you open.

Can you try `unset` those `TARGET` variables, `source` as above, and then check which `TOOL` variables get set (`export | grep OCPI`)?

If `OCPI_TOOL_PLATFORM` is not getting set to `ubuntu22_04` then that's a problem.

Kind Regards,
D. Walters

On Wed, 26 Apr 2023, 10:54 , <dwp@md1tech.co.uk> wrote:

Hi John and Dominic,

I am running develop and using ubuntu22_04 so yes according to the installation guide, it is supported.

I found a solution to this, there must have been something that went wrong during the installation as I did not have the OCPI_TARGET_* environment variables set. To fix this I ran source "$OCPI_CDK_DIR/scripts/ocpitarget.sh" "$1".

I am not sure why this wasn’t done correctly by the install-opencpi.sh script on line 119 but doing it manually appears to have fixed it.

Thank you both for your suggestions,
Dan

_______________________________________________
discuss mailing list -- discuss@lists.opencpi.org
To unsubscribe send an email to discuss-leave@lists.opencpi.org