creative

Candle On Ubunt64

아빠 2018.07.18 17:24 조회 수 : 9

Install Candle on Ubuntu 64bit machines.

Candle is GRBL controller application with G-Code visualizer written in Qt. Running on Windows and Linux x86 but can't run on 64bit Operation system. 

 
 
 
Can't run Candle on Ubuntu 17.10 64bit


how to run Candle on 64bit machines.
 
 
 
$ sudo usermod -a -G dialout $USER
$ sudo chown -R $USER:$USER /opt/Candle
  1. Install prerequisite.
     
    $ sudo apt-get install qt5-default qt5-qmake libqt5serialport5-dev gksu make gcc g++ git
  2. Download Candle source code from github
     
    $ git clone https://github.com/Denvi/Candle.git
  3. Compile source.
     
    $ cd Candle/src
    $ qmake
    $ make
     
    Compile Source
  4. Download Candle x86  from github Candle_1.1.7.tar.gz and extract to /opt
     
    $ cd ~/Downloads $ wget https://github.com/Denvi/Candle/releases/download/v1.1/Candle_1.1.7.tar.gz
    $ sudo tar -zxf Candle_1.1.7.tar.gz -C /opt
  5. Copy Candle x64 from compile to /opt/Candle and replace.
     
    $ cd
    $ sudo cp Candle/src/Candle /opt/Candle/
  6. We can check Candle is execute this command. and you can see symbolic link.
     
    $ ldd Candle
  7. Create desktop shortcut on /usr/share/applications/candle.desktop
     
    [Desktop Entry]
    Name=Candle
    GenericName=Candle
    Comment=CNC controller software
    Exec=/opt/Candle/Candle
    Icon=/usr/share/app-install/icons/candle.png
    Terminal=false
    Type=Application
    Categories=Development;Electronics;

    Copy image icons to /usr/share/app-install/icons
     
    $ cd ~/Candle/src
    $ sudo mkdir -p /usr/share/app-install/icons
    $ sudo cp images/candle_256.png /usr/share/app-install/icons/candle.png
  8. Add user to dialout group and change permission files
  9. Run Candle from menu.
     
    Candle in Launcher
     
    Run Candle on Ubuntu 64bit
     

menu