TimeComposer does not build applications

Technical questions regarding the XTC tools and programming with XMOS.
ast8346
Active Member
Posts: 39
Joined: Mon Jan 05, 2015 12:58 am

TimeComposer does not build applications

Post by ast8346 »

Hi
For some reason, the only application I can build is the spinning bar on startking,

Nothing else works because line

define INCLUDE_ALL_MODULES
$(if $(TO_PROCESS), $(eval $(call INCLUDE_MODULES)))
$(if $(TO_PROCESS), $(eval $(call INCLUDE_ALL_MODULES)))
endef

basically does not include any modules at all.

in makefile.common1

I have tried several versions of xTimeComposer and I have tried running it on windows 7 and windows xp. always the same result.

Can anyone at least suggest what may be the cause?

I feel helpless.

Regards,


Guest

Post by Guest »

Can you please give more information(screen capture) on the error you are seeing while building the applications?
ast8346
Active Member
Posts: 39
Joined: Mon Jan 05, 2015 12:58 am

Post by ast8346 »

Hi jangala,

For example,

Error description:
*** Cannot find module ' module_itc_simple)' Stop.

Resource'
app_itc_simple_uac2slave_demo

Location:

line 600, external location: E:\Program Files\XMOS\xTIMEcomposer\Community_13.2.1\build\xcommon\module_xcommon\build\Makefile.common1

Essentially this happening in any other app that contains at least 1 module and then error becomes *** Cannot find module ' *name of the module*)' Stop. But location and line is always the same! Line 600 says:

TO_PROCESS := $(UM)
$(eval $(call INCLUDE_module_usb_shared))
$(eval $(call INCLUDE_ALL_MODULES))


On the same subject:
http://www.xcore.com/questions/3298/usb_aud_xk_u8_2c
ast8346
Active Member
Posts: 39
Joined: Mon Jan 05, 2015 12:58 am

Post by ast8346 »

I have a general question regarding what is this external makefile.common1?
What does it do? It seems like a very crucial file that defines everything..
I could not find anything in programming guide or user guide, maybe I am blind.
User avatar
davelacey
Experienced Member
Posts: 104
Joined: Fri Dec 11, 2009 8:29 pm

Post by davelacey »

ast8346 wrote:I have a general question regarding what is this external makefile.common1?
What does it do? It seems like a very crucial file that defines everything..
I could not find anything in programming guide or user guide, maybe I am blind.
The relevant documentation is chapter 12 (Using XMOS Makefiles) of the xTIMEcomposer user guide. Are all the modules you are trying to use in your workspace?
ast8346
Active Member
Posts: 39
Joined: Mon Jan 05, 2015 12:58 am

Post by ast8346 »

davelacey wrote:
ast8346 wrote:I have a general question regarding what is this external makefile.common1?
What does it do? It seems like a very crucial file that defines everything..
I could not find anything in programming guide or user guide, maybe I am blind.
The relevant documentation is chapter 12 (Using XMOS Makefiles) of the xTIMEcomposer user guide. Are all the modules you are trying to use in your workspace?
This is about the makefile inside the workspace\modules.
But what about this external makefile.common1 that is not even included into the workspace? Name suggests it is common for all applications and contains general information regarding xtimecomposer behavior..
Yes, everything is in the workspace. Both physically and in software
ast8346
Active Member
Posts: 39
Joined: Mon Jan 05, 2015 12:58 am

Post by ast8346 »

Hello again
I seem to have done some progress today, but I am getting a new kind of mistake, please have a look
It simply lists a few ports as undeclared, where I can clearly see them declared in .xn file...
Regards,
You do not have the required permissions to view the files attached to this post.
Guest

Post by Guest »

Can you check if your XN file is imported into your project and also specified as target in the Makefile.
ast8346
Active Member
Posts: 39
Joined: Mon Jan 05, 2015 12:58 am

Post by ast8346 »

xn. is located in app/src/core

it is specified as a target in the makefile

Please find in the attachment what I have in application files, however, all this was changed little compared to xSoftTip library..
You do not have the required permissions to view the files attached to this post.
Guest

Post by Guest »

Move your XN file to the same path where your Makefile is located and try again. This should fix your issue.