![]() |
|
Newest versions not easy to set up |
Joe larson
Member #10,200
September 2008
![]() |
4.4.1 and 4.9.x are missing the make files and fix.bat. The precompiled binaries for mingw are for ver 3.3 (I'm using 3.4.5). The allegro team has failed to make this easy for new folks to get into like they did in the past. This isn't good guys. |
Mark Oates
Member #1,146
March 2001
![]() |
It's still in beta. -- |
Matthew Leverton
Supreme Loser
January 1999
![]() |
It's not missing them. Allegro has switched to CMake. Read the instructions, then come back with valid comments and/or questions. |
Joe larson
Member #10,200
September 2008
![]() |
Alright then. There are multiple conflicting instructions online. It's difficult for a new user to get a grip on how to do set up. Allegros biggest draw is how easy it is for new users, but changing the way it gets set up but not changing the instructions for setup sends mixed signals. Maybe I've just caught things in a weird point, and I don't mind that. I just wanted to make the dev team aware. |
Matthew Leverton
Supreme Loser
January 1999
![]() |
Of course there are ~15 years of incompatible Allegro tutorials on the Internet that pre-date Allegro 4.4/4.9. The Allegro development team is only responsible for the instructions that come with the library. Those instructions are kept up-to-date. Anyway, when 5.0 is ready, there will be binaries for the popular platforms. Most people won't have to bother with compiling Allegro, so I wouldn't really worry about anything. |
Arthur Kalliokoski
Second in Command
February 2005
![]() |
I remember getting stuck on the instructions saying to mkdir build, then cd build, then something about parent directory (which I missed) for cmake command. They all watch too much MSNBC... they get ideas. |
Karadoc ~~
Member #2,749
September 2002
![]() |
The only thing I don't like about the CMake system is that it means I have to install CMake - which I don't intend to use for anything other than compiling Allegro. There may well be conflicting sets of instructions about how to install Allegro, but I found it easy enough to just follow the instructions that are included in the download. I wouldn't look for other instructions unless I got stuck. There is definitely room for improvement though. ----------- |
ImLeftFooted
Member #3,935
October 2003
![]() |
Hm, CMake should offer a bundlable binary. |
AMCerasoli
Member #11,955
May 2010
![]() |
Joe Larson said: The allegro team has failed to make this easy for new folks to get into like they did in the past. That is true man... I spend a lot of time learning new things this time, and i made a videotutorial for the community... but no one know it (the videotutorial)... This is the Link: Installing Allegro 4.9.19 With Binaries
|
Thomas Fjellstrom
Member #476
June 2000
![]() |
Why are so many people so afraid of new things? Seriously, it isn't hard. It might be tedious if you plan to build all the dependencies yourself, but if all you want is allegro then you can SKIP them ALL. And if you do, the building is similar to how it was before. Just it uses CMake instead of hand rolled makefiles, and autoconf. -- |
Dario ff
Member #10,065
August 2008
![]() |
AMCERASOLI said: and i made a videotutorial for the community... but no one know it You can always put it on Youtube. It's likely to be searched more easily. Or you can make an article in the Wiki, but there is a good amount of them right now. About getting it to be "easy", some things people should understand: - Likely, the 4.9 branch is hard to setup on Windows AFAIK. As Matthew already said, binaries will likely be distributed for the most common compilers. If conflicts like this happen: Joe larson said: the precompiled binaries for mingw are for ver 3.3 (I'm using 3.4.5). then new binaries will be released. TranslatorHack 2010, a human translation chain in a.cc. |
Mark Oates
Member #1,146
March 2001
![]() |
Thomas Fjellstrom said: Seriously, it isn't hard.
Quote: Just it uses CMake instead of hand rolled makefiles, and autoconf. I don't know what any of those are! Or why that makes any kind of difference to me! Quote: but if all you want is allegro then you can SKIP them ALL. I don't want to have just allegro. I want to make games! I'm not interested in learning a build system and configuring makefiles with cmake folder build environment blabadie bloops subsystem platform altercations. That's what I see. Building things is a whole other language. Quote: Why are so many people so afraid of new things? I'm not afraid of it. I just don't want to have to learn all the ins and outs of a system of which I only need to accomplish one thing. It's just frustrating, Thomas. You talk about it and it seems easy to you because you understand the process. I don't. It's not something you can just pick up. And I'm not a noob. I've been using allegro for more than I'm sorry, I'm grumpy. I had some bad pizza. -- |
Thomas Fjellstrom
Member #476
June 2000
![]() |
Mark Oates said: I don't know what any of those are! Then how did you ever build Allegro 4? Quote: I don't want to just have allegro. I want to make games! I'm not interested in learning a build system Thats too bad. you'll either have to learn it, or wait till someone builds a binary for you, which could take some time. Quote: It's just frustrating, Thomas. You talk about it and it seems easy to you because you understand the process. I don't. It's not something you can just pick up. I didn't know CMake prior to allegro picking it up. I didn't learn CMake till well after allegro switched to it actually. So obviously it is something you can just pick up. I'm not the brightest bulb in the box you know. Quote: And I'm not a noob. I've been using allegro for more than 5 years now. But you act like one. If you're afraid to learn new things, you're not going to get very far, very fast. Either stick with the binaries that people put up eventually, or learn how to actually build allegro. Those are the only two choices. Building Allegro with all of its addons is actually easier that it was before. Now that we include many addons, they use the same build system, and build with allegro. Before you had to go download a bunch of separate packages, all of which used a separate hand made build system which you'd have to learn separately, and build them all separately. All you have to do now is tell cmake where the source is, where the build dir is, and hit "generate", then you just type "make", or in the case of MSVC, load up the newly generated .sln file. -- |
Dario ff
Member #10,065
August 2008
![]() |
Mark Oates said: It's not something you can just pick up. Wait wait, what CMake version are you using? There's a very easy to use GUI version. EDIT: You don't really need all addons. I could care less for flac support, so I don't build it. TranslatorHack 2010, a human translation chain in a.cc. |
Mark Oates
Member #1,146
March 2001
![]() |
Dario ff said: Wait wait, what CMake version are you using? There's a very easy to use GUI version. Exactly!! Apparently there's are versions I shouldn't be using?! CMake isn't a program that I usually use. People don't know these things. Thomas Fjellstrom said: All you have to do now is tell cmake where the source is, where the build dir is, and hit "generate", then you just type "make", or in the case of MSVC, load up the newly generated .sln file. Alright! Let me just do that.
Please bear with me. I'm actually in a really goofy mood. Quote: I'm not the brightest bulb in the box you know. Now that's not true. I've read some of your source code for the Canva5 lib. -- |
Matthew Leverton
Supreme Loser
January 1999
![]() |
On Windows, Allegro 4.2 came with MSVC project files that you open up and click build. There's nothing evil about that. It works every time with no fuss. Allegro 5 is more difficult to build for MSVC, and I wouldn't recommend any average user to even bother doing it. (It's not like it's extremely hard, but it's an unnecessary evil.) Under Linux, it's hardly a nuisance at all. Mark Oates said: What Information do I need to know? All I have at this point is "It doesn't work." I'm completely in the dark. I even tried all the other MSVC Generators (the poking in the dark technique). I never use the GUI version. It doesn't ever seem to work. Open MSVC's Command Prompt.
Laugh at all the missing dependencies. Open MSVC project file. Build. |
Thomas Fjellstrom
Member #476
June 2000
![]() |
Mark Oates said: What Information do I need to know? All I have at this point is "It doesn't work." I'm completely in the dark. I even tried all the other MSVC Generators (the poking in the dark technique). It looks to me like you haven't setup MSVC properly? CMake seems to be complaining that it can't find MSVC 2008. But since I don't use MSVC, I really can't help much. Quote: Now that's not true. I've read some of your source code for the Canva5 lib. Oh come now, its nothing fancy. In fact I'm pretty sure I'm doing some if it horribly wrong Matthew Leverton said: On Windows, Allegro 4.2 came with MSVC project files that you open up and click build. There's nothing evil about that. It works every time with no fuss. Allegro 5 should probably come with one as well. append: Mark Oates said: Please bear with me. I'm actually in a really goofy mood. No problem -- |
Mark Oates
Member #1,146
March 2001
![]() |
Thomas Fjellstrom said: It looks to me like you haven't setup MSVC properly? Exactly!! Apparently there's some way I shouldn't be setting up MSVC?! Matthew Leverton said: I never use the GUI version. It doesn't ever seem to work. Exactly!! OK... Back to seriousness. What are these lines: set LIB=%LIB%;c:\path\to\third\party\libs set INCLUDE=%INCLUDE%;c:\path\to\third\party\headers Are these the libraries that Allegro requires to build? Do I need to get these from another place and build them? (And, this is allegro 5, right?) Seriously, though. I've gone this far. I'm energized. I'm goin' all the way. Need some theme music: ![]() -- |
LennyLen
Member #5,313
December 2004
![]() |
Mark Oates said: It's not something you can just pick up. You don't need to know how to use cmake, really. You just need to know how to follow the instructions that come with A5. I've built several of the 4.9.x builds (and 4.4) and I don't really know how cmake works. Matthew Leverton said: Under Linux, it's hardly a nuisance at all. It's very easy under Windows as well if you use MinGW.
|
Matthew Leverton
Supreme Loser
January 1999
![]() |
Mark Oates said: Are these the libraries that Allegro requires to build? Do I need to get these from another place and build them? (And, this is allegro 5, right?) Yes. I put all the third party libraries (e.g., dumb.lib) in a single lib folder outside of my main MSVC lib folder. I think it's easier to keep organized that way. Then if CMake knows to look there (via the LIB variable), they will be detected during the cmake process. |
Thomas Fjellstrom
Member #476
June 2000
![]() |
Mark Oates said: Exactly!! Apparently there's some way I shouldn't be setting up MSVC?! Theres a reason I don't use MSVC at all. -- |
Mark Oates
Member #1,146
March 2001
![]() |
LennyLen said: It's very easy under Windows as well if you use MinGW. I was using MinGW and Code::Blocks before MSVC, but MSVC is so nice (the IDE, I mean). All the other environments I've used don't come close. Matthew Leverton said: Then if CMake knows to look there (via the LIB variable), they will be detected during the cmake process. So, I'm assuming I could build the "vanilla" allegro without having to set the LIB and INCLUDE paths at all? I don't want to get ahead of myself so I'll try that first. Aaaannnnd fail: Setting environment for using Microsoft Visual Studio 2010 x86 tools. c:\program files (x86)\microsoft visual studio 10.0\vc\bin>cd/ c:>cd users c:\Users>cd mark c:\Users\Mark>cd desktop c:\Users\Mark\Desktop>cd allegro c:\Users\Mark\Desktop\allegro>mkdir build c:\Users\Mark\Desktop\allegro>cd build c:\Users\Mark\Desktop\allegro\build>cmake .. -G "Visual Studio 9 2008" -- Check for working C compiler using: Visual Studio 9 2008 -- Check for working C compiler using: Visual Studio 9 2008 -- broken CMake Error at C:/Program Files (x86)/CMake 2.8/share/cmake-2.8/Modules/CMakeTes tCCompiler.cmake:52 (MESSAGE): The C compiler "C:/Program Files (x86)/Microsoft Visual Studio 10.0/VC/bin/cl.exe" is not able to compile a simple test program. It fails with the following output: Change Dir: C:/Users/Mark/Desktop/allegro/build/CMakeFiles/CMakeTmp Run Build Command:C:\PROGRA~2\MICROS~1.0\Common7\IDE\VCExpress.exe CMAKE_TRY_COMPILE.sln /build Debug /project cmTryCompileExec Microsoft (R) Visual C++ 2010 Express Version 10.0.30319.1. Copyright (C) Microsoft Corp. All rights reserved. Solution file 'C:\Users\Mark\Desktop\allegro\build\CMakeFiles\CMakeTmp\CMAKE_TRY_COMPILE.sln ' is from a previous version of this application and must be converted in order to build in this version of the application. To convert the solution, open the solution in this version of the application. CMake will not be able to correctly generate this project. Call Stack (most recent call first): CMakeLists.txt:30 (project) -- Configuring incomplete, errors occurred! c:\Users\Mark\Desktop\allegro\build> I really don't know how to interpret any of those error messages. -- |
Matthew Leverton
Supreme Loser
January 1999
![]() |
Use -G "Visual Studio 10" instead. |
Thomas Fjellstrom
Member #476
June 2000
![]() |
Matthew Leverton said: Use -G "Visual Studio 10" instead. Isn't that supposed to not work due to CMake making broken VS 10 projects? -- |
Dario ff
Member #10,065
August 2008
![]() |
Mark Oates said: Apparently there's are versions I shouldn't be using?!
That's not what I said. TranslatorHack 2010, a human translation chain in a.cc. |
|
|