Skip to content

Script that allows you with ease compile programs for EV3DEV in C++

License

Notifications You must be signed in to change notification settings

Majroch/ev3dev-compile

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ev3dev-compile

Script that allows you with ease compile programs for EV3DEV in C++ (using cross-compiler for ARM)

Author: Majroch - Jakub Majrowski

Tested on Ubuntu and Ubuntu over Win10

To use this script:

  • Windows 10:
    1. Run activate_ubuntu.bat in installation directory as Administrator to activate Linux distro emulation on Win10
    2. Reboot PC
    3. Install Ubuntu (or any other distro that uses apt package manager) from Microsoft Store
    4. After launching app, update Linux system using: "sudo apt-get update && sudo apt-get upgrade"
    5. Make sure that install.sh in installation directory have executable permissions (chmod +x install.sh)
    6. Launch script ./install.sh from installation directory to install required software
    7. Finish!
  • Ubuntu:
    1. Update system using: sudo apt-get update && sudo apt-get upgrade
    2. Make sure that install.sh in installation directory have executable permissions (chmod +x install.sh)
    3. Launch script ./install.sh from installation directory to install required software
    4. Finish!

First configuration:

  • Run autoconf first to generate script checking for requirements
  • Then ./configure to execute that script
  • And at last check if all is working just compilling with: make

Output file is main (for ARM-based devices including RaspberryPI).

To compile program main.cpp, run: make

If you need to clean this folder from compiled files, run: make clean

After finished compiling, upload main program to your brick

Have fun :P

About

Script that allows you with ease compile programs for EV3DEV in C++

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages