Re: [fltk.bugs] Permission to translate your page at http://fltk.org/

2013-03-13 Thread Anja Skrba
Dear Sir, 2 weeks ago I have asked for your permision to translate your web page and I didn’t hear any from you since. I really think that is important to connect ex Yugoslavian people with the information that I ‘ve found on your web page. I hope that you will find time to review it,it would

[fltk.general] Linker problem with Fl_Output

2013-03-13 Thread Mirko D . Comparetti
Dear all, I did the following small test program and I'm experiencing a strange behavior: - - - - 8 - - - - 8 - - - - 8 - - - - 8 - - - - 8 - - - - //main.cpp #include FL/Fl.H #include FL/Fl_Window.H #include FL/Fl_Input.H #include FL/Fl_Output.H int main() { Fl_Window win(400, 600,

Re: [fltk.general] Linker problem with Fl_Output

2013-03-13 Thread Albrecht Schlosser
On 13.03.2013 10:32, Mirko D. Comparetti wrote: ... If I issue an fltk-config --compile main.cpp everything works and I get the working executable file. If I create this cmake file: - - - - 8 - - - - 8 - - - - 8 - - - - 8 - - - - 8 - - - - #CMakeList.txt cmake_minimum_required(VERSION

Re: [fltk.general] Linker problem with Fl_Output

2013-03-13 Thread Edzard Egberts
#includeFL/Fl.H #includeFL/Fl_Window.H #includeFL/Fl_Input.H #includeFL/Fl_Output.H int main() { Fl_Window win(400, 600, TestWindow); win.begin(); Fl_Output test(50, 50, 300, 500, Test); This is wrong, you must create widgets dynamically when inserting them to a

Re: [fltk.general] Linker problem with Fl_Output

2013-03-13 Thread Mirko D . Comparetti
On 13.03.2013 10:50, Albrecht Schlosser wrote: [...] Please read the file README.CMake.txt, particularly the part about using FLTK with CMake. If you know how to work with CMake, you should understand what you need, but I can't say what it is. I can only guess that $(FLTK_LINKLIBRARIES) is

Re: [fltk.general] Linker problem with Fl_Output

2013-03-13 Thread Greg Ercolano
On 03/13/13 03:24, Edzard Egberts wrote: #includeFL/Fl.H #includeFL/Fl_Window.H #includeFL/Fl_Input.H #includeFL/Fl_Output.H int main() { Fl_Window win(400, 600, TestWindow); win.begin(); Fl_Output test(50, 50, 300, 500, Test); This is wrong, you must create widgets

Re: [fltk.general] Linker problem with Fl_Output

2013-03-13 Thread Mirko D . Comparetti
#includeFL/Fl.H #includeFL/Fl_Window.H #includeFL/Fl_Input.H #includeFL/Fl_Output.H int main() { Fl_Window win(400, 600, TestWindow); win.begin(); Fl_Output test(50, 50, 300, 500, Test); This is wrong, you must create widgets dynamically when inserting them

Re: [fltk.general] Linker problem with Fl_Output

2013-03-13 Thread Albrecht Schlosser
On 13.03.2013 11:59, Mirko D. Comparetti wrote: The strange thing is that if I change Output in Input (...), it works perfectly. Okay, now we're coming closer, and now we REALLY need your build environment and your FLTK version! Let me guess: (1) you're linking against the shared libs of

Re: [fltk.general] Linker problem with Fl_Output

2013-03-13 Thread Greg Ercolano
On 03/13/13 03:59, Mirko D. Comparetti wrote: The strange thing is that if I change Output in Input (in the non-pointer solution), it works perfectly. Sounds like when you get that error, the Makefile target isn't linking in libfltk.a (or -l fltk) I don't know cmake

Re: [fltk.general] Linker problem with Fl_Output

2013-03-13 Thread Greg Ercolano
On 03/13/13 04:28, Greg Ercolano wrote: Almost positive though that the error you're seeing is because its not linking in liblftk.a (or using -l fltk). Unless it's what Albrecht mentioned about linking dynamically.. something I almost never do.

[fltk.general] fl_alert

2013-03-13 Thread Richard Sanders
fl_alert seems to crash when supplied with a format field and the required parameters. I used the exact same as sprintf (that does not crash). This is for win64 and mingw64 with FLTK-1.3.2 (all compiled 64 bit). I have not tried in Linux or win32. This is not really bothersome because passing

Re: [fltk.general] fl_alert

2013-03-13 Thread Greg Ercolano
On 03/13/13 14:35, Richard Sanders wrote: fl_alert seems to crash when supplied with a format field and the required parameters. I used the exact same as sprintf (that does not crash). This is for win64 and mingw64 with FLTK-1.3.2 (all compiled 64 bit). I have not tried in Linux or win32.

Re: [fltk.general] Duplicating a widget on multiple pages

2013-03-13 Thread Greg Ercolano
On 03/06/13 10:26, Greg Ercolano wrote: On 03/06/13 09:47, Greg Ercolano wrote: I could make an example, but thinking the above might get you in the right direction. I lied. Made one anyway; wanted to see it work. Implemented pretty much exactly as described.. BTW, added

Re: [fltk.general] fl_alert

2013-03-13 Thread Greg Ercolano
On 03/13/13 15:06, Greg Ercolano wrote: On 03/13/13 14:35, Richard Sanders wrote: fl_alert seems to crash when supplied with a format field and the required parameters. I used the exact same as sprintf (that does not crash). This is for win64 and mingw64 with FLTK-1.3.2 (all compiled 64

Re: [fltk.general] fl_alert

2013-03-13 Thread Richard Sanders
On Wed, 13 Mar 2013 16:54:56 -0700, Greg Ercolano e...@seriss.com wrote: BTW, does the FLTK test program message work for you? If you recently built FLTK, run it.. the second dialog (which starts with Quantum fluctuations) uses fl_alert() with %g as part of its format