Candle icon indicating copy to clipboard operation
Candle copied to clipboard

Linux compiling steps/instructions?

Open Nandox7 opened this issue 7 years ago • 7 comments

I was trying to be able to compile the source to test some changes, but I the current master branch or even the grbl_1_1 don't produce the same version as the one shared in the releases, for example the continuously jog movement is not present and the probe option does not work.

Am I missing something here?

PS: I see these instructions are missing in the wiki, I'll be glad to help and add them if there is any interest.

Nandox7 avatar May 15 '17 14:05 Nandox7

Hi There. I would love to build form source on Windows. Do you have any instructions or step-by-step?

Thanks!

MockbaTheBorg avatar May 16 '17 14:05 MockbaTheBorg

So far what I've gathered is that you need to install QTCreator from QT. https://www.qt.io/download-open-source/

Latest version do already bring the SerialPort library included so no need to install it. For windows I'm not sure as I haven't tried, but for linux there is some extra steps needed due to missing libraries.

After having QTCreator installed open with it the candle.pro file inside the src/ folder. If all libraries are in place it should compile/run directly.

Nandox7 avatar May 16 '17 14:05 Nandox7

I was able to build application on macOS using two simple steps:

  1. running qmake inside src folder;
  2. then running make.

qt 5.8.0

bazhenov avatar May 19 '17 13:05 bazhenov

To build last version:

  • Install QT5 & requirements sudo apt-get install g++ qt5-default qttools5-dev-tools libqt5serialport5-dev libqt5opengl5-dev
  • Clone Candle and switch to GRBL 1.1 branch git clone https://github.com/Denvi/Candle.git cd Candle git checkout grbl_1_1
  • Run Qmake cd src qmake
  • Build with the generated Makefile make ./Candle

All colors default to black so I changed the settings to fix.

guillaumepicquet avatar Dec 08 '17 09:12 guillaumepicquet

@guillaumepicquet Thanks so much but you left a few things off of your install step. I had to use

sudo apt-get install qt5-default qttools5-dev-tools libqt5serialport5-dev g++ libqt5opengl5-dev

novel-yet-trivial avatar Aug 06 '18 04:08 novel-yet-trivial

@novel-yet-trivial Thanks for for the info, answer updated.

guillaumepicquet avatar Aug 15 '18 07:08 guillaumepicquet

All colors default to black so I changed the settings to fix.

thank you so much, after compiling qt creator my self, and fixing lots of qt6 related issues in candle source code, i've got those black gl widget, i thought something is failing, however there just colors were defaulted to black, switching background to white fixed all issues.

evgen48 avatar Apr 25 '22 12:04 evgen48