DO NOT REPLY TO THIS MESSAGE.  INSTEAD, POST ANY RESPONSES TO THE LINK BELOW.

[STR New]

Link: http://www.fltk.org/str.php?L2422
Version: 1.3-current


I've just installed fltk-1.3.x-r7824 (from svn not snapshot) on Linux
and followed the basic instructions in README.Cmake_build except that
I installed into a temporary directory:

    mkdir build
    cd build
    cmake -DCMAKE_INSTALL_PREFIX=/tmp/fltk  ..
    make
    make install

I can compile the following program:

    #include <FL/Fl.H>
    #include <stdio.h>
    int main(int argc, char* argv[])
    {
      int screens = Fl::screen_count();
      printf("number of screens = %d\n", screens);
      return 0;
    }

using the command line:

    g++ -I/tmp/fltk/include \
        -DUSE_X11 -D_THREAD_SAFE -D_REENTRANT -D_FILE_OFFSET_BITS=64 \
        -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE \
        -o 'testing' 'testing.cxx' \
        /tmp/fltk/lib/libfltk.a -lX11 -lpthread -lXinerama -lXft -lXext

This links without problem and the program confirms I have one screen.

It works for me, so can you provide more information on your problem?


Link: http://www.fltk.org/str.php?L2422
Version: 1.3-current

_______________________________________________
fltk-bugs mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk-bugs

Reply via email to