The Daily Click ::. Forums ::. Non-Klik Coding Help ::. C++
 

Post Reply  Post Oekaki 
 

Posted By Message

viva/volt

Awesome Sauce

Registered
  26/08/2006
Points
  1694

Game of the Week WinnerSilverNova MemberKlikCast StarVIP Member
25th February, 2008 at 02:04:44 -

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.

GO!

 
Image
http://bfollington.tumblr.com

Cecilectomy

noPE

Registered
  19/03/2005
Points
  305

Has Donated, Thank You!VIP MemberWeekly Picture Me This Winner!Cardboard BoxGhostbuster!Pokemon Ball!ComputerBox RedSanta HatSnowman
I am an April Fool
25th February, 2008 at 02:18:16 -

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.

http://www.bloodshed.net/dev/devcpp.html

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.

how fluent in c++ are you?

 
n/a

viva/volt

Awesome Sauce

Registered
  26/08/2006
Points
  1694

Game of the Week WinnerSilverNova MemberKlikCast StarVIP Member
25th February, 2008 at 03:43:09 -

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.

 
Image
http://bfollington.tumblr.com

axel

Crazy?

Registered
  05/02/2005
Points
  4766

Game of the Week WinnerYou've Been Circy'd!
25th February, 2008 at 05:05:17 -

1. Did you install Allegro manually, or did you use the Dev-C++ update/devpak system?

2. Are you using Windows Vista? I had problems getting Allegro to work properly on Vista, too. Fortunately, there's a very simple solution to that...

Image Edited by the Author.

 
n/a

markno2



Registered
  06/06/2006
Points
  865

Game of the Week WinnerVIP MemberPicture Me This Round 30 Winner!Weekly Picture Me This Round 39 Winner!Kliktober Special Award Tag
25th February, 2008 at 05:47:27 -

Where do you download C++ ?

 
Discarded pizza boxes are an indispensable source of cheese.

Cecilectomy

noPE

Registered
  19/03/2005
Points
  305

Has Donated, Thank You!VIP MemberWeekly Picture Me This Winner!Cardboard BoxGhostbuster!Pokemon Ball!ComputerBox RedSanta HatSnowman
I am an April Fool
25th February, 2008 at 06:05:02 -

i do beleive it has to do with linking.

you have to go into the templates folder and change the file "allegro.template".
the line that has the path to the linker should look like this

Linker=C:\Dev-Cpp\lib\liballeg.a

or just custom you whole template file like i did.
mine looks like this

[Template]
ver=1
Name=Allegro Application
IconIndex=0
Description=Allegro application
Catagory=Basic

[Unit0]
CName=main.c
CppName=main.cpp
C=allegro.txt
Cpp=allegro.txt

[Project]
UnitCount=1
Type=0
Name=Allegro App
Linker=C:\Dev-Cpp\lib\liballeg.a

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.

 
n/a

Cecilectomy

noPE

Registered
  19/03/2005
Points
  305

Has Donated, Thank You!VIP MemberWeekly Picture Me This Winner!Cardboard BoxGhostbuster!Pokemon Ball!ComputerBox RedSanta HatSnowman
I am an April Fool
25th February, 2008 at 06:07:34 -

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).

 
n/a

markno2



Registered
  06/06/2006
Points
  865

Game of the Week WinnerVIP MemberPicture Me This Round 30 Winner!Weekly Picture Me This Round 39 Winner!Kliktober Special Award Tag
25th February, 2008 at 06:18:56 -

It was a joke. :}

 
Discarded pizza boxes are an indispensable source of cheese.

viva/volt

Awesome Sauce

Registered
  26/08/2006
Points
  1694

Game of the Week WinnerSilverNova MemberKlikCast StarVIP Member
26th February, 2008 at 00:41:51 -

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 :\.

Oh and Axel, nope XP here.

 
Image
http://bfollington.tumblr.com

Cecilectomy

noPE

Registered
  19/03/2005
Points
  305

Has Donated, Thank You!VIP MemberWeekly Picture Me This Winner!Cardboard BoxGhostbuster!Pokemon Ball!ComputerBox RedSanta HatSnowman
I am an April Fool
26th February, 2008 at 01:21:33 -

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.

 
n/a

viva/volt

Awesome Sauce

Registered
  26/08/2006
Points
  1694

Game of the Week WinnerSilverNova MemberKlikCast StarVIP Member
26th February, 2008 at 06:20:54 -

Heh whaddaya know all the forum posts end without it being solved .

I've got all the compiler files, it just says it can't find them... I'll keep working this out, get back to you guys later etc.

 
Image
http://bfollington.tumblr.com

Tim

I'm on here way too much

Registered
  25/08/2006
Points
  132

You've Been Circy'd!Clickzine StaffSilverNova MemberVIP MemberTurtle Power!Evil klikerWii OwnerHero of TimeGhostbuster!Pokemon Ball!
26th February, 2008 at 16:55:45 -

Ben, email Josh. word.

 
http://www.SilverNova.co.uk


Cecilectomy

noPE

Registered
  19/03/2005
Points
  305

