Comments (33)
I think it's possible.
But I haven't Mac, sorry.
from candle.
you think I could try to do? knowing that I have no knowledge on the subject?
from candle.
Why not?
- Download Qt for OS X from here: http://download.qt.io/official_releases/qt/5.5/5.5.1/qt-opensource-mac-x64-clang-5.5.1.dmg.mirrorlist
- Install Qt.
- Download source code of grblControl.
- Start Qt Creator and open "grbl_control.pro" project file from "src" directory of sources.
- Build grblControl (look for image bellow).
- Post any compiling errors here.
from candle.
from candle.
Try to replace "std::isnan" with "qIsNaN" in whole project.
Update: also "NAN" macro with "qQNaN()"
from candle.
after changes
from candle.
#include <math.h> to top of interpolation.h
from candle.
from candle.
If replace <math.h> with ?
from candle.
from candle.
Sure using ? not <cmath.h>.
from candle.
from candle.
Remove
#include "math.h"
from "gcodedrawer.cpp" source file. Or replace with #include if failed to compile.
from candle.
from candle.
Think need to repeat previous step for these files:
tooldrawer.cpp
gcodeparser.cpp
gcodepreprocessorutils.cpp
In "heightmapgriddrawer.cpp" line 32 looks the same as:
if (m_model == NULL || qIsNaN(m_model->data(m_model->index(i, j), Qt::UserRole).toDouble())) {
?
from candle.
for "heightmapgriddrawer.cpp" line 50 and 64 also ?
from candle.
Lines 50 & 64 should also have "qIsNaN". Looks like you have "std::isnan" for now.
Select "Current project", string to find "std::isnan", check "Case sensitive" and press "Find and replace" button:
Enter "Replace to": "qIsNaN" and press "Replace" button:
from candle.
from candle.
It's easy, just repeat previous step to replace "NAN" with "qQNaN()"
from candle.
successful compilation
from candle.
How about pressing big green triangle to try start?
from candle.
the program starts without problems !!!!!
I just connect the milling machine,
it connects.
little problem:
in preferences: colors are all black.
but I can change them manually
from candle.
Need to apply "Default settings" after first start to get normal colors.
from candle.
it is good with to apply "Default settings".
Now i go test command machine manually.
from candle.
THE MACHINE MOOOOOOVE is too good
from candle.
what should he do now?
to install on the Mac.
from candle.
You should use "macdeployqt" util from "QTDIR/bin/" folder to get .dmg file.
Open terminal, change directory to grbl_control build folder with "cd" command (it should be above sources like this one: "build-grbl_control-Desktop_Qt_5_4_2_MinGW_32bit-Release")
cd path_to_grbl_control.app
Then:
$QTDIR/bin/macdeployqt grbl_control.app -dmg
I beleive it will create .dmg file in build directory.
But i don't know what to do with settings file & translations for now.
from candle.
it is complicated for me ....
I look at all this in one hour
from candle.
Ok i understand for create a .dmg
but when i run .dmg i have error
"Dyld Error Message:
Library not loaded: @rpath/QtOpenGL.framework/Versions/5/QtOpenGL
Referenced from: /Applications/grbl_control.app/Contents/MacOS/grbl_control
Reason: image not found"
from candle.
May be change "grbl_control.pro" file:
unix: {
DEFINES += UNIX #GL_GLEXT_PROTOTYPES
QMAKE_LFLAGS += "-Wl,-rpath,\'\$$ORIGIN/libs\'"
}
to
unix:!macx {
DEFINES += UNIX #GL_GLEXT_PROTOTYPES
QMAKE_LFLAGS += "-Wl,-rpath,\'\$$ORIGIN/libs\'"
}
will help.
How about just run "grbl_control.app"? Or rebuild, run "macdeployqt" without "-dmg" flag and start "grbl_control.app".
from candle.
grbl_control.app works.
I still tried to do the .dmg but without success.
Thank you anyway.
from candle.
When I disconnect the USB computer "grbl control" crash.
from candle.
Fixed in one of the latest commits.
from candle.
Related Issues (20)
- autosave
- Is the project alive? HOT 7
- Need help to build Experimental Version for Windows 10 using Qt Creator HOT 3
- Z Probe for height map for 4 axis controller issue HOT 7
- error: redefinition of ‘struct QMetaTypeId<QSocketNotifier::Type>’ HOT 4
- cmd Script when work ends
- Problem with the heightmap data HOT 16
- Can compile Candle but no button images at runtime on other machine HOT 1
- Visualizer not showing progress HOT 11
- Probe not working with Height Map and just crashing into the bed? HOT 3
- visualisation issue with black window and refresh issue HOT 9
- Candle with 2418 cnc HOT 1
- Adding HeightMap to nc code occassionally drops the G01 command at the start of a line HOT 1
- Descriptions of user commands show in Cyrillic
- User buttons.
- 스핀들 모터 작동 안되요 CNC3018Pro
- Heightmap process seems to gradually lower Z flying height during processing until bit touches PCB during XY-move HOT 4
- Hi Max, I tested your two lines of code, and got z-depth readings that stayed within 1 micron of the 1st reading over a set of 10 readings - which is a great result! HOT 1
- Spindle rotation speed problem while using cnc3018 pro HOT 1
- Grbl Candle tool path problems HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from candle.