> I found another forum that you have contributed to on a very > similar theme, and you gave the advice of trying: > g++ -o hello hello.cxx `fltk(2)-config --cxxflags --ldflags` > In code::blocks there is a Linker Options box that had: > 'fltk-config --ldstaticflags' > So i replaced that with your suggestion (minus the "(2)", and it > compiles and runs happily. Here in Australia there is saying: > "If it aint broke don't fix it." > > So I'll leave it at that.
What you could do to help those who come after you, is to document what a Code::Blocks user needs to do to link an FLTK application. You could either do this here as a normal posting, or an Article&FAQ, or you could do it on the Code::Blocks wiki (and provide a link here) to go with: http://wiki.codeblocks.org/index.php?title=User_documentation#Third-party_libraries http://wiki.codeblocks.org/index.php?title=FAQ#Q:_I_would_like_to_compile_a_project_using_some_non-standard_libraries._How_can_I_indicate_to_CodeBlocks_that_these_libraries_and_include_files_exist.3F _______________________________________________ fltk mailing list [email protected] http://lists.easysw.com/mailman/listinfo/fltk

