[Discuss OpenCPI] Help changing target directory

From: <dwp_at_md1tech.co.uk>
Date: Tue, 25 Apr 23 14:47:58 +0000

Hello,

I have recently installed openCPI on a machine running Ubuntu. I am having trouble getting applications to run, getting the following output.

`Compiling source file: example_rxToFile.cc for platform ubuntu22_04`\
`Creating executable for "example_rxToFile" running on platform ubuntu22_04 from target-ubuntu22_04/example_rxToFile.o`\
`Executing the example_rxToFile application.`\
`/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 outputting the compiled files into the directory `target-ubuntu22_04` but then searching for them in the directory `target-`.

If I rename the folder `target-ubuntu22_04` to `target-` the application runs. How can I specify the name of the target directory used to run applications from? \
I had a look inside the makefile but I am not too familiar with the syntax and couldn’t see anything obvious.

Any help is really appreciated.

Thanks in advance,\
Dan






Received on Tue Apr 25 2023 - 14:47:58 CDT

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