Work with winBGIm in C::B

Hi everybody,
Our master is teaching his C++ cource with Borland C++. Till now I was using GCC (in linux) and CodeBlocks(in windows) for training. When he teached us about 'Graphics', he used a library (winBGIm: Borland Graphical Interface for windows). Unfortunately when I wanted to use this library, CB return lots of errors:
undefined reference to `_SetBkColor@8'
undefined reference to `_ Selectobject@8'
undefined reference to `_ Extcreatepen@8'
undefined reference to `_ Createpen@8'
undefined reference to `_ getPixel@8'
undefined reference to `_ getCurrentPositionEx@8'
undefined reference to `_ Settextcolor@8'
undefined reference to `_ Createfont@8'
undefined reference to `_ Deleteobject@8'
undefined reference to `_ Createpen@8'
...

I tried to debug the problem, but I couldn't.
So, how can I slolve this problem(using graphical interface in CB)?
Tx.
any idea ?
The undefined reference means you have not correctly linked the required library files.
Topic archived. No new replies allowed.