Did you do that?:
Right-click on the project name and select Properties. Locate Configuration Properties > Linker > Input > Additional Dependencies and add the following: fltkd.lib fltkjpegd.lib fltkimagesd.lib wsock32.lib comctl32.lib (that's a lower-case "L" before the "32") Under Ignore Specific Library, add libcd.lib. Locate Configuration Properties > C/C++ > General > Additional Include Directories and add C:\"Your Path"\FLTK. I use VS 2005(VC 8.0). Maybe it can be a little different for you, but I think you will find something like that. --- Em sáb, 14/2/09, [email protected] <[email protected]> escreveu: De: [email protected] <[email protected]> Assunto: fltk Digest, Vol 61, Issue 26 Para: [email protected] Data: Sábado, 14 de Fevereiro de 2009, 18:00 Send fltk mailing list submissions to [email protected] To subscribe or unsubscribe via the World Wide Web, visit http://lists.easysw.com/mailman/listinfo/fltk or, via email, send a message with subject or body 'help' to [email protected] You can reach the person managing the list at [email protected] When replying, please edit your Subject line so it is more specific than "Re: Contents of fltk digest..." Today's Topics: 1. Help: my fltk program is not working in vc6.0 (Owen) 2. Re: Help: my fltk program is not working in vc6.0 (Greg Ercolano) 3. Re: Help: my fltk program is not working in vc6.0 (Greg Ercolano) ---------------------------------------------------------------------- Message: 1 Date: Fri, 13 Feb 2009 21:08:21 -0800 From: Owen <[email protected]> Subject: [fltk.general] Help: my fltk program is not working in vc6.0 To: [email protected] Message-ID: <[email protected]> I installed fltk in vc6.0 by building project fltk.dsw. Building was a success. But when I compiled my own project whose source file was #include <FL/Fl.H> #include <FL/Fl_Window.H> #include <FL/Fl_Button.H> int main(int argc, char *argv[]) { Fl_Window* w = new Fl_Window(330, 190); new Fl_Button(110, 130, 100, 35, "Okay"); w->end(); w->show(argc, argv); return Fl::run(); } an error popped up: Fatal error C1083: Cannot open include file: 'FL/Fl.H': No such file or directory Error executing cl.exe. But I swa Fl.H was under C:\fltk-1.1.9\FL. What is the problem? Help me. Thanks. ------------------------------ Message: 2 Date: Fri, 13 Feb 2009 21:13:43 -0800 From: Greg Ercolano <[email protected]> Subject: Re: [fltk.general] Help: my fltk program is not working in vc6.0 To: [email protected] Message-ID: <[email protected]> Content-Type: text/plain; charset=ISO-8859-1 Owen wrote: > Fatal error C1083: Cannot open include file: 'FL/Fl.H': No such file or directory > Error executing cl.exe. > > But I swa Fl.H was under C:\fltk-1.1.9\FL. What is the problem? Help me. Thanks. Make sure you have "/Ic:\fltk-1.1.9" as one of your compile flags. (And be sure it's *not* "/Ic:\fltk-1.1.9\FL") ------------------------------ Message: 3 Date: Fri, 13 Feb 2009 22:39:49 -0800 From: Greg Ercolano <[email protected]> Subject: Re: [fltk.general] Help: my fltk program is not working in vc6.0 To: [email protected] Message-ID: <[email protected]> Content-Type: text/plain; charset=ISO-8859-1 Greg Ercolano wrote: > Owen wrote: >> Fatal error C1083: Cannot open include file: 'FL/Fl.H': No such file or directory >> Error executing cl.exe. >> >> But I swa Fl.H was under C:\fltk-1.1.9\FL. What is the problem? Help me. Thanks. > > Make sure you have "/Ic:\fltk-1.1.9" as one of your compile flags. (And > be sure it's *not* "/Ic:\fltk-1.1.9\FL") BTW, predicting you're probably going to encounter different errors when you fix that, I'd suggest picking one of the FLTK test programs most like your app, and have VS rebuild /just/ that test app, then look at the build log to see what CL and LINK flags were used, and compare them to your own. ------------------------------ _______________________________________________ fltk mailing list [email protected] http://lists.easysw.com/mailman/listinfo/fltk End of fltk Digest, Vol 61, Issue 26 ************************************ Veja quais são os assuntos do momento no Yahoo! +Buscados http://br.maisbuscados.yahoo.com _______________________________________________ fltk mailing list [email protected] http://lists.easysw.com/mailman/listinfo/fltk

