|
| |||||||||||||||||||||||||||||||
| danyaljj (12) | |
|
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. | |
|
|
|
| danyaljj (12) | |
| any idea ? | |
|
|
|
| Zaita (2292) | |
| The undefined reference means you have not correctly linked the required library files. | |
|
|
|