UPGRADE YOUR BROWSER

We have detected your current browser version is not the latest one. Xilinx.com uses the latest web technologies to bring you the best online experience possible. Please upgrade to a Xilinx.com supported browser:Chrome, Firefox, Internet Explorer 11, Safari. Thank you!

cancel
Showing results for 
Search instead for 
Did you mean: 
Participant christian.moncada
Participant
430 Views
Registered: ‎09-27-2017

SDSoC header files not found consistently throughout project

Jump to solution

I have an SDSoC project that targets a custom platform. That platform is using a BSP defined when making the software components in SDK. I added the BSP include directory in the build settings for the project, but the header files located in that directory are not always found. In my main file and in another file I include "xv_tpg.h", but the compiler only finds it for the main file. When trying to compile the second file I get a "file not found" error. I don't know why it would find the header for one of the files but not both. I've double checked for typos and looked at the compilation log to make sure the main file compiled without errors.

0 Kudos
1 Solution

Accepted Solutions
Participant christian.moncada
Participant
312 Views
Registered: ‎09-27-2017

Re: SDSoC header files not found consistently throughout project

Jump to solution

I solved my own problem. I have a mixture of .c and .cpp files in my project (inherited code) and I only updated the SDS++ compiler with the new include directory. I added the include path to the SDSCC compiler and it now finds the header files.

View solution in original post

0 Kudos
5 Replies
Moderator
Moderator
384 Views
Registered: ‎08-20-2018

Re: SDSoC header files not found consistently throughout project

Jump to solution

Hi @christian.moncada 

This happens everytime you build the project?

 

Best Regards,
Nutan
-------------------------------------------------------------------------------
Please don't forget to reply, kudo and accept as a solution
0 Kudos
Participant christian.moncada
Participant
368 Views
Registered: ‎09-27-2017

Re: SDSoC header files not found consistently throughout project

Jump to solution
Yes. I've tried cleaning and rebuilding a couple times with the same result.
0 Kudos
Moderator
Moderator
356 Views
Registered: ‎08-20-2018

Re: SDSoC header files not found consistently throughout project

Jump to solution

Hi @christian.moncada 

Please let me know SDSoC version.

Also, is it possible to share the full log?

Best Regards,
Nutan
-------------------------------------------------------------------------------
Please don't forget to reply, kudo and accept as a solution
0 Kudos
Participant christian.moncada
Participant
343 Views
Registered: ‎09-27-2017

Re: SDSoC header files not found consistently throughout project

Jump to solution

2018.1

0 Kudos
Participant christian.moncada
Participant
313 Views
Registered: ‎09-27-2017

Re: SDSoC header files not found consistently throughout project

Jump to solution

I solved my own problem. I have a mixture of .c and .cpp files in my project (inherited code) and I only updated the SDS++ compiler with the new include directory. I added the include path to the SDSCC compiler and it now finds the header files.

View solution in original post

0 Kudos