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

 
   

Post Reply



 



Advertisement

Worth A Click