huda wrote:
> I changed this is in my library
> Project->Settings->Link->Category->Input->Object/Library modules
> 
>>>>>>>>   insert: C:/FLTK/lib/fltkd.lib C:/FLTK/lib/fltkgld.lib 
>>>>>>>> C:/FLTK/lib/fltkimagesd.lib C:/FLTK/lib/fltkformsd.lib wsock32.lib

        Good if it works for you.
        The flags will be different for everyone, since there's no
        standard place for FLTK to reside, and many of the VS compilers
        and FLTK versions differ in their flags from rev to rev.

> FLTK1 for cPP and FLTK2 for cxx or am wrong???
> And when i should write fltk in cPP or in cxx???can you explain more

        It's a preference thing really; you can use .cpp or .cxx
        for your own code.

        For .cxx to work, you need the compiler /TP flag, which tells
        the compiler to compile the program as a C++ file (as opposed to C).

        IIRC, ".cpp" is a Microsoft thing, but FLTK's roots came
        from a unix background where .cpp was not embraced. Under unix
        normally ".C" is used, but this isn't portable to case-insensitive
        platforms like windows and OSX, so since FLTK is a cross platform lib,
        .cxx was chosen.
_______________________________________________
fltk mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk

Reply via email to