Created
April 20, 2020 11:12
-
-
Save gazzar/406fe3ba1ed92ecb7f7abd9725498ce3 to your computer and use it in GitHub Desktop.
wsl logue-sdk installation log
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
The following is untested but should work for getting the logue-sdk working in wsl. | |
1. Install wsl and the Ubuntu image from Windows Store | |
2. Run wsl | |
3. I want to use vscode. I have it installed in Windows already. Run vscode from Linux commandline | |
$ code | |
## This runs VSCode and prompts to install the "remote wsl" extension in VSCode which I did | |
4. Install qemu | |
## This is necessary to be able to run ELF 32-bit LSB executables, of which the arm gcc compiler tools are an example. | |
## https://stackoverflow.com/a/49405605 | |
$ sudo apt install qemu-user-static | |
$ sudo update-binfmts --install i386 /usr/bin/qemu-i386-static --magic '\x7fELF\x01\x01\x01\x03\x00\x00\x00\x00\x00\x00\x00\x00\x03\x00\x03\x00\x01\x00\x00\x00' --mask '\xff\xff\xff\xff\xff\xff\xff\xfc\xff\xff\xff\xff\xff\xff\xff\xff\xf8\xff\xff\xff\xff\xff\xff\xff' | |
# Add the following line to .bashrc: | |
sudo service binfmt-support start | |
$ source .bashrc | |
$ sudo dpkg --add-architecture i386 | |
$ sudo apt update | |
5. Follow the instructions in tools/gcc/README.md | |
$ cd /mnt/d/ | |
$ git clone https://github.com/korginc/logue-sdk.git | |
$ cd logue-sdk | |
$ git submodule update --init | |
$ ./get_gcc_linux.sh | |
# Check if it will work | |
$ file tools/gcc/gcc-arm-none-eabi-5_4-2016q3/bin/arm-none-eabi-gcc | |
## The following output indicates that the gcc compiler is an ELF 32-bit LSB executable as it should. | |
tools/gcc/gcc-arm-none-eabi-5_4-2016q3/bin/arm-none-eabi-gcc: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically linked, interpreter /lib/ld-, for GNU/Linux 2.6.8, stripped | |
$ cd platform/minilogue-xd/demos/waves/ | |
$ make |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment