Code Monkey home page Code Monkey logo

machinekit-vagrant's Introduction

Machinekit Vagrant

Vagrant config for Machinekit, QtQuickVcp and the Machinekit SDK

Getting Started

This gettings started will lead you trough the installation process.

Clone Git repository

If you have Git installed on your computer clone the Git repository to your computer:

git clone https://github.com/strahlex/machinekit-vagrant.git

In case you don't have Git installed and you do not bother installing you can also just download the Git repository as Zip file.

Install Vagrant

Next you need to download and install Vagrant. Just follow the steps in the installer.

Start Vagrant

When installing Vagrant is completed start up a terminal on your computer. On Windows either type cmd in the start menu or Shift-Right-Click (Open Command Window here...) in your desired folder. If you are not in the folder where you cloned or extracted the contents of the Git repository please navigate there using the cd command (cd /my/cool/folder).

Now continute by typing vagrant up in the terminal. You may be asked to install VirtualBox at some point. Just agree and lean back.

Wait for the VM installation to complete.

Watch the tutorial

Once everything has completed (take a look at the terminal) you can continue wiht the tutorial:

Building Qt5 UIs with the MachinekitSDK
Building Qt5 UIs with the MachinekitSDK

Additional commands

The following Vagrant commands are also useful:

Update the Vagrant box: vagrant provision

If something goes wrong and you need a clean state just fire up the command vagrant destroy followed by a vagrant up to get a fresh install.

Troubleshooting

Common problems and solutions.

Windows - VBoxManage.exe: error: Failed to create the host-only adapter

Problem is either related to missing Windows UAC rights or an old version of VirtualBox on Windows 10. Try the following to solve the problem:

  • Upgrade VirtualBox to the latest version

  • Or try following

  • Open VirtuaBox
  • Go to File->Preferences->Network->Host-only Networks
  • Remove the existing network adapter
  • Create a new adapter with the default settings
  • Restart Vagrant

Windows - VirtualBox crashing

If VirtualBox keeps crashing when starting Vagrant it may be a problem with VirtualBox itself. Try to start VirtualBox manually and boot up the VM. If there is a VT-x problem it may be that your computer does not support hardware virtualiziaton. However, in some cases it is just related to the Hyper-V being enabled. To disable Hyper-V take a look at this tutorial

Desktop does not appear

This problem can be related to the Vagrant VirtualBox GuestAdditions plugin. If you are not sure if you have it installed and you do not care to keep it installed please delete your Vagrant folders. These are .vagrant in the machinekit-vagrant directory and .vagrant.d in C:\Users\<yourname>\.

3D Acceleration is not working

Well, thats embarrasing. This is a result of a VirtualBox Bug with 64bit Linux guests and will hopefully get fixed in the future. For now just don't enable 3D acceleration and everything should be fine.

Username and password

Using Vagrant you usually don't require a password to use sudo or login. However, in case you need the credentials here the are:

username: vagrant
password: vagrant

machinekit-vagrant's People

Contributors

machinekoder avatar matatasb avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

machinekit-vagrant's Issues

Vagrant Installation Issue: Unmet Dependencies

When installing MachinekitSDK with vagrant up it stops at some point saying
"The following packages have unmet dependencies: virtualbox-guest-x11: Depends: xorg-video-abi-18 but it is not installable"
When trying to apt-get install xserver-xorg-core on the guest to install xorg-video-abi-18, the same problem occurs.

machinekit

So I manually deleted the installation of virtualbox-guest-x11 in the cookbook vbox-guest-additions.sh.
But then it refuses to install machinekit because of missing dependencies too. libzmq3 seems to be one of the culprits that cannot be installed.

Are there bindings that are not updated somehow?

No desktop or QTcreator?

Not sure what I'm doing wrong here but following the tutorial gets me to a tty1 login with no desktop. I thought it was a Virtualbox issue, but I can apt-get install lxde or xfce4 and get a desktop environment with no problem, but I see no trace of any qtcreator or machinekit anything installed.

Box Password?

Hallo.

So I got now jessy running with vagrant from within machinekit-sdk?

But how shall I guess the password?

b

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.