I get the following linker errors while compiling fltk on VS 2008: Linking... Creating library .\Debug/fltkdll/fltkdlld.lib and object .\Debug/fltkdll/fltkdlld.exp Fl.obj : error LNK2019: unresolved external symbol __imp__OleInitialize@4 referenced in function "void __cdecl fl_OleInitialize(void)" (?fl_OleInitialize@@YAXXZ) Fl.obj : error LNK2019: unresolved external symbol __imp__OleUninitialize@0 referenced in function "void __cdecl fl_OleUninitialize(void)" (?fl_OleUninitialize@@YAXXZ) Fl.obj : error LNK2019: unresolved external symbol __imp__CoCreateInstance@20 referenced in function "public: static class Fl_X * __cdecl Fl_X::make(class Fl_Window *)" (?make@Fl_X@@SAPAV1@PAVFl_Window@@@Z) Fl.obj : error LNK2019: unresolved external symbol __imp__RegisterDragDrop@8 referenced in function "public: static class Fl_X * __cdecl Fl_X::make(class Fl_Window *)" (?make@Fl_X@@SAPAV1@PAVFl_Window@@@Z) fl_dnd.obj : error LNK2019: unresolved external symbol __imp__DoDragDrop@16 referenced in function "public: static int __cdecl Fl::dnd(void)" (?dnd@Fl@@SAHXZ) fl_dnd.obj : error LNK2001: unresolved external symbol _IID_IDropSource fl_dnd.obj : error LNK2001: unresolved external symbol _IID_IUnknown fl_dnd.obj : error LNK2001: unresolved external symbol _IID_IDataObject fl_dnd.obj : error LNK2001: unresolved external symbol _IID_IDropTarget fl_dnd.obj : error LNK2019: unresolved external symbol __imp__ReleaseStgMedium@4 referenced in function "private: static char __cdecl FLDropTarget::fillCurrentDragData(struct IDataObject *)" (?fillCurrentDragData@FLDropTarget@@CADPAUIDataObject@@@Z) Debug/fltkdll/fltkdlld.dll : fatal error LNK1120: 10 unresolved externals
I searched through the forums and found a similar thread here: http://www.fltk.org/newsgroups.php?s1+gfltk.bugs+v7+T0+QLNK2019 The solution given there did not help. I tried looking through MSDN for the external symbols, and it mentioned that the definitions would be present in the file "OleIdl.Idl". I am at a loss as to how to include this file, but suspect that I am missing something obvious. I first tried with FLTK 1.1.10. Even the current snapshot v1.3.x-r8744 gives the same error. _______________________________________________ fltk mailing list [email protected] http://lists.easysw.com/mailman/listinfo/fltk

