Feedback on build system xmake/xcommon etc

Technical questions regarding the XTC tools and programming with XMOS.
User avatar
BritishCat
Member++
Posts: 20
Joined: Tue Oct 24, 2023 11:16 am

Post by BritishCat »

Ross wrote: Mon Nov 27, 2023 6:58 pm What does xmake VERBOSE=1 give you?

Does your build directory have a bracket in its name?

All of my build directories don't have any brackets. The word in brackets "(develop)"is added itself when I enter the directory sw_usb_audio in command prompt. I don't know why
Work@DESKTOP-QVIAP68 /d/xmos/proj/sw_usb_audio/app_usb_aud_xk_216_mc/build (develop)
$ xmake VERBOSE=1
"C:/Program Files/CMake/bin/cmake.exe" -SD:/XMOS/proj/sw_usb_audio/app_usb_aud_xk_216_mc -BD:/XMOS/proj/sw_usb_audio/app_usb_aud_xk_216_mc/build --check-build-system CMakeFiles/Makefile.cmake 0
"C:/Program Files/CMake/bin/cmake.exe" -E cmake_progress_start D:/XMOS/proj/sw_usb_audio/app_usb_aud_xk_216_mc/build/CMakeFiles D:/XMOS/proj/sw_usb_audio/app_usb_aud_xk_216_mc/build//CMakeFiles/progress.marks
C:/Program Files (x86)/XMOS/XTC/15.2.1/bin/xmake -f CMakeFiles/Makefile2 all
/usr/bin/sh: -c: line 1: syntax error near unexpected token `('
/usr/bin/sh: -c: line 1: `C:/Program Files (x86)/XMOS/XTC/15.2.1/bin/xmake -f CMakeFiles/Makefile2 all'
xmake: *** [all] Error 2


User avatar
BritishCat
Member++
Posts: 20
Joined: Tue Oct 24, 2023 11:16 am

Post by BritishCat »

I've done!!!!! It's working! The deafault inst. XTC tools folder is C:/Program Files (x86)/XMOS/XTC/15.2.1 This (x86) it is a mistake!!! The program is not understand any brakets. For correct operation, you need to install XTС in a folder whose address does not contain symbols.
User avatar
Ross
XCore Expert
Posts: 968
Joined: Thu Dec 10, 2009 9:20 pm
Location: Bristol, UK

Post by Ross »

Okay interesting, thanks, I’m sure some other people will have this issue too! Please consider adding an issue on github.
User avatar
BritishCat
Member++
Posts: 20
Joined: Tue Oct 24, 2023 11:16 am

Post by BritishCat »

Ross wrote: Tue Nov 28, 2023 12:13 am Please consider adding an issue on github.
https://github.com/xmos/xcommon_cmake/issues/119 Somebody have seen it on this topic and allready added it. The situation becomes better. Now I can deal with customizing the application
User avatar
Ross
XCore Expert
Posts: 968
Joined: Thu Dec 10, 2009 9:20 pm
Location: Bristol, UK

Post by Ross »

Thanks for persevering, this early-user feedback is invaluable.