Can't get compile to find the libfltk library, keep getting this error: checking for fl_yes in -lfltk... no configure: error: fltk library required get it at http://www.fltk.org
I've checked and rechecked for the library and made sure the path to it is visible in /etc/ld.so.conf Tried doing export LD_LIBRARY_PATH=/usr/local/lib/libfltk:${LD_LIBRARY_PATH} But no joy. Starting to wonder if the fl_yes is missing from the lib. Any ideas? Looking further I see in the configure script: <<quote>> echo "$as_me:$LINENO: checking for fl_yes in -lfltk" >&5 echo $ECHO_N "checking for fl_yes in -lfltk... $ECHO_C" >&6 if test "${ac_cv_lib_fltk_fl_yes+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else ac_check_lib_save_LIBS=$LIBS LIBS="-lfltk $LIBS" <<end quote>> Now looking through the fltk sources it appears the fl_yes is deprecated for GCC > 3: <<quote>> # ifdef __GNUC__ # define __fl_attr(x) __attribute__ (x) # if __GNUC__ < 3 # define __deprecated__ # endif // __GNUC__ < 3 # else # define __fl_attr(x) # endif // __GNUC__ FL_EXPORT void fl_beep(int type = FL_BEEP_DEFAULT); FL_EXPORT void fl_message(const char *,...) __fl_attr((__format__ (__printf__, 1, 2))); FL_EXPORT void fl_alert(const char *,...) __fl_attr((__format__ (__printf__, 1, 2))); // fl_ask() is deprecated since it uses "Yes" and "No" for the buttons, // which does not conform to the current FLTK Human Interface Guidelines. // Use fl_choice() instead with the appropriate verbs instead. FL_EXPORT int fl_ask(const char *,...) __fl_attr((__format__ (__printf__, 1, 2), __deprecated__)); FL_EXPORT int fl_choice(const char *q,const char *b0,const char *b1,const char *b2,...) __fl_attr((__format__ (__printf__, 1, 5))); <<end quote>> TIA Craig ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Flightgear-devel mailing list Flightgear-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-devel