.. hmm yes perhaps i was a bit vague hmm ok well i shall give you what i know so far im am running the compiler dev-c++ 4.9.9.2 and i downloaded the allegro binary package for windows, version 4.2.2 i believe now the source of the download says downloading allegro for windows can be some what of a pain, and that statement turns out to be correct. i have downloaded the pacage for windows but cannot seem to get it to work with my compiler, no other material was recieved to help me out with this either so im asking how to get that version of allegro working with my version of dev-c++
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
You are not helping yourself. You did not post the information requested.
> i downloaded the allegro binary package for windows,
From where? A link to exactly what you downloaded. Also a 'binary' package, or prebuilt library would have to be specifically built for MinGW/GCC 3.x to work with Dev-C++/MinGW. Do you know that to be the case? I just checked the Sourceforge repository and there is no single "binary package for windows" but several for differnt compilers. You need this one: http://downloads.sourceforge.net/alleg/allegro-mingw-4.2.2.zip
> but cannot seem to get it to work with my compiler,
So what have you tried, and what were the results. If you attempted to build code and got errors post the log - the whole log. Do you understand about libraries and how to link them to your code?
The simplest solution to using third-party libraries with Dev-C++ is to use a DevPak. These can be obtained via the Tools->Check for updates/packages, and on at least one of the available servers (probably DevPaks.org) you will find an Allegro DevPak, that contains the library and project templates for painlessly building Allegro apps. After installation use File->New->Project, and select teh Allegro template form the installed project templates.
Alternatively go straight to http://devpaks.org/category.php?category=Allegro and get it. The package manager is file associated with DevPak files, so installation is performed simply by double-clicking the devpak file.
The Allegro site even mentions the DevPak at http://alleg.sourceforge.net/wip.html. When I just checked devpaks.org appeared ot be down. It is also available at http://downloads.sourceforge.net/alleg/allegro-4.2.1-1mol.DevPak (the same place the MinGW binary came from). Unfortunately it is for 4.2.1 not 4.2.2m vut unless you know different, I doubt that will be a problem for you, and you can always manually update the files from the MinGW package.
If the DevPak is not for you I understand (from a Google search) that information of using Allegro with MinGW is provided in Allegro\docs\build\mingw32.txt (in your Allegro installation).
Clifford
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
i cannot get allegro to work for windows and help would be much appreciated
Give us something to work with other than a statement about it not working...
What have you done so far?
Post your Basic 3 for it.
(They are covered in the thread titled "Please Read Before Posting a Question")
Wayne
.. hmm yes perhaps i was a bit vague hmm ok well i shall give you what i know so far im am running the compiler dev-c++ 4.9.9.2 and i downloaded the allegro binary package for windows, version 4.2.2 i believe now the source of the download says downloading allegro for windows can be some what of a pain, and that statement turns out to be correct. i have downloaded the pacage for windows but cannot seem to get it to work with my compiler, no other material was recieved to help me out with this either so im asking how to get that version of allegro working with my version of dev-c++
You are not helping yourself. You did not post the information requested.
> i downloaded the allegro binary package for windows,
From where? A link to exactly what you downloaded. Also a 'binary' package, or prebuilt library would have to be specifically built for MinGW/GCC 3.x to work with Dev-C++/MinGW. Do you know that to be the case? I just checked the Sourceforge repository and there is no single "binary package for windows" but several for differnt compilers. You need this one: http://downloads.sourceforge.net/alleg/allegro-mingw-4.2.2.zip
> but cannot seem to get it to work with my compiler,
So what have you tried, and what were the results. If you attempted to build code and got errors post the log - the whole log. Do you understand about libraries and how to link them to your code?
The simplest solution to using third-party libraries with Dev-C++ is to use a DevPak. These can be obtained via the Tools->Check for updates/packages, and on at least one of the available servers (probably DevPaks.org) you will find an Allegro DevPak, that contains the library and project templates for painlessly building Allegro apps. After installation use File->New->Project, and select teh Allegro template form the installed project templates.
Alternatively go straight to http://devpaks.org/category.php?category=Allegro and get it. The package manager is file associated with DevPak files, so installation is performed simply by double-clicking the devpak file.
The Allegro site even mentions the DevPak at http://alleg.sourceforge.net/wip.html. When I just checked devpaks.org appeared ot be down. It is also available at http://downloads.sourceforge.net/alleg/allegro-4.2.1-1mol.DevPak (the same place the MinGW binary came from). Unfortunately it is for 4.2.1 not 4.2.2m vut unless you know different, I doubt that will be a problem for you, and you can always manually update the files from the MinGW package.
If the DevPak is not for you I understand (from a Google search) that information of using Allegro with MinGW is provided in Allegro\docs\build\mingw32.txt (in your Allegro installation).
Clifford