Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Linux compiling steps/instructions? #147

Open
Nandox7 opened this issue May 15, 2017 · 7 comments
Open

Linux compiling steps/instructions? #147

Nandox7 opened this issue May 15, 2017 · 7 comments

Comments

@Nandox7
Copy link

Nandox7 commented May 15, 2017

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
Copy link

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

Thanks!

@Nandox7
Copy link
Author

Nandox7 commented May 16, 2017

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
Copy link

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
Copy link

guillaumepicquet commented Dec 8, 2017

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.

@novel-yet-trivial
Copy link

@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
Copy link

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

@evgen48
Copy link

evgen48 commented Apr 25, 2022

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants