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?
| |||||||||||||||||||||||||||||||||||
| | |||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||
| . | |||||||||||||||||||||||||||||||||||
![]() | |||||||||||||||||||||||||||||||||||
|
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