|
From: Mark S. <mar...@li...> - 2003-09-25 13:10:44
|
can anyone give any tips on how to compile the bgidemo downloadable from http://www.ispras.ru/~knizhnik/winbgi.zip using devc++ 4.9.8.1 I seem to get a lot of linker errors (below are just the beginning) Compiler: Default compiler Building Makefile: "C:\lcc\projects\winbgi\Makefile.win" Executing make clean rm -f bgidemo.o bgidemo2.exe g++.exe -c bgidemo.c -o bgidemo.o -I"C:/Dev-Cpp/include/c++" -I"C:/Dev-Cpp/include/c++/mingw32" -I"C:/Dev-Cpp/include/c++/backward" -I"C:/Dev-Cpp/include" bgidemo.c: In function `void LineToDemo()': bgidemo.c:900: warning: assignment to `int' from `double' bgidemo.c:900: warning: argument to `int' from `double' g++.exe bgidemo.o -o "bgidemo2.exe" -L"C:/Dev-Cpp/lib" -s winbgi.lib winbgi.lib(winbgi.obj.b)(.text+0x2c):winbgi.cpp: undefined reference to `??2@YAPAXI@Z' winbgi.lib(winbgi.obj.b)(.text+0x57):winbgi.cpp: undefined reference to `??3@YAXPAX@Z' winbgi.lib(winbgi.obj.b)(.text+0x14b):winbgi.cpp: undefined reference to `_imp__SetTextColor@8' winbgi.lib(winbgi.obj.b)(.text+0x204):winbgi.cpp: undefined reference to `_imp__GetCurrentPositionEx@8' winbgi.lib(winbgi.obj.b)(.text+0x234):winbgi.cpp: undefined reference to `_imp__GetCurrentPositionEx@8' winbgi.lib(winbgi.obj.b)(.text+0x302):winbgi.cpp: undefined reference to `_imp__SetPaletteEntries@16' winbgi.lib(winbgi.obj.b)(.text+0x30f):winbgi.cpp: undefined reference to `_imp__RealizePalette@4' winbgi.lib(winbgi.obj.b)(.text+0x370):winbgi.cpp: undefined reference to `_imp__SetPaletteEntries@16' winbgi.lib(winbgi.obj.b)(.text+0x37d):winbgi.cpp: undefined reference to `_imp__RealizePalette@4' Thanks in advance Mark --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.520 / Virus Database: 318 - Release Date: 18/09/2003 The information contained in this e-mail message (and any attachment transmitted herewith) is privileged and confidential and is intended for the exclusive use of the addressee(s). If you are not an addressee, any disclosure, reproduction, distribution or other dissemination or use of this communication is strictly prohibited. If you have received this communication in error, please contact us immediately so that we can correct the error. |