Hi,
Been trying to compile a simple C program using the open source IUP toolkit provided by Tecgraf (makers of Lua). Keep getting the error below:
Based on the documentation the following libraries are dependancies:
iupwin* -> gdi32 user32 comdlg32 comctl32 ole32 (system - Windows)
button.o is a sample program provided in the IUP distribution
Can anyone see the issue here...Code:c:\dev\IUP>make gcc -L C:\dev\IUP\libs -o main.exe button.o libiup.a libiupcd.a libiupim.a -lgdi32 -luser32 -lcomdlg32 -lcomctl32 -lole32 libiup.a(iupwin_dragdrop.o):iupwin_dragdrop.c:(.text+0x229): undefined reference to `IID_IUnknown' libiup.a(iupwin_dragdrop.o):iupwin_dragdrop.c:(.text+0x245): undefined reference to `IID_IDropTarget' libiup.a(iupwin_dragdrop.o):iupwin_dragdrop.c:(.text+0x2a1): undefined reference to `IID_IUnknown' libiup.a(iupwin_dragdrop.o):iupwin_dragdrop.c:(.text+0x2bd): undefined reference to `IID_IDropSource' libiup.a(iupwin_dragdrop.o):iupwin_dragdrop.c:(.text+0x319): undefined reference to `IID_IUnknown' libiup.a(iupwin_dragdrop.o):iupwin_dragdrop.c:(.text+0x335): undefined reference to `IID_IEnumFORMATETC' libiup.a(iupwin_dragdrop.o):iupwin_dragdrop.c:(.text+0x391): undefined reference to `IID_IUnknown' libiup.a(iupwin_dragdrop.o):iupwin_dragdrop.c:(.text+0x3ad): undefined reference to `IID_IDataObject' collect2: ld returned 1 exit status make: *** [main.exe] Error 1