I was compiling HeeksCNC as explained here:
https://code.google.com/p/heekscnc/wiki/DebianPackagesBuild
But when compiling it fails with this error message:
HeeksCNC.cpp:1402:46: error: operands to ?: have different types "wchar_t*" and "wxString"
I fixed it casting with (wxString):
$ vi src/HeeksCNC.cpp From: filename = (wxGetenv(wxT("XDG_CONFIG_HOME"))?wxGetenv(wxT("XDG_CONFIG_HOME")):wxFileName::GetHomeDir() + wxT("/.config")) + wxT("/heekscnc/") + resource; To: filename = (wxGetenv(wxT("XDG_CONFIG_HOME"))? (wxString) wxGetenv(wxT("XDG_CONFIG_HOME")):wxFileName::GetHomeDir() + wxT("/.config")) + wxT("/heekscnc/") + resource;
Now it compiles fine!