> Well if I echo it than it just returns "fltk-config > --use-images -ldstaticflags".
What shell are you running this in? Are you using Msys? (You should be, it is way better than a DOS box.) Anyway, maybe you have the wrong type of quote marks around the string, so that it is not being expanded correctly. Recall that in a posix-like shell, the three different quote-marks mean quite different things. In this case, to get the fltk-config call evaluated, you need to be using single-back-ticks (I don't know what the proper name for these is, but this symbol: ` Here's what I get in an Msys shell: $ FL_TEST=`fltk-config --use-images --ldstaticflags` $ echo $FL_TEST -mwindows -L/usr/local/lib -mno-cygwin /usr/local/lib/libfltk_images.a -lpng -lz -ljpeg /usr/local/lib/libfltk.a -lole32 -luuid -lcomctl32 -lwsock32 Which, as you can see, has worked as desired. > And I have the location of fltk-config in my PATH. OK - what does which fltk-config return then? SELEX Galileo Ltd Registered Office: Sigma House, Christopher Martin Road, Basildon, Essex SS14 3EL A company registered in England & Wales. Company no. 02426132 ******************************************************************** This email and any attachments are confidential to the intended recipient and may also be privileged. If you are not the intended recipient please delete it from your system and notify the sender. You should not copy it or use it for any purpose nor disclose or distribute its contents to any other person. ******************************************************************** _______________________________________________ fltk mailing list [email protected] http://lists.easysw.com/mailman/listinfo/fltk

