11.11.1/12.0.0 build problem with legacy project

Technical questions regarding the XTC tools and programming with XMOS.
User avatar
leon_heller
XCore Expert
Posts: 546
Joined: Thu Dec 10, 2009 10:41 pm
Location: St. Leonards-on-Sea, E. Sussex, UK.

11.11.1/12.0.0 build problem with legacy project

Post by leon_heller »

I've created a new 11.11.1 XDE project based on a simple XK-1 legacy project, but when I build the new project I get:

**** Build of configuration Debug for project XK-1 LED ****

xmake CONFIG=Debug all
xmake[1]: C:/Program\: No such file or directory
xmake[1]: *** No rule to make target `C:/Program\'. Stop.
xmake: *** [bin/Debug/"XK-1] Error 2

I get the same problem with 12.0.0.

What am I doing wrong?

Leon


User avatar
leon_heller
XCore Expert
Posts: 546
Joined: Thu Dec 10, 2009 10:41 pm
Location: St. Leonards-on-Sea, E. Sussex, UK.

Post by leon_heller »

Has anyone else tried it, and got it to work?

Leon
Heater
Respected Member
Posts: 296
Joined: Thu Dec 10, 2009 10:33 pm

Post by Heater »

Leon,

What's this in your error output: "C:/Program\"? Looks like some confusion about Windows vs Unix file naming and directory seperators "/" vs "\".

Obviously that is supposed to be "C:/Program files/...bla bla" So it looks like the issue is the space in the file name. Try moving things to a directory path with no spaces in it.
User avatar
leon_heller
XCore Expert
Posts: 546
Joined: Thu Dec 10, 2009 10:41 pm
Location: St. Leonards-on-Sea, E. Sussex, UK.

Post by leon_heller »

Thanks.

You are correct! I tried converting the legacy project to one with a name with no spaces in it - it built OK and ran on the XK-1. It looks like a bug in the legacy conversion process, as projects with spaces in the name have always built OK.

There is another problem with the converted project - debug doesn't work properly.

I'll contact support about it.

I'm surprised that no one else seems to have noticed these problems.

Leon
ale500
Respected Member
Posts: 259
Joined: Thu Sep 16, 2010 9:15 am

Post by ale500 »

I avoid spaces in pathnames and file names because they create a lot of problems. Even in this day, the number of applications broken by then doesn't seem to diminish... and the forward slash/backslash problem of windows... glad I went un*x :).

I still use 11.11.0 and life is good :)