problem about fltk-Record and share programming errors


  • Conor Ryan
    c++ mingw fltk
    I installed FLTK via the msys commandline for MinGW. It all seemed to work fine but

  • qpingu
    c++ windows opengl linker-error fltk
    I have this assignment due that requires the usage of FLTK. The code is given to us and it should compile straight off of the bat, but I am having linking errors and do not know which other libraries I need to include.I currently have “opengl32”, “fltk_gl”, “glu32”, and “fltk” included (-l), each of which seem to reduce the number of errors. I compiled FLTK using make with no specified options. Including all of the produced library files doesn’t fix the problem, and I’m convinced that it’s just some

  • Yao
    c++ cmake fltk
    I update my FLTK from 1.1 to 1.3, then I can’t compile my code which is worked well before update….[100%] Building CXX object CMakeFiles/PROSTVIEW.dir/include/nifti/vtkznzlib.cxx.oLinking CXX executable PROSTVIEW/usr/local/lib/libfltk.a(fl_font.cxx.o): In function `fontopen(char const*, int, bool, int)’:fl_font.cxx:(.text+0x298): undefined reference to `FcPatternCreate’fl_font.cxx:(.text+0x362): undefined reference to `FcPatternAddString’fl_font.cxx:(.text+0x3e3): undefined reference to `FcPatternAddString’fl_font.cxx:(.text+0x3f7): undefined reference to `FcPatternAddInteger’fl_font.cxx:(.text+0x40b): undefined reference to `FcPatternAddInteger’fl_font.cxx:(.text+0x424): undefined reference to `FcPatternAddDouble’fl_font.cxx:(.text+0x43c): undefined reference to `FcPatternAddString’fl_font.cxx:(.text+0x4df): undefined reference to `FcMatrixRotate’fl_font.cxx:(.text+0x4f7): undefined reference to `FcPatternAddMatrix’fl_font.cxx:(.text+0x516): undefined reference to `FcPatternAddBool’fl_font.cxx:(.text+0x52c): undefined reference to `FcPatternAddBool’fl_font.cxx:(.text+0x549): undefined reference to `XftFontMatch’fl_font.cxx:(.text+0x5a0): undefined reference to `XftFontOpen’fl_font.cxx:(.text+0x5b0): undefined reference to `FcPatternDestroy’fl_font.cxx:(.text+0x5f3): undefined reference to `XftFontOpenPattern’fl_font.cxx:(.text+0x603): undefined reference to `FcPatternDestroy’fl_font.cxx:(.text+0x659): undefined reference to `XftFontOpenXlfd’/usr/local/lib/libfltk.a(fl_font.cxx.o): In function `utf8extents(Fl_Font_Descriptor*, char const*, int, _XGlyphInfo*)’:fl_font.cxx:(.text+0x84b): undefined reference to `XftTextExtents32’/usr/local/lib/libfltk.a(fl_font.cxx.o): In function `fl_xft_width(F

  • Chris Schmich
    c++ gcc image-processing computer-vision fltk
    I’m trying to set up a library for histograms of oriented gradients called fastHOG on my Ubuntu 12.04 computer. When I try to compile the off-the-shelf fastHOG code, the compiler complains that it can’t find fltk/run.h. According to Rahul Ashok’s tutorial about fastHOG, I need to install Fast Light Toolkit (FLTK) 2.0. The tutorial says that FLTK versions other than 2.0 do not work. So, I’m trying to compile FLTK 2.0 (svn co http://svn.easysw.com/public/fltk/fltk/trunk fltk-2.0). When I do make in the fltk-2.0 folder, I get errors like undefined reference to ‘FcInit’. Any advice for how to get FLTK 2.0 to compile properly?Here’s the full error printout that I get when building FLTK 2.0 with g++ 4.6.3 on Ubuntu 12.04:… Linking fluid2… ../lib/libfltk2.a(Font.o):Font.cxx:function fltk::list_fonts(fltk::Font**&): error: undefined reference to ‘FcInit’ ../lib/libfltk2.a(Font.o):Font.cxx:function fltk::list_fonts(fltk::Font**

  • VonC
    eclipse opengl build-process linker-error fltk
    I am having trouble getting set up with FLTK in Eclipse. I am trying to create an OpenGL window with the following code (which I found here):#include #include #include // // Simple resizable 2D GL window // erco 10/08/05 // class MyGlWindow : public Fl_Gl_Window {// DRAW METHOD// OpenGL window: (w,h) is upper right, (-w,-h) is lower left, (0,0) is center//void draw() {// First time? init viewport, etc.if (!valid()) {valid(1);glLoadIdentity();glViewport(0,0,w(),h()

  • Richard
    c++ visual-studio-2010 shell g++ fltk
    I have an FLTK project that I finished in visual studios and it compiles absolutely fine. But when I use g++ to compile it it gives me this error:Undefined first referencedsymbol in file

  • bubbagump00
    xcode architecture linker undefined fltk
    Hi, I am using Xcode 4 and trying to set up FLTK 1.3.0 to run BjarneStroustrup’s Chapter 12 FLTK Demo at the end of the chapter. I keepgetting the following error when compiling, and have no i

Originally posted 2013-08-31 06:52:28.