Menu

DEV-CPP and FLTK?

Anonymous
2002-12-05
2012-09-26
  • Anonymous

    Anonymous - 2002-12-05

    Has anybody been able to compile and link a program using the FLTK package for Dev-C++?

    I have been trying for about a week to build the sample program that comes with the FLTK documentation.  I've tried Dev-C++ version4.9.6.9 and also the new version 4.9.7.0.  I've tried GCC3.2 and also the older version of GCC.  I've added various directories and includes and libraries to the options.  Nothing has worked for me.

    It compiles but won't link.

    There are 11 linker errors, all of which follow the pattern:
    "hello_fltk.o(.text+0x8f):hello_fltk.cpp: undefined reference to 'Fl_Window::Fl_Window(int,int,char const *)' "

    Does anyone have any suggestions?  I have a theory about what might be happening, but I am too new at this game to be willing to post it until I've heard from people more knowledgable than I.

                  Sherm

     
    • Curtis Sutter

      Curtis Sutter - 2002-12-05

      Did you create a FLTK project?  Give that a try.

      Curtis

       
    • Anonymous

      Anonymous - 2002-12-05

      Thanks for quick response.
      yes, I am working from a Dev-C++ project, and I have added the library command "-lfltk" and an "L" to the library directory.  Unfortunately, it's not quite that simple.
                        Sherm

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.