Denvi / Candle

GRBL controller application with G-Code visualizer written in Qt.
GNU General Public License v3.0
1.37k stars 548 forks source link

Linux compiling steps/instructions? #147

Open Nandox7 opened 7 years ago

Nandox7 commented 7 years ago

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.

MockbaTheBorg commented 7 years ago

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

Thanks!

Nandox7 commented 7 years ago

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.

bazhenov commented 7 years ago

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

guillaumepicquet commented 6 years ago

To build last version:

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

novel-yet-trivial commented 6 years ago

@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
guillaumepicquet commented 6 years ago

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

evgen48 commented 2 years ago

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.