|
|
Thank you, Greg!!
I really appreciate your quick reply and helpful response.
I will give it a try and I am sure it will work fine. And it is very reassuring to read that it won't affect the build or the other test demos.
Thanks again for your help!
On November 24, 2022, at 11:31 PM, Greg Ercolano <erco@seriss.com> wrote:
On 11/24/22 23:05, Stephen Zuniga wrote:
Hi everyone, thanks for your discussion. I came across Ben's
question because I am having the same issue with Visual Studio
2022 and FLTK 1.3.8. I am attaching the same 2 errors at the same
line discussed above.
Hi Stephen,
Welcome to fltk!
You can seriously just ignore the error, as it's just one of the
test demo programs that fails
to build, and won't affect your using the library or running the
other test demos.
But if you want to fix the 1.3.8 version you have, just find
these three lines
at the top of the test/resizebox.cxx file:
#define
W1 (big ? 60 : 40)
#define B 0
#define W3
(5*W1+6*B)
..and move them below all the #include lines, so
those three lines appear here instead:
...
#include <FL/Fl.H>
#include <FL/Fl_Double_Window.H>
#include <FL/Fl_Box.H>
#include <FL/Fl_Radio_Button.H>
#include <FL/fl_draw.H>
#include <FL/fl_message.H>
#define W1 (big ? 60 : 40)
#define B 0
#define W3 (5*W1+6*B)
Fl_Double_Window *window;
Fl_Box *box;
...
That will solve that build error.
--
You received this message because you are subscribed to the Google Groups "fltk.general" group.
To unsubscribe from this group and stop receiving emails from it, send an email to fltkgeneral+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/fltkgeneral/4c412c3b-303e-418d-0390-9b3914a9872e%40seriss.com.
--
You received this message because you are subscribed to the Google Groups "fltk.general" group.
To unsubscribe from this group and stop receiving emails from it, send an email to fltkgeneral+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/fltkgeneral/w9mbu6qief79873jhsppi405.1669365385411%40email.android.com.
[ Direct Link to Message ] | |
|
| |