User forums > Using Code::Blocks

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

(1/1)

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:
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.codeblocks.org/index.php/topic,9996.0.html

Tim S.

Navigation

[0] Message Index

Go to full version