User forums > General (but related to Code::Blocks)
How to develop graphic programs using codeblocks?
liklstar:
Does codeblocks provides any graphics liberary or header file (such as "graphics.h and graphics.lib in Turbo C") to support graphics program developing?
How and what should I do if I develop a graphics program? Should I include any liberary or header file in the program as same as in Turbo C envirenment?
I am using Code::Blocks for windows and GNU GCC as the compiler!
MortenMacFly:
--- Quote from: liklstar on August 12, 2010, 06:23:41 am ---Does codeblocks provides any graphics liberary or header file (such as "graphics.h and graphics.lib in Turbo C") to support graphics program developing?
--- End quote ---
As Code::blocks is just an IDE you can use ANY graphics library of your choice.
If you mean a WYSIWYG Editor, then C::B ships with the "wxSmith" plugin(s), that allow you to create UI's using wxWidgets.
liklstar:
--- Quote from: MortenMacFly on August 12, 2010, 06:39:27 am ---
--- Quote from: liklstar on August 12, 2010, 06:23:41 am ---Does codeblocks provides any graphics liberary or header file (such as "graphics.h and graphics.lib in Turbo C") to support graphics program developing?
--- End quote ---
As Code::blocks is just an IDE you can use ANY graphics library of your choice.
If you mean a WYSIWYG Editor, then C::B ships with the "wxSmith" plugin(s), that allow you to create UI's using wxWidgets.
--- End quote ---
I have tried to link the Graphics.lib of Turbo C with codeblocks, but I fail. Are you sure it can? If codeblocks do can link turbo c library, how should I do step by step?
oBFusCATed:
Please read the first to items in the C::B's FAQ: http://wiki.codeblocks.org/index.php?title=FAQ
After that I hope you'll understand what you've to do or where to ask further questions...
liklstar:
--- Quote from: oBFusCATed on August 12, 2010, 12:40:41 pm ---Please read the first to items in the C::B's FAQ: http://wiki.codeblocks.org/index.php?title=FAQ
After that I hope you'll understand what you've to do or where to ask further questions...
--- End quote ---
Excuse me!
I have set the related items according to the following for many times, but C::B still connot find the target library!
Q: I would like to compile a project using some non-standard libraries. How can I indicate to CodeBlocks that these libraries and include files exist?
A: You can specify them for your global environment or just for your project.
For global environment :
- Menu Settings/Compiler and debugger
- In the Global compiler settings, select the directories tab
- Add the required paths for compiler and linker.
For your project :
- Right click on the project then select Build options
- Select the directories tab
- Add the required paths for compiler and linker.
- Add your specific libraries in the linker tab.
- Pay attention to project settings and target settings.
Now, I don't think C::B can link Turbo C's non-standard library to the target code unless you told me how to resolve this trouble!
Navigation
[0] Message Index
[#] Next page
Go to full version