XK-EVK-XU316: accessing the GPIO Topic is solved
-
Verified
- Experienced Member
- Posts: 82
- Joined: Sun Dec 13, 2009 1:12 am
Can you try removing the square brackets text "[sw]" from the path and seeing if that helps? I have found some evidence this can cause issues on Linux. I know it's part of the root filename which we are going to address.
XMOS hardware grey beard.
View Solution
-
- Active Member
- Posts: 32
- Joined: Mon Dec 30, 2013 12:49 pm
- Location: Germany
Hi Ross,
thanks for your answer!
I try setting up a separate machine with win10 english to see if that helps :-)
On the linuxes I do not see why it does not see the libs but lets wait for the win10 machine.
I'll surely generate more questions ;-)
Best regards,
Sun
thanks for your answer!
I try setting up a separate machine with win10 english to see if that helps :-)
On the linuxes I do not see why it does not see the libs but lets wait for the win10 machine.
I'll surely generate more questions ;-)
Best regards,
Sun
-
- Active Member
- Posts: 32
- Joined: Mon Dec 30, 2013 12:49 pm
- Location: Germany
solved!
Awesome!
Thanks so much Joe, that was the issue!
I'm strongly reminded of the old Xilinx Environments where blank spaces were not allowed and caused funny errors...
Ok then, I'll move on to actually code something :-)
Greets,
Sun
-
Verified
- Experienced Member
- Posts: 82
- Joined: Sun Dec 13, 2009 1:12 am
Ah great! Thanks for confirming that fixes the issue. I also found that although having square brackets in path does build on windows it makes it more than 4x slower so seems problematic in many places. We're going to remove the square brackets from the zip file names.
XMOS hardware grey beard.
-
- Member++
- Posts: 26
- Joined: Fri May 22, 2020 5:52 pm
Harold, Thanks so much, this worked well for me. Getting each library separately was a giant pain in the ass, and it didn't work. This compiled binary xmakes fine in Ubuntu 22.04.4 LTS:Harold Barrel wrote: ↑Tue May 07, 2024 2:41 pm Hello Sun, I feel you, getting started with this XMOS project isn't super easy.
My recommendation is to download the entire release package: https://github.com/xmos/sw_usb_audio/re ... _8.0.0.zip
It contains all the libraries that are needed as dependencies (which is what you're missing).
Another approach is to set up the libraries as git submodules, which is what I did. But try to compile from the zipped release first.
Code: Select all
kevin@server1:~/xmos/XMOS/XTC/15.2.1$ source SetEnv
kevin@server1:~/xmos/XMOS/XTC/15.2.1$ cd ~/xmos/sw_usb_audio_8.1.0/sw_usb_audio/
kevin@server1:~/xmos/sw_usb_audio_8.1.0/sw_usb_audio$ xmake all