|
|
This thread is locked; no one can reply to it.
|
1
2
|
| noobs should be aware of ease of Linux install and automated Scite compile/run |
|
shintaro
Member #7,502
July 2006
|
I think a lot of people new to Allegro might be turned off by the difficulty of compiling and setting up Allegro in Windows. In Windows you have to install DirectX, setup paths for librarys, include a .dll, in Linux all that goes away, the wiki page for installing Allegro on Linux shows just how easy: I think the link for Linux Allegro install should be on the front page of the Wiki and noobs should be made aware of how easy it is. As of now its very hard to find hidden in the unix section of the "building Allegro" link which is within the "Getting Started" link. Also compiling and running an Allegro app in the console can be automated in the Scite text editor. This is much easier and faster than using an IDE. To do that just install Scite and then go into Options>Edit Properties>Open cpp.properties and find where the path is to this file (its write protected, trying to save a changed file will bring up error message with path) then when you know the location open it with: to this: and then you will be able to do an automatic compile and run of a regular C program in Tools>compile and Tools>go. And then to do an automated Allegro app compile/run you just add Im asking permission to put this in the wiki or if someone else would like to volunteer to put this in, that would be better as Im a noob myself. |
|
Trent Gamblin
Member #261
April 2000
|
shintaro said: In Windows you have to install DirectX In Linux you have to install opengl, and alsa headers. Quote: setup paths for librarys Not if you use the standard paths. Quote: include a .dll Unless you only want your binaries to run on a single distro, you have to compile EVERYTHING statically or include .sos (same as including dlls). Quote: in Linux all that goes away Not quite...
|
|
shintaro
Member #7,502
July 2006
|
Trent Gamblin said: In Linux you have to install opengl, and alsa headers. The only thing I had to install in Ubuntu were the Allegro libraries/dependencies. You dont have to install OpenGL in either Windows or Linux, its part of the system. In Windows there is plenty of difficulty (for a noob) in installing Allegro with either msvc or mingw. All that is automated with a package manager install in a distro like Ubuntu. |
|
Matthew Leverton
Supreme Loser
January 1999
|
In Windows, you can download pre-built binaries. |
|
shintaro
Member #7,502
July 2006
|
Matthew Leverton said: In Windows, you can download pre-built binaries. You still have to set the library paths for each project and include the .dll with the prebuilt binarys. Yes it is a lot easier than a full Allegro compile/install and people should be made aware of that also. But still I think a Linux install in a distro like Ubuntu is by far the best option for a noob. |
|
Matthew Leverton
Supreme Loser
January 1999
|
If you use the static version, no DLLs are needed. If you configure your MSVC environment properly, you only need to set the paths once when you install Allegro. I agree that building Allegro from source is generally easier in Linux (assuming there is a good package manager) than in Windows, but I don't get your point... Ask people to switch their OS to install Allegro? If somebody has Linux, then of course they will use it. If they have Windows, then they will use it Windows. By the time Allegro 5 is out, there will be simple step-by-step instructions for all supported operating systems, so I'm sure the programmer's native OS will always seem the "easiest." shintaro said: Im asking permission to put this in the wiki or if someone else would like to volunteer to put this in, that would be better as Im a noob myself. Feel free to add tutorials to the wiki, but please refrain from "fanboy" comparison-talk in it. (e.g., This is so much easier than it is in OS bar.) |
|
Trent Gamblin
Member #261
April 2000
|
I've compiled Linux literally hundreds of times, for a pile of different operating systems, and on the common ones (Windows, OS X, Linux) it's easy. Difficulty of compiling Allegro should not be a reason to use one OS over another... If you're going to be a programmer, then you darn well better be able to do something as simple as compiling a library.
|
|
Matthew Leverton
Supreme Loser
January 1999
|
Trent Gamblin said: I've compiled Linux literally hundreds of times, for a pile of different operating systems You mean Allegro? |
|
shintaro
Member #7,502
July 2006
|
Matthew Leverton said: If you use the static version, no DLLs are needed. By static install do you mean putting the .dll in the Win32 folder? That is not very good for distributing your game, and we all know noobs love to distribute their games. But as to your question: Quote: but I don't get your point... Ask people to switch their OS to install Allegro? Im just saying I was about to bag Allegro after seeing the Windows msvc express install instructions and use something else like SDL. When I gave it one last shot on my Ubuntu partition I was really blown away by how everything was already set in my path and ready to roll. I think a big majority of people now a days have Ubuntu running on a partition or spare computer and so I think its something worth mentioning. |
|
Matthew Leverton
Supreme Loser
January 1999
|
I think most people do not have Ubuntu installed anywhere, especially hardcore Windows users. Nor are they willing to give up an excellent developing environment (MSVC) for Linux notepad. shintaro said: by static install do you mean putting the .dll in the Win32 folder No. I mean using the static libraries, which means no DLLs are needed. |
|
Trent Gamblin
Member #261
April 2000
|
Matthew Leverton said: You mean Allegro? Derp, yeah. shintaro said: Trent- the only thing I had to install in Ubuntu were the Allegro libraries/dependencies.
nvm, dependancies are exactly what we were talking about.
|
|
William Labbett
Member #4,486
March 2004
|
Given that it takes aeons to write a good game, the issue of 10 minutes to get set up and a couple of extra paracetamol doesn't seem like a big deal. I've haven't got any computer qualifications (bar an N in A level computer science), A good page on setting up for linux would be a good idea though but on the front page is maybe a bit extreme. If people really are deluded about how hard it is to set up on linux then perhaps it's a good idea. Do people lean towards windows because of this ? I don't know. I prefer windows over linux due to a fear of brain haemorrhage. Isn't there already a page for setting up with linux ?
|
|
LennyLen
Member #5,313
December 2004
|
shintaro said: Im just saying I was about to bag Allegro after seeing the Windows msvc express install instructions and use something else like SDL. That's a MSVC problem, not a Windows problem. You don't have to use MSVC on Windows. Quote: I think a big majority of people now a days have Ubuntu running on a partition or spare computer and so I think its something worth mentioning. I think you are extremely delusional. Linux as a whole is still only making it to about 1% of the Desktop market share.
|
|
BAF
Member #2,981
December 2002
|
shintaro said: Im just saying I was about to bag Allegro after seeing the Windows msvc express install instructions and use something else like SDL. That's why you don't compile it yourself unless you're a masochist or something. You gain nothing by doing that instead of just downloading pre-built binaries. |
|
hagen2
Member #11,570
December 2009
|
Ubuntu is all set for Allegro 4.2 and it is very easy to use. However, setting up AllegroGL is not as straight-forward as I had hoped. See my post on this. I've been testing out two IDEs. Eclipse and Geany. I'm sure many of you are familiar with Eclipse + CDT. It's nice though Geany is very lightweight. To have it build your Allegro source, it's very simply : Build->Set Includes and Arguments, and then just add `allegro-config --libs` and you're set. Now if I could only establish all the dependencies required for Allegrogl. LennyLen said: I think you are extremely delusional. Linux as a whole is still only making it to about 1% of the Desktop market share. I recently read somewhere that close to one third of netbooks sold were Linux based. Check out google trends for Ubuntu versus Microsoft. You might be surprised. Matthew Leverton said: Nor are they willing to give up an excellent developing environment (MSVC) for Linux notepad. I understand that MSVC is a great environment, but how about Eclipse CDT + GDB? |
|
BAF
Member #2,981
December 2002
|
Google trends don't really mean anything... |
|
LennyLen
Member #5,313
December 2004
|
hagen2 said: I recently read somewhere that close to one third of netbooks sold were Linux based. Even if that's accurate, close to a third is not a big majority. And that figure was for all linux distros, not just for Ubuntu.
|
|
BAF
Member #2,981
December 2002
|
1/3 of netbooks? Netbooks are a small minority themselves, so that works out being tiny. |
|
Matthew Leverton
Supreme Loser
January 1999
|
hagen2 said: I understand that MSVC is a great environment, but how about Eclipse CDT + GDB? I've used Eclipse for Java on Windows, and it is a painfully slow IDE. Other than that, it seemed nice. |
|
Paul whoknows
Member #5,081
September 2004
|
BAF said: That's why you don't compile it yourself unless you're a masochist or something. You gain nothing by doing that instead of just downloading pre-built binaries.
I wish there were pre-built binaries for Allegro 4.4 MSVC2008 ____ "The unlimited potential has been replaced by the concrete reality of what I programmed today." - Jordan Mechner. |
|
shintaro
Member #7,502
July 2006
|
hagen2 said: I understand that MSVC is a great environment, but how about Eclipse CDT + GDB? CodeBlocks works very nicely as a gcc/mingw IDE in both Windows and Linux. When you start a project in CodeBlocks there is a default template for SDL. It would be nice if someone could make an Allegro template for CodeBlocks, or at least a custom template that could be downloaded here. |
|
LennyLen
Member #5,313
December 2004
|
shintaro said: It would be nice if someone could make an Allegro template for CodeBlocks, or at least a custom template that could be downloaded here. There is one, and it's available from the Wiki, on the Code::Blocks page.
|
|
hagen2
Member #11,570
December 2009
|
BAF said: Google trends don't really mean anything... I don't understand. Historical search volume and news reference volume from Google doesn't mean anything? I figured it would be better than my personal opinion. LennyLen said: Even if that's accurate, close to a third is not a big majority. And that figure was for all linux distros, not just for Ubuntu. You're right. I only wanted to point out an example where Linux is starting to gain support. Of course we're talking about low powered systems primarily with Intel integrated graphics. BAF said: 1/3 of netbooks? Netbooks are a small minority themselves, so that works out being tiny. I've read that 50 million netbooks are predicted to be sold in 2010. If that's true, more than 16 million additional Linux machines will be ready for your Allegro creations. Check out the trends for netbooks in the last two years. Matthew Leverton said: I've used Eclipse for Java on Windows, and it is a painfully slow IDE. Other than that, it seemed nice. I know what you mean. I wish it was snappier. shintaro said: CodeBlocks works very nicely as a gcc/mingw IDE in both Windows and Linux. I'll have to give that a try. |
|
Matthew Leverton
Supreme Loser
January 1999
|
Just because a netbook comes with Linux doesn't mean the owner doesn't put a (pirated) copy of Windows on it. Why Microsoft vs Ubuntu? That's like Activision vs Rock Band. Try Canonical vs Microsoft or Windows vs Ubuntu for a more fair comparison. |
|
hagen2
Member #11,570
December 2009
|
Matthew Leverton said: Just because a netbook comes with Linux doesn't mean the owner doesn't put a (pirated) copy of Windows on it. Yes that's true but it works both ways. People dual boot or remove Windows from their sold-with-windows netbooks in preference for Linux as well. Quote: Why Microsoft vs Ubuntu? That's like Activision vs Rock Band. Try Canonical vs Microsoft [www.google.com] or Windows vs Ubuntu [www.google.com] for a more fair comparison. I see your point about one company versus a product as a comparison. However, I didn't want to use just "Windows" because there are windows in nearly all operating systems and on many houses and building, etc. Very few folks are familiar with Canonical in comparison to their product; Ubuntu. I figured everything "Microsoft" (which can include their products such as Windows as well) versus the single Canonical product "Ubuntu" would be interesting no? |
|
|
1
2
|