How to build project?

If you have a simple question and just want an answer.
Dmil
Member
Posts: 13
Joined: Wed Mar 04, 2015 9:48 am

How to build project?

Post by Dmil »

Hi!

I have some problems with compiling reference projects.
Uses: Windows XP sp3, xTIME Composer Studio (Community_13.2.1),
USB-Audio-2.0-Device-Software(6.6.0).zip

My steps:

- xTIME Composer Studio installed to path without spaces: c:\Apps\XMOS\xTIMEcomposer\Community_13.2.1\

- Workspace path without spaces: c:\XMOSProjects\

- I imported zip file like on this video: http://www.xmos.com/news/videos/17694. I selected all projects.

1) I see 54 warnings in window "Problems" like these:

Invalid project path: Duplicate path entries found (/module_xud [Include path] isSystemInclude:true includePath:C:/Apps/XMOS/xTIMEcomposer/Community_13.2.1/target/include), path: [/module_xud].    module_xud
 

Description    Resource    Path    Location    Type
Invalid project path: Include path not found (module_xud\libsrc).    module_xud
 

- How fix it?

- Where is libsrc? How the mixer works without a src?

2) module_usb_audio\main.xc. Unresolved inclusion: "xud.h"
module_usb_audio\warnings.xc. Unresolved inclusion: "customdefines.h"

- How to fix this?

- I see these problems only if I open the .xc file, so it possible there are similar problems in other files. No warning about this. How to check project for errors like this?

 

Thank you for help!
You do not have the required permissions to view the files attached to this post.
User avatar
larry
Respected Member
Posts: 275
Joined: Fri Mar 12, 2010 6:03 pm

Post by larry »


We are aware of build warnings in the reference design and brought them up to attention of the engineering team, thank you for the report.

 

References to libsrc represent binary-only component of the core USB library that is supplied with the reference design. When you build the reference design, the binary-only component is compiled alongside other components with source code.

 

Dmil
Member
Posts: 13
Joined: Wed Mar 04, 2015 9:48 am

Post by Dmil »

OK.

But what about second part of the question?

2) module_usb_audio\main.xc. Unresolved inclusion: "xud.h"
module_usb_audio\warnings.xc. Unresolved inclusion: "customdefines.h"

- I see these problems only if I open the .xc file, so it possible there are similar problems in other files. No warning about this. How to check project for errors like this?