Menu

undefined references when compiling FLTK proj

2003-01-02
2012-09-26
  • Nobody/Anonymous

    I am using Dev-C++ 4.9.7.1 and FLTK 1.1.2
    when compiling the template project I am getting error messages like

    [Linker error] undefined reference to `Fl_Window::Fl_Window(int, int, char const *)'

    for all the library calls.

    have checked the inclusion of libraries in the project option settings, seems to be O.K.

    any idea?

     
    • Anonymous

      Anonymous - 2003-01-02

      I have yet to find one Dev-C++ package that works out-of-thr-box with this version. The problem is the MinGW/GCC v3.2 compiler. I managed to get WINBGIM (BGI clone console mode graphics) working by re-building from the sourcecode. I had to declare "using std namespace", and fix some other warnings an errors.

      I am working on porting wxWindows, which is causing more problems that WINBGIM. I have not yet looked at FLTK.

      In the mean-time, you could try replacing the MinGW compiler with an earlier version; ( or adding it as an alternate - Dev-C++ will support multiple compilers I think). Alternatively replace the whole Dec-C++ with an earlier release.

       
    • Anonymous

      Anonymous - 2003-01-02

      thanks a lot for the quick answer Clifford

      Christof

       

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.