Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
more c++ stuff
#11
all these files are so confusing "file picker" etc. etc.
It's not easy as i don't know anything about
what I need and so. Can I use
Bloodsheed Dev C++ (based on some mingw libraries and the gcc compiler).
I'm not very good at C/C++ (btw can I use allegro with C++?)
but my C++ book only contains theory and the language itself
using nearly only cin/cout...
/post]
Reply
#12
Quote:all these files are so confusing "file picker" etc. etc.
It's not easy as i don't know anything about
what I need and so. Can I use
Bloodsheed Dev C++ (based on some mingw libraries and the gcc compiler).
I'm not very good at C/C++ (btw can I use allegro with C++?)
but my C++ book only contains theory and the language itself
using nearly only cin/cout...

Last week I installed Dev C++ and MingW and Allegro. I compiled allegro fine, just followed the instructions. If you don't mind reinstalling and redownloading things then just follow this:

Download http://208.247.248.26/~matthew/files/4.0.2/all402.zip
Unzip it and look in the allegro/docs/build/mingw32.txt and follow the installing allegro with Dev C++. If you have any questions you can PM or post here.
Reply
#13
actually, i'd say the most widely used libraries are directx and opengl. you can interface them both directly. the diff with allegro and sdl is that they are portable. opengl is only for windows and linux. direct is only for windows. sdl is almost perfectly similar to directx so i'd suggest that for porting your directx programs to other platforms. allegro is slower than sdl, but it has other little libraries stitched into it, sort of like the difference between ugl and future library in qbasic. also, there's another level of detachment (blit here), making it slightly (but by a very little amount) easier. i'd suggest learning:

a) directx
b) opengl

those are what you're going to want to use in the future. it's what they teach in classes. it's what they use in business. if you must use an intermediate library, i'd suggest sdl, since it's so close to directx. allegro, to me, is good for the sole purpose of porting your dos allegro programs to 32-bit operating systems, which is a very noble purpose.
i]"I know what you're thinking. Did he fire six shots or only five? Well, to tell you the truth, in all this excitement, I've kinda lost track myself. But being as this is a .44 Magnum ... you've got to ask yourself one question: 'Do I feel lucky?' Well, do ya punk?"[/i] - Dirty Harry
Reply
#14
I've tried to follow the Devcpp/mingw install instructions for
allegro but when it comes to build the lib it says

make

like it was an command line instruction or a program
but there is no such program...
/post]
Reply
#15
"MAKE.EXE" reads a MAKEFILE and calls the compilers and linkers when several files have to be compiled together from the command line. You can find a MAKE in MSVC, another in DJGPP ... Its format is generic, like with LINK.EXE and such.

I think that you *need* DJGPP installed and working to compile allegro (I needed it to compile Allegro DLLs for the MSVC platform). Otherwise you can go directly and download the binaries (precompiled DLLs), which would make your life easier.
SCUMM (the band) on Myspace!
ComputerEmuzone Games Studio
underBASIC, homegrown musicians
[img]http://www.ojodepez-fanzine.net/almacen/yoghourtslover.png[/i
Reply
#16
Quote:I've tried to follow the Devcpp/mingw install instructions for
allegro but when it comes to build the lib it says

make

like it was an command line instruction or a program
but there is no such program...

Yeah I had the same problem. What I did was download the exact packages e.g. MingGW 1 and Dev C 4. I'm not sure why there's the problem with not including the actual make program, but I think you can download it individually from the MingGW website. http://www.mingw.org/
Reply
#17
the newest version of mingw renames make.exe to cant remember exactly but somesthing like make-win32.exe, just create a shortcut in that directory to point to it called make, and itll work fine.

Mingw does not need djgpp to compile its libs, but msvc does.

The best instruction you will ever find to install allegro:
http://www.allegro.cc/files/install-devcpp.html

and yes allegro works in c++, by an extern c, but for a beginner you wouldnt know the difference at all, but yeah.
b]Hard Rock[/b]
[The Stars Dev Company] [Metal Qb flopped] [The Terror]
Stop Double Posts!
Whats better? HTML or Variables?
Reply
#18
So dev c++ is only a gui to the mingw compiler?
-then I maybe should just move dev c++ to the
trashcan and make some console compilation
with mingw, is that easier? But I'm not used to compiling/linking
etc with the console... Is it a lot to learn?
/post]
Reply
#19
Quote:So dev c++ is only a gui to the mingw compiler?
-then I maybe should just move dev c++ to the
trashcan and make some console compilation
with mingw, is that easier? But I'm not used to compiling/linking
etc with the console... Is it a lot to learn?

Yes Dev C++ is an IDE. You can download it standalone, or with MingGW or CygWIN. Console apps are just text, but they are not MS-DOS as you can only use text in them.
Reply
#20
what is the djgpp compiler like?
I've heard it's the recommended when you use allegro...
Is allegro easier to install with djgpp?
Does djgpp compile c++ or only c (I want c++)
But djgpp is only for dos? Has allegro windows(/linux) api(/linux api-like)
Functions and usages?

Three big question?

-What shall I do?
-How shall I do It?
-Where can I get the stuff?

(Probably I will not respond for some time as my family and I
are going to London for a week)
/post]
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)