User forums > Help

how use Graphics.h?

<< < (2/3) > >>

Miguel Gimenez:
I used it with TurboC 30 years ago, but IIRC it was abandoned.

cambalinho:
after several time, i found the problems:
1 - the library and the headers files are for Code Blocks 32 bits and not 64 bits;
2 - the files are for "CodeBlocks\MinGW\i686-w64-mingw32\..." and not "CodeBlocks\MinGW\..." folder!!!
the rest is the same(add the library on project and the linker options).
thanks for all to all

stahta01:
https://cboard.cprogramming.com/cplusplus-programming/181839-how-use-graphics-h-codeblocks.html

Another website with the same question; if the OP wants help, from me, they need to post a build log and post information about the compiler they are using.

Tim S.

cambalinho:
i know that link but what i found was testing and shooting on dark :(

stahta01:

--- Quote from: cambalinho on November 11, 2023, 01:44:28 am ---i know that link but what i found was testing and shooting on dark :(

--- End quote ---

Next time post the build log or I will put you on ignore!
The build log would have given the error that you were mixing 64 and 32 bits object and we could have help you.

Tim S.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version