answersLogoWhite

0

How do you get graphics into dev-cpp?

Updated: 8/17/2019
User Avatar

Wiki User

14y ago

Best Answer

This advice is coming from a person using version: 4.9.9.2
I will tell you how to download and install the Allegro graphics library for Dev-Cpp.

After you start up Dev-Cpp, click on the "Tools" menu bar option. Select "Check for Updates/Packages..."

Under "Select devpak server" (at the top), choose "devpaks.org Community Devpaks" Now click the "Check for updates" button at the bottom left. Under "Groups" choose "Allegro." Select the check box next to "Allegro" v4.2.2, it was the second option for me. Now click "Download selected."

You will now have a window telling you updates have been downloaded, and they will be installed. Click OK. After a little wait, the Dev-C++ Package Installation Wizard will pop-up. Click Next, then Next again and then Install.

After the installation is complete, select File on the menu bar, and then New and Project. Select the Multimedia tab, and choose either Allegro application (static) or (DLL) depending on what you want to do. Your new project will contain a main.cpp with a template of code that has the basics to create a blank screen ready for you to use graphics with. A great place to start with Allegro is at the manual:
http:/alleg.sourceforge.net/stabledocs/en/allegro.html

User Avatar

Wiki User

14y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: How do you get graphics into dev-cpp?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

How do you run dev-c plus plus on Windows 8?

I don't run either DevCPP or Windows 8. However, I did some checking around and found the following answers. The related links to them are provided beneath this answer.1) Run DevCPP in Windows XP Compatibility Mode: right-click the icon and select "Run in earlier versions of Windows"2) Update DevCPP (see the SourceForge related link below)The problem seems to be that you're running an outdated version of MinGW GCC.If neither of the above answers help, try a Web search for devcpp "windows 8" or devc++ "windows 8".Also, keep in mind that Windows 8 is still in beta development, so expect errors and problems to crop up. I'd recommend sticking with earlier Windows versions until at LEAST a service pack gets released if you continue to encounter technical difficulties and are unable to find answers on the Web.


Why your program compiles successfully in devcpp but does not execute?

Maybe it does execute, but in a temporary MS-DOS window, which is closed when program's terminated. Run your program from a separate MS-DOS window (Start/Run: CMD.EXE)


What is the difference between animated graphics and non animated graphics?

Animated graphics are animated. Non animated graphics are not animated.


Why is a computer good for graphics?

Depending on the graphics card in your computer it will state the graphics you have


Is graphics a verb?

No. Graphics is not a verb.


What is meta graphics?

what is meta graphics?


Where can you get star graphics?

You can get some star graphics from deviantart.com Also you can get other graphics as well.


What are the main Representations in graphics?

I think it is vector graphics and raster(bit mapped) graphics


What is mean by gdriver in graphics?

in graphics gdriver means graphics driver. it contains DETECT as an exception.


What is gmode in computer graphics?

graphics mode , the system sets the mode to graphics from text mode


What is uma graphics?

Its how the game look, if the game is 3d it has good graphics, but if its 2d it has poor graphics.


What VGA stands for?

Video Graphics Adapter