Re: fatal error: 'debug_print.h' file not found.

Technical discussions around xCORE processors (e.g. xcore-200 & xcore.ai).
RLC
New User
Posts: 2
Joined: Fri Jan 13, 2023 12:52 pm

fatal error: 'debug_print.h' file not found.

Post by RLC »

]Hi all,

I'm new with the Xmos and just getting start with a exiting project, The project can be run in other working environments, but when I run it in my computer, error comes.

I imported the project, "clean Project" and then "Build Project". Error comes up. The fatal error is below:

fatal error: 'debug_print.h' file not found 1722_1_callbacks.xc /AN00202_gige_avb_i2s_demo/src line 4 C/C++ Problem

I have checked the "1722_1_callbacks.xc", there is already the script: #include "debug_print.h".

So i don't know how to solve it, Does anyone has ideas? Thanks in advance.
Skärmbild 2023-01-17 153156.png
You do not have the required permissions to view the files attached to this post.
Last edited by RLC on Tue Jan 17, 2023 3:32 pm, edited 1 time in total.
User avatar
fabriceo
XCore Addict
Posts: 222
Joined: Mon Jan 08, 2018 4:14 pm

Post by fabriceo »

.
Last edited by fabriceo on Wed Jan 18, 2023 8:54 am, edited 1 time in total.
RLC
New User
Posts: 2
Joined: Fri Jan 13, 2023 12:52 pm

Post by RLC »

Hi, I'm using Community_14.4.1 and running in on a windows 10. Target written in the Makefile: XR-AUDIO-216-MC. Is it what you asked for? I updated a screenshot on the original post.
Last edited by RLC on Tue Jan 17, 2023 3:34 pm, edited 1 time in total.
User avatar
Ross
Verified
XCore Legend
Posts: 1070
Joined: Thu Dec 10, 2009 9:20 pm
Location: Bristol, UK

Post by Ross »

This header is from lib_logging, you have that right?
Technical Director @ XMOS. Opinions expressed are my own
User avatar
aclassifier
Respected Member
Posts: 507
Joined: Wed Apr 25, 2012 8:52 pm

Post by aclassifier »

I assume this has been solved by now. But it looks to me that on some xTIMEcomposer installations I need to do

XCC_FLAGS += -I/Users/teig/workspace/lib_logging/api

in the Makefile, for all libraries. I assume the path may be set for them all at once (and when I started with xTIMEcomposer I didn't need to do that Makefile exercise).
--
Øyvind Teig
Trondheim (Norway)
https://www.teigfam.net/oyvind/home/