Menu

#961 FLTK Project Template Wizard

Undefined
applied
Patch
2020-05-19
2020-05-05
Huy Pham
No

There is a small bug in wizard script come with the nightly build 4/26/2020 svn 12072... I am attaching the patch here..

1 Attachments

Discussion

  • Teodor Petrov

    Teodor Petrov - 2020-05-05

    What? So the problem is that the fltk files have H for extension instead of h?

     
  • Huy Pham

    Huy Pham - 2020-05-06

    No... the problem is the right parenthesis is at the wrong line....

     
  • Teodor Petrov

    Teodor Petrov - 2020-05-06

    Then why you have changed the extension. Please explain which problem are you fixing exactly.

     
  • Huy Pham

    Huy Pham - 2020-05-06

    Ok... sorry for the messed up...

    The problem is this... old code:

    30: local fltkpath_descr = _T("Please select the location of FLTK on your computer.\n" +
    31:                               "This is the top-level folder where FLTK was installed (unpacked).\n" +
    32:                               "To help you, this folder must contain the subfolders\n" +
    33:                               "\"include\" and \"lib\".\n\n") +
    34:                               "You can also use a global variable, p.e. $(#fl)\n");
    

    line 33... there is a right parenthesis at the end which is misplaced... In the release 20.03... line 34 not existed... someone add that line and forgot to take out the parenthesis at line 33... so the new code would be:

    30: local fltkpath_descr = _T("Please select the location of FLTK on your computer.\n" +
    31:                               "This is the top-level folder where FLTK was installed (unpacked).\n" +
    32:                               "To help you, this folder must contain the subfolders\n" +
    33:                               "\"include\" and \"lib\".\n\n" +
    34:                               "You can also use a global variable, p.e. $(#fl)\n");
    

    I am attaching the new patch file...

     
  • Teodor Petrov

    Teodor Petrov - 2020-05-06

    But what is the error? It doesn't work? I can see that you've moved the parentesis.

    There are reports on the forum that the wizard doesn't work with newer versions of FLTK. Are you able to make a full project with this wizard?

     
  • Huy Pham

    Huy Pham - 2020-05-06

    Yes... I build the latest fltk 1.3.5.. and able to use this script....

    As for the error... without deleting the parenthesis... the script will stop and cannot continue...

     
  • Teodor Petrov

    Teodor Petrov - 2020-05-19
    • labels: FLTK, template --> FLTK, template, Wizard
    • status: open --> applied
    • assigned_to: Teodor Petrov
     

Log in to post a comment.

MongoDB Logo MongoDB