News:

Accounts with zero posts and zero activity during the last months will be deleted periodically to fight SPAM!

Main Menu

use of graphics.h winbgim.h and libbgi.a

Started by estrouven, January 11, 2019, 04:35:25 PM

Previous topic - Next topic

estrouven

I am using BCC32 for compiling and want to use graphics code.
Compiling a programme which includes graphics.h results in a  fatal error as below:

Error: 'C:\BORLAND\BCC55\LIB\WIN32C\RELEASE\PSDK\LIBBGI.A' contains invalid OMF record, type 0x21 (possibly COFF)
Process terminated with status 2 (0 minute(s), 0 second(s))
0 error(s), 0 warning(s) (0 minute(s), 0 second(s))

Is there any workaround or simple solution to solve this problem?

stahta01

#1
Likely the correct solution is not to use libraries that does not work with the BCC32 compiler.
Edit: Or change your compiler to one that works with the library.

Please read this website rules: http://forums.next.codeblocks.org/index.php/topic,9996.0.html

Tim S.
C Programmer working to learn more about C++.
On Windows 10 64 bit and Windows 11 64 bit.
--
When in doubt, read the CB WiKi FAQ. [url="http://wiki.codeblocks.org"]http://wiki.codeblocks.org[/url]