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@kirintec.com
  
www.kirintec.com
Follow us: 


 
Kirintec Events and News
 
.

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@md1tech.co.uk <dwp@md1tech.co.uk>
Sent: Tuesday, April 25, 2023 3:48 PM
To: discuss@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