Giter Site home page Giter Site logo

Comments (3)

gazzar avatar gazzar commented on July 18, 2024 2

This is what worked for me last time I tried it for getting the logue-sdk working in wsl. I haven't tried since I switched over to wsl2. Hope this helps.

	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

from logue-sdk.

tokuhira avatar tokuhira commented on July 18, 2024

FYI, hope helps your situation:

#31 (comment)

from logue-sdk.

augusto avatar augusto commented on July 18, 2024

For ubuntu 20 on WSL I also had to install the package libc6-i386.

sudo apt install libc6-i386

from logue-sdk.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.