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

[STR New]

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


I installed fltk-1.3.x-r7824 into a temporary directory, and then
set the installation prefix to a "non-standard" location:

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

If I then try to compile a program:

    fltk-config --compile testing.cxx

then the compilation fails because the relevant -I is missing:

    g++ -I \
        -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

instead of:

    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


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

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

Reply via email to