[SailfishDevel] Setting up environment for compiling Rust code

Krzysztof Lesiak wave.dev at hotmail.com
Sat Oct 22 12:16:41 UTC 2016


On the platform SDK.

On Do. Okt. 20 10:48:48 2016 GMT+0200, Tone Kastlunger wrote:
> Are you building on the Platform SDK or on the Mer VM?
> 
> 
> 
> On Mon, Oct 17, 2016 at 10:26 PM, Krzysztof Lesiak <wave.dev at hotmail.com> wrote:
> 
> Hi all,
> 
> 
> I'd like to be able to build applications in Rust to run on Sailfish OS; I've installed the Platform SDK, entered the chroot and ran the Rust toolchain installer. Building a simple hello world within the chroot works fine, but for actual applications I need external libraries, which are provided by the targets, i.e. in sb2. However, when I launch sb2 and try to run rustc --version (Rust compiler) or cargo --version (Rust package manager) it doesn't do anything. There's no output, it just hangs until I kill it with Ctrl+C. It happens with both, armv7hl and i486 targets.
> 
> Can somebody tell me what's causing this? I couldn't find much documentation about sb2 on the web.
> 
> 
> Best Regards,
> Krzysztof
> 
> 
> _______________________________________________
> SailfishOS.org Devel mailing list
> To unsubscribe, please send a mail to devel-unsubscribe at lists.sailfishos.org
> 
> 
>


More information about the Devel mailing list