Home » Developing U++ » UppHub » Turtle & Mac
Turtle & Mac [message #56516] |
Sat, 20 March 2021 20:42 |
Novo
Messages: 1358 Registered: December 2006
|
Ultimate Contributor |
|
|
./umk ./Turtle,/Users/ssg/dvlp/cpp/code/upp/git/uppsrc examples/WebHelloWorld CLANG -bus
/Users/ssg/dvlp/cpp/code/upp/git/uppsrc/CtrlLib/CtrlUtil.h:57:7: error: redefinition of 'PrinterJob'
class PrinterJob {
^
/Users/ssg/dvlp/cpp/code/upp/git/uppsrc/VirtualGui/VirtualGui.h:109:7: note: previous definition is here
class PrinterJob { // Dummy only...
^
Regards,
Novo
|
|
|
|
Re: Turtle & Mac [message #57203 is a reply to message #57200] |
Thu, 10 June 2021 23:45 |
Oblivion
Messages: 1093 Registered: August 2007
|
Senior Contributor |
|
|
Hello Novo,
I can't reproduce the error on Linux or on Windows and unfortunately I don't have a Mac to test it.
However, the problem seems to be the conditional definition of PrinterJob in CtrlUtil, which gets defined in MACOS even if virtualgui is enabled.
VirtualGUi based backends so far use the CtrlLib version of PrinterJob, except for Turtle.
So my suggestion (as I don't have write access to CtrlLib) would be adding a "#define VIRTUALGUI_NOPRINTERJOB 1" to Turtle/main.conf file and checking this condition in CtrlLib/CtrlUtil and other relevant places, using ifdefs.
Maybe Mirek or Klugier can check this...
Best regards,
Oblivion
Github page: https://github.com/ismail-yilmaz
upp-components: https://github.com/ismail-yilmaz/upp-components
Bobcat the terminal emulator: https://github.com/ismail-yilmaz/Bobcat
[Updated on: Thu, 10 June 2021 23:56] Report message to a moderator
|
|
|
|
|
Re: Turtle & Mac [message #57241 is a reply to message #57240] |
Tue, 15 June 2021 16:31 |
Novo
Messages: 1358 Registered: December 2006
|
Ultimate Contributor |
|
|
mirek wrote on Tue, 15 June 2021 06:39Hopefully fixed.
It compiles.
Thanks a lot!
Regards,
Novo
|
|
|
Goto Forum:
Current Time: Thu May 02 23:31:58 CEST 2024
Total time taken to generate the page: 0.02817 seconds
|