Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
fltk based applications
03-28-2014, 10:07 AM
Post: #41
RE: fltk based applications
I experience FTBFS against fltk 1.3.0 here:

Code:
In file included from My_Text_Editor.h:32,
                 from extras.h:37,
                 from globals.h:42,
                 from editor.cpp:74:
My_Text_Display.h:38: error: base `Fl_Text_Display' with only non-default constructor in class without a constructor
In file included from extras.h:37,
                 from globals.h:42,
                 from editor.cpp:74:
My_Text_Editor.h:38: error: base `Fl_Text_Editor' with only non-default constructor in class without a constructor
make: *** [editor.o] Error 1
Visit this user's website Find all posts by this user
Quote this message in a reply
03-28-2014, 12:20 PM (This post was last modified: 03-28-2014 05:18 PM by george53.)
Post: #42
RE: fltk based applications
I think I had the same problem with Mingw and just added an empty constructor for each. This is what you have to add in My_Text_Display.h and My_Text_Editor.h.


class FL_EXPORT My_Text_Display: public Fl_Text_Display {
public:
My_Text_Display();
friend class My_Text_Editor;

class FL_EXPORT My_Text_Editor : public Fl_Text_Editor {
public:
My_Text_Editor();
Find all posts by this user
Quote this message in a reply
03-31-2014, 08:40 PM
Post: #43
RE: fltk based applications
(03-28-2014 12:20 PM)george53 Wrote:  I think I had the same problem with Mingw and just added an empty constructor for each. This is what you have to add in My_Text_Display.h and My_Text_Editor.h.


class FL_EXPORT My_Text_Display: public Fl_Text_Display {
public:
My_Text_Display();
friend class My_Text_Editor;

class FL_EXPORT My_Text_Editor : public Fl_Text_Editor {
public:
My_Text_Editor();

Yeah, that helped. I also had to patch Makefile to exclude '-lXinerama' as the lib is not present in the DeLi(cate) repo and apparently not needed by the code.
Visit this user's website Find all posts by this user
Quote this message in a reply
03-31-2014, 10:20 PM
Post: #44
RE: fltk based applications
It depends whether fltk was compiled with Xinerama support. If the distribution provides fltk libraries in its repo like this -lXinerama is required.

FlDev does not need it.
Find all posts by this user
Quote this message in a reply
04-01-2014, 09:05 PM
Post: #45
RE: fltk based applications
I just finished the first Windows version of FlDev. If you have a chance please test it and tell me if it works for you. There is a readme.win file which explains the additions for this version.

Georg
Find all posts by this user
Quote this message in a reply
04-06-2014, 01:15 PM
Post: #46
RE: fltk based applications
(04-01-2014 09:05 PM)george53 Wrote:  I just finished the first Windows version of FlDev. If you have a chance please test it and tell me if it works for you. There is a readme.win file which explains the additions for this version.

Georg

Sorry, I erased Windows from all my computers approximately 8 years ago. Maybe someone else could test.
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)

Contact Us | DeLi(cate) Linux | Return to Top | Return to Content | Lite (Archive) Mode | RSS Syndication