I added the include directory and the lib directory in the Settings/compiler/directories area. I also had to add the libs by name in the Settings/compiler/linker section. Without adding the libs by name, CB errored out earlier. However the compile still fails with the log information below:
Project : Console application
Compiler : GNU GCC Compiler (called directly)
Directory : C:\MinGW\1.0\fltk\sliderinput\
--------------------------------------------------------------------------------
Switching to target: default
Linking executable: sliderinput.exe
C:\MinGW\1.0\art\lib\libfltk2.a(run.o):run.cxx:(.text+0x42c): undefined reference to `WSAAsyncSelect@16'
C:\MinGW\1.0\art\lib\libfltk2.a(run.o):run.cxx:(.text+0x4f2): undefined reference to `WSAAsyncSelect@16'
C:\MinGW\1.0\art\lib\libfltk2.a(run.o):run.cxx:(.text+0x19de): undefined reference to `OleInitialize@4'
C:\MinGW\1.0\art\lib\libfltk2.a(run.o):run.cxx:(.text+0x1ba3): undefined reference to `RegisterDragDrop@8'
C:\MinGW\1.0\art\lib\libfltk2.a(run.o):run.cxx:(.text$_ZN12FlDropTarget14QueryInterfaceERK5_GUIDPPv+0x19): undefined reference to `IID_IUnknown'
C:\MinGW\1.0\art\lib\libfltk2.a(run.o):run.cxx:(.text$_ZN12FlDropTarget14QueryInterfaceERK5_GUIDPPv+0x2a): undefined reference to `IID_IDropTarget'
C:\MinGW\1.0\art\lib\libfltk2.a(run.o):run.cxx:(.text$_ZN12FlDropTarget4DropEP11IDataObjectm8tagPOINTPm+0x122): undefined reference to `ReleaseStgMedium@4'
C:\MinGW\1.0\art\lib\libfltk2.a(run.o):run.cxx:(.text$_ZN12FlDropTarget4DropEP11IDataObjectm8tagPOINTPm+0x2af): undefined reference to `ReleaseStgMedium@4'
C:\MinGW\1.0\art\lib\libfltk2.a(dnd.o):dnd.cxx:(.text+0x7a): undefined reference to `DoDragDrop@16'
C:\MinGW\1.0\art\lib\libfltk2.a(dnd.o):dnd.cxx:(.text$_ZN12FLDropSource14QueryInterfaceERK5_GUIDPPv+0x19): undefined reference to `IID_IUnknown'
C:\MinGW\1.0\art\lib\libfltk2.a(dnd.o):dnd.cxx:(.text$_ZN12FLDropSource14QueryInterfaceERK5_GUIDPPv+0x2a): undefined reference to `IID_IDropSource'
C:\MinGW\1.0\art\lib\libfltk2.a(dnd.o):dnd.cxx:(.text$_ZN12FLDataObject14QueryInterfaceERK5_GUIDPPv+0x19): undefined reference to `IID_IUnknown'
C:\MinGW\1.0\art\lib\libfltk2.a(dnd.o):dnd.cxx:(.text$_ZN12FLDataObject14QueryInterfaceERK5_GUIDPPv+0x2a): undefined reference to `IID_IDataObject'
collect2: ld returned 1 exit status
Process terminated with status 1 (0 minutes, 11 seconds)
0 errors, 0 warnings