![]() |
|
Allegro 4.9.8 dependencies for Visual Studio 2005/2008 available here. |
axilmar
Member #1,204
April 2001
|
I've uploaded a file here which contains all the dependencies (dlls, includes and libs) required to compile Allegro 4.9.8 for Microsoft Visual Studio 2005/2008. The zip also contains a batch file which sets the environment variables appropriately. A readme.txt included in the file explains everything. |
Thomas Fjellstrom
Member #476
June 2000
![]() |
In case anyone wants an alternative build try here. Also includes allegro in binary form for MSVC. -- |
Evert
Member #794
November 2000
![]() |
Any chance of a supplement to A5's installation instructions with that information? For the benefit of someone who wants to do this in the future? |
axilmar
Member #1,204
April 2001
|
Quote:
Any chance of a supplement to A5's installation instructions with that information? For the benefit of someone who wants to do this in the future? I think the most important points are: 1) rename libFLAC.lib to FLAC.lib. |
Edgar Reynaldo
Major Reynaldo
May 2007
![]() |
Quote:
1) rename libFLAC.lib to FLAC.lib. Manually renaming libraries sounds wrong. Are you sure there aren't some build settings somewhere that need to be modified instead? What part of the build process fails because it's looking for FLAC.lib and sndfile.lib instead of the actual libs? My Website! | EAGLE GUI Library Demos | My Deviant Art Gallery | Spiraloid Preview | A4 FontMaker | Skyline! (Missile Defense) Eagle and Allegro 5 binaries | Older Allegro 4 and 5 binaries | Allegro 5 compile guide |
axilmar
Member #1,204
April 2001
|
Quote: Manually renaming libraries sounds wrong. It does not really matter if you rename the library. It's not the dll that it is renamed, only the 'lib' file, which is only used for informing the O/S linker about what symbol the dll contains. Quote: Are you sure there aren't some build settings somewhere that need to be modified instead? I haven't found anything in the docs. Perhaps the allegro devs can enlighten us. Quote: What part of the build process fails because it's looking for FLAC.lib and sndfile.lib instead of the actual libs? The VS solution file building process (i.e. when you call cmake). |
Thomas Fjellstrom
Member #476
June 2000
![]() |
Quote: The VS solution file building process (i.e. when you call cmake). Right, so we should just fix our FindFLAC.cmake and other files. -- |
Evert
Member #794
November 2000
![]() |
Quote: I haven't found anything in the docs. That's why I keep prodding you to submit a documentation patch... I agree though, manually renaming libraries sounds wrong. Either there's a problem with Allegro's detection scripts, or somehow the installation on your system got messed up. |
axilmar
Member #1,204
April 2001
|
Documentation patch or fixing of cmake files? |
Peter Wang
Member #23
April 2000
|
Where did you get the lib*.lib files from? MSVC doesn't use the lib* naming convention, does it, so why should we be adjusting our build system for files that are named incorrectly? Besides, we just call FIND_LIBRARY which is a built-in macro/function, so if there's a bug anywhere it's there, but I highly doubt it.
|
Matthew Leverton
Supreme Loser
January 1999
![]() |
The FLAC Windows binary package includes: libFLAC.dll, libFLAC.lib, etc. |
Peter Wang
Member #23
April 2000
|
Maybe it was designed for Mingw? Anyway, a patch like this might work: diff --git a/cmake/FindFLAC.cmake b/cmake/FindFLAC.cmake index 4d2a883..800a34f 100644 --- a/cmake/FindFLAC.cmake +++ b/cmake/FindFLAC.cmake @@ -12,7 +12,7 @@ endif(FLAC_INCLUDE_DIR) find_path(FLAC_INCLUDE_DIR FLAC/stream_decoder.h) -find_library(FLAC_LIBRARY NAMES FLAC) +find_library(FLAC_LIBRARY NAMES FLAC libFLAC) # Handle the QUIETLY and REQUIRED arguments and set FLAC_FOUND to TRUE if # all listed variables are TRUE.
|
Trent Gamblin
Member #261
April 2000
![]() |
I'm not sure that will work with MinGW.
|
Evert
Member #794
November 2000
![]() |
Quote: The FLAC Windows binary package includes: libFLAC.dll, libFLAC.lib, etc.
That's incredibly stupid. Quote: I'm not sure that will work with MinGW. Can't we look for "FLAC" and "libFLAC", in that order? |
Trent Gamblin
Member #261
April 2000
![]() |
Quote: Can't we look for "FLAC" and "libFLAC", in that order? Yes we could do that.
|
Peter Wang
Member #23
April 2000
|
That was the intention of my patch (untested).
|
axilmar
Member #1,204
April 2001
|
FLAC for Windows can be found here: http://sourceforge.net/project/showfiles.php?group_id=13478&package_id=12675&release_id=539572 It's the file flac-1.2.1-devel-win.zip. |
Trent Gamblin
Member #261
April 2000
![]() |
Quote: That was the intention of my patch (untested). I just committed something different but feel free to change it. It does it in a roundabout way but it does work.
|
Thomas Fjellstrom
Member #476
June 2000
![]() |
Quote: I just committed something different but feel free to change it. It does it in a roundabout way but it does work. I think theres a reason its called NAMES as in its plural. -- |
|