[AD] unresolved external symbol

[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]


Hello everyone,
I am trying to add support for the gui functions to draw to a different
bitmap called 'gui_screen'.
gui.c & gui_proc.c compile fine. I've added AL_VAR(BITMAP *, gui_screen); to
allegro.h

Make stops with the foll error :

Creating library lib/msvc/alleg.lib and object lib/msvc/alleg.exp
graphics.obj : error LNK2001: unresolved external symbol _gui_screen
gui.obj : error LNK2001: unresolved external symbol _gui_screen
guiproc.obj : error LNK2001: unresolved external symbol _gui_screen
lib/msvc/all3935.dll : fatal error LNK1120: 1 unresolved externals
make.exe: *** [lib/msvc/all3935.dll] Error 96

What should I do now?

Thanks,
Karthik




Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/