I was just wondering, from those of you who code in C++ etc. What IDE's do you guys use and what libraries, I want to try allegro but I can't seem to get it set up properly :\. SDL seems alright but I'd like to know which you think is better.
on windows i use Dev-Cpp. you can download, install, and use various libraries directly from the ide's update system, including allegro, allegrogl, etc.
you can also download visual c++ 2008 express from http://www.msdn2.com for free. but allegro and other libraries are a bitch to get working correctly. use dev-cpp for ease of use.
on linux i just use the Kate text editor and g++ to compile from the konsole. Kate has color coded text for various coding languages including c++ html java etc. allegro in g++ has problems with sound playback if midi support is installed correctly. i still havent gotten sound to work yet in my allegro programs on linux.
I'm not very fluent >_> I'm trying to pick the best setup before I really lock myself into learning properly (I know basics etc though). Well I did everything I thought I was supposed to with Allegro and Dev-C++ but when I try to compile I get this error:
Originally Said By Dev-C++ C:\Dev-Cpp\proj\ALLEGRO\Makefile.win [Build Error] [main.o] Error 1
And under output:
Originally Said By Dev-C++ Executing make...
make.exe -f "C:\Dev-Cpp\proj\ALLEGRODAMMIT\Makefile.win" all
g++.exe -c main.cpp -o main.o -I"C:/Dev-Cpp/lib/gcc/mingw32/3.4.2/include" -I"C:/Dev-Cpp/include/c++/3.4.2/backward" -I"C:/Dev-Cpp/include/c++/3.4.2/mingw32" -I"C:/Dev-Cpp/include/c++/3.4.2" -I"C:/Dev-Cpp/include"
The system cannot find the path specified.
make.exe: *** [main.o] Error 1
Execution terminated
I hate being n00by but I honestly don't know what to do :S.
if youre using allegro dev-cpp is the way to go tho.
a note on allegro tho: if you have any warnings in your code, allegro may randomly crash while running applications.
oh and markno2. i posted 2 links to where you can download an ide for c++ programming. theres literally tons tho. and a lot are free (does not make them good tho).
Hmm I used the dev-pack but I've run into this before... I'll try that out cecil but even when I'm building something without any libraries Dev throws that error :\.
hmm well i wouldnt worry trying it if it throws that at you whenever you build. it probably has something to do with g++.
did you install dev-cpp with mingw? on that dl page theres 3 downloads. the first one is what you want. if thats the one you downloaded, try a fresh install. after that, i cant help. maybe googling for forum answers.
hmm. if you havent gone into the configuration settings yet that might be a good place to look. maybe its pointing things to the wrong places. bad path names, etc.
the last build was 2005 but dev packs are kept on a public repository and are up to date as far as i know. the ones i use are. its still better than msv imo. i use dev-cpp for allegro, allegroGL, OpenGL, and SDL game programming and msv-c++ for directx.
n/a
DaVince This fool just HAD to have a custom rating
Registered 04/09/2004
Points 7998
16th April, 2008 at 12:31:34 -
Hm. I use and feel more comfortable with Code::Blocks, even though there hasn't been an official public release in years (nightly builds though, which are very stable and good). It can also use Devpacks now that I think of it.
im learning a* pathfinding right now for an assignment. mouse in a maze.
my prof showed us how to do left hand/right hand pathfinding but that only works on walls. its good enough for the assignment but i always go all out lol.
@jon - i use dev-c++ for allegro programming and i fail to see how it is shite.
never the less i use msv-c++ for all my school work. and notepad for everthing else and just compile with g++ on linux.
ive gotten everything set up in visual studio express.
directx sdk (august 200, SDL, Allegro4.2.2, XNA studio, Dark GDK.
very pleased.
would it be worth it to buy visual studio 2008 pro? its like a 700$ purchase but my school for some reason is selling the discs and key for 130$. usually a used copy (no box or documentation, just a disc sleeve with the product key on it) with student discount so that accounts for the super low price. ive grown to love msv but does anyone know whats so much better about professional then express? one is free and the other is almost a $$grand.
I use Dev-C++ long before cecil visited these forums. It was great for its time, far above the horrible Borland and Turbo C++ that the unis provided for free. It's still good now, they fixed up a lot of the old bugs I hated. If any of you know a better one, let me know.
Disclaimer: Any sarcasm in my posts will not be mentioned as that would ruin the purpose. It is assumed that the reader is intelligent enough to tell the difference between what is sarcasm and what is not.
Disclaimer: Any sarcasm in my posts will not be mentioned as that would ruin the purpose. It is assumed that the reader is intelligent enough to tell the difference between what is sarcasm and what is not.
Originally Posted by J.R.P Dont you need a diploma to learn C++!
No, there are plenty of free tutorials and compilers out there. It's 100% possible to learn it without a diploma. (Or was that question a joke?) I should continue learning C++ sometime. I started on it last year, but lost interest after learning most of the basics. I'll get back to it eventually!