[Discuss OpenCPI] Re: Help changing target directory

From: John McCabe <jmccabe_at_kirintec.com>
Date: Tue, 25 Apr 23 15:17:29 +0000

As a matter of interest, which version of OpenCPI have you installed, and did you check the installation guide for what versions of Ubuntu are supported?


John McCabe
Principal Software Engineer
Kirintec Ltd
  
+44 (0) 1989 568350
  +44 7551 547 473
  
jmccabe_at_kirintec.com
  
www.kirintec.com
Follow us:


 
.

Receipt of this e-mail is subject to conditions, view our email disclaimer. Kirintec Limited of Ross-on-Wye HR9 5PB is ​registered in England and Wales with the company number 6699502.
From: dwp_at_md1tech.co.uk <dwp_at_md1tech.co.uk>
Sent: Tuesday, April 25, 2023 3:48 PM
To: discuss_at_lists.opencpi.org
Subject: [Discuss OpenCPI] Help changing target directory


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






image042512.png
(image/png attachment: image042512.png)

image063202.png
(image/png attachment: image063202.png)

image494827.png
(image/png attachment: image494827.png)

image574967.png
(image/png attachment: image574967.png)

image801329.png
(image/png attachment: image801329.png)

image902820.png
(image/png attachment: image902820.png)

image697263.png
(image/png attachment: image697263.png)

image755285.png
(image/png attachment: image755285.png)

image785728.png
(image/png attachment: image785728.png)

image630241.png
(image/png attachment: image630241.png)

Received on Tue Apr 25 2023 - 15:17:29 CDT

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