Has Donated, Thank You!VIP MemberWeekly Picture Me This Winner!Cardboard BoxGhostbuster!Pokemon Ball!ComputerBox RedSanta HatSnowman
I am an April Fool
26th February, 2008 at 18:34:12 -

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.

 
n/a

J.R.P



Registered
  16/08/2007
Points
  384
7th March, 2008 at 04:10:26 -

Dont you need a diploma to learn C++!

 
That there is one damn fine coat your wearin.

Deleted User
7th March, 2008 at 09:28:00 -

I'm afraid so. +word

 

axel

Crazy?

Registered
  05/02/2005
Points
  4766

Game of the Week WinnerYou've Been Circy'd!
7th March, 2008 at 10:41:16 -

Yeah, it's some highly esoteric knowledge, you know.

 
n/a

DaVince

This fool just HAD to have a custom rating

Registered
  04/09/2004
Points
  7998

Game of the Week WinnerClickzine StaffHas Donated, Thank You!Cardboard BoxDos Rules!
16th April, 2008 at 11:01:32 -

Isn't Dev-CPP getting horribly old by now? Are the devpacks still even being updated?

 
Old member (~2004-2007).

Cecilectomy

noPE

Registered
  19/03/2005
Points
  305

Has Donated, Thank You!VIP MemberWeekly Picture Me This Winner!Cardboard BoxGhostbuster!Pokemon Ball!ComputerBox RedSanta HatSnowman
I am an April Fool
16th April, 2008 at 11:05:33 -

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

Game of the Week WinnerClickzine StaffHas Donated, Thank You!Cardboard BoxDos Rules!
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.

 
Old member (~2004-2007).

Cecilectomy

noPE

Registered
  19/03/2005
Points
  305

Has Donated, Thank You!VIP MemberWeekly Picture Me This Winner!Cardboard BoxGhostbuster!Pokemon Ball!ComputerBox RedSanta HatSnowman
I am an April Fool
16th April, 2008 at 14:32:25 -

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.

 
n/a

Knudde (Shab)

Administrator
Crazy?

Registered
  31/01/2003
Points
  5125

Has Donated, Thank You!Clickzine StaffKlikCast StarVIP MemberGhostbuster!Dos Rules!I donated an open source project
4th May, 2008 at 14:18:33 -

I'm using DevkitARM 22, but that's for DS coding (which I suck horribly at)

 
Craps, I'm an old man!

Cecilectomy

noPE

Registered
  19/03/2005
Points
  305

Has Donated, Thank You!VIP MemberWeekly Picture Me This Winner!Cardboard BoxGhostbuster!Pokemon Ball!ComputerBox RedSanta HatSnowman
I am an April Fool
4th May, 2008 at 15:23:05 -

@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.

 
n/a

viva/volt

Awesome Sauce

Registered
  26/08/2006
Points
  1694

Game of the Week WinnerSilverNova MemberKlikCast StarVIP Member
5th May, 2008 at 01:51:42 -


Originally Posted by Knudde (Shab)
I'm using DevkitARM 22, but that's for DS coding (which I suck horribly at)



Hah and I thought I was the only one here who'd tried this, just managed to make my instance system I was asking about before this edit .

What library are you using, libnds or PAlib? (I'm using PA)

Image Edited by the Author.

 
Image
http://bfollington.tumblr.com

Cecilectomy

noPE

Registered
  19/03/2005
Points
  305

Has Donated, Thank You!VIP MemberWeekly Picture Me This Winner!Cardboard BoxGhostbuster!Pokemon Ball!ComputerBox RedSanta HatSnowman
I am an April Fool
10th September, 2008 at 04:42:50 -

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.

 
n/a

Muz



Registered
  14/02/2002
Points
  6499

VIP MemberI'm on a BoatI am an April FoolHonored Admin Alumnus
12th September, 2008 at 00:20:39 -

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.

Image

Johnny Look

One Happy Dude

Registered
  14/05/2006
Points
  2942

VIP Member
12th September, 2008 at 02:56:33 -

rofl at thread digging

 
n/a

Cecilectomy

noPE

Registered
  19/03/2005
Points
  305

Has Donated, Thank You!VIP MemberWeekly Picture Me This Winner!Cardboard BoxGhostbuster!Pokemon Ball!ComputerBox RedSanta HatSnowman
I am an April Fool
12th September, 2008 at 08:17:32 -

it was still on page one of the forum so it hardly counts as digging since its still relevant

 
n/a

Johnny Look

One Happy Dude

Registered
  14/05/2006
Points
  2942

VIP Member
12th September, 2008 at 16:12:40 -

My bad I didn't notice this was on the Programmers Union forum aka dead forum.

 
n/a

Muz



Registered
  14/02/2002
Points
  6499

VIP MemberI'm on a BoatI am an April FoolHonored Admin Alumnus
13th September, 2008 at 08:01:47 -

Real programmers don't use MMF

 
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.

Image

GrayFox



Registered
  09/10/2008
Points
  6
9th October, 2008 at 11:10:13 -


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!

 
http://www.gamersforums.net/
   

Post Reply



 



Advertisement

Worth A Click