pixix4 / ev3dev-lang-rust

Rust language bindings for http://ev3dev.org
MIT License
71 stars 14 forks source link

Makefile errors on windows #24

Closed spacey-sooty closed 10 months ago

spacey-sooty commented 1 year ago

I have been trying to use makefile for stripping as shown on the template repository. Everything builds fine but when I run make or make strip I get this error : 'rev' is not recognized as an internal or external command, operable program or batch file. docker run --rm -v :/build -w /build pixix4/ev3dev-rust:latest arm-linux-gnueabi-strip /build/target/armv5te-unknown-linux-musleabi/release/ arm-linux-gnueabi-strip: '/build/target/armv5te-unknown-linux-musleabi/release/': No such file make: [Makefile:5: strip] Error 1 I can fix this issue by removing artifact and then replacing it with my project name but then i get this issue : 'rev' is not recognized as an internal or external command, operable program or batch file. docker run --rm -v :/build -w /build pixix4/ev3dev-rust:latest arm-linux-gnueabi-strip /build/target/armv5te-unknown-linux-musleabi/release/ arm-linux-gnueabi-strip: '/build/target/armv5te-unknown-linux-musleabi/release/': No such file make: [Makefile:5: strip] Error 1

Any help would be greatly appreciated. Thanks in advance