i followed all the steps listed but for some reason when i input the final code i get errors like: c:\allegro\allegro1\allegro1\main.cpp(4): error C3861: 'allegro_init': identifier not found
i did make sure to add the alld.lib under the right area. what am i doing wrong?
When I try to run my program it comes up with the error "LINK : fatal error LNK1561: entry point must be defined" and at around 3:27 at the part with "Additional Dependencies" mine looked different, in the parenthesis after alld.lib mine says NOINHERIT. Now i changed mine to what is in the video but it came up with a different error. =/
Sorry if this is a stupid question, but I've noticed that you've gotten intellisense to work for VS2010 Ultimate. How did you do this? I thought MS disabled it for VC++ because it was buggy.
Allegro's pretty kick ass. I used it back in 9th grade for a physics simulation for a class project. Simple 2D objects, but, I found Allegro to be intellectually stimulating for my curiosity towards C++ game development.
I've been searching and searching for an answer to this question but can't find anything. Any changes in the c++ language from 2008 - 2010? Just wondering plz answer.
When I make a new project and want to start programming. The codes do not have any color.. (In all tutorials I have seen ther is collor on the code text)
@malchiah9090 Not entirely true, syntax highlighting organizes your code and make your code less prone to spelling errors. Using syntax highlighting doesn't make you a neophyte. Unless you like to get errors in your code fine with me--but I'm sure you don't. So don't get to cocky, you were once a neophyte when you started programming. Unless you were I a prodigy at programming which I'm skeptical you were.
@token2d The problem seems to be running as debug instead of release. Something about dlls, I'm not really sure. What am I sure of is that choosing release instead of debug solves the problem.
@Nitros8891 I don't think version matters, what matters is the concept behind it. And I think visual c++ 2008 and visual studio 2008 is the same thing.
It could do without the music, but the tutorial is still helpful. I tried this in 08 version and kept getting run errors, downloaded 2010 version and it worked perfectly. Must be compiling wrong or something.
@token2d It's not your guide that's wrong it's my 08 version. I keep getting an error or run time. Native' has exited with code -1072365566 (0xc0150002).
The previous errors are egro_testrun.exe' : Loaded 'C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\bin\alld42.dll', Cannot find or open the PDB file
i followed all the steps listed but for some reason when i input the final code i get errors like: c:\allegro\allegro1\allegro1\main.cpp(4): error C3861: 'allegro_init': identifier not found
i did make sure to add the alld.lib under the right area. what am i doing wrong?
TheMegasplosion 2 weeks ago
I have to do include allegro5/allegro.h to get that to work after which allegro_init() is undefined as is everything else you use there after.
Nyixta 2 weeks ago
Thank you!
LOOKitsBART 3 months ago
this would be so much easier if you used commentary.... oh well I guess this will work
x7Firedog7x 4 months ago
TX DUDE.
laloanany 5 months ago
You're using the standard Windows Live Messenger to chat with a baby? How sick is that? :-D
patlecat 6 months ago
does this work for msvc 8 as well?
mgial 8 months ago
@mgial Yes, you have just to get a version for MSVC 8 from allegro.cc
Kakashi1309 3 days ago
When I try to run my program it comes up with the error "LINK : fatal error LNK1561: entry point must be defined" and at around 3:27 at the part with "Additional Dependencies" mine looked different, in the parenthesis after alld.lib mine says NOINHERIT. Now i changed mine to what is in the video but it came up with a different error. =/
mjb1192 9 months ago
@mjb1192 one thing i forgot, i'm also using Visual C++ 2005. that might have something to do with it.
mjb1192 9 months ago
what did u type in EDIT?
Josue12hbk 10 months ago
thank you!
saa442 10 months ago
However, intellisense for native C++ is superb, much better than previous versions.
Thebrujo1986 1 year ago
Sorry if this is a stupid question, but I've noticed that you've gotten intellisense to work for VS2010 Ultimate. How did you do this? I thought MS disabled it for VC++ because it was buggy.
Danellos 1 year ago
@Danellos
Microsoft disabled intellisense only for C++/CLI due to time constrains and resources.
Thebrujo1986 1 year ago
Allegro's pretty kick ass. I used it back in 9th grade for a physics simulation for a class project. Simple 2D objects, but, I found Allegro to be intellectually stimulating for my curiosity towards C++ game development.
aricholland 1 year ago
terrible video, no dialogue, no explaination your just going all over the place
imaDINOrawr00 1 year ago
Nice !!!!!!!
blackzerogamer 1 year ago
Thank you very much! i subbed you!
wowlaxis 1 year ago
@wowlaxis
:)) I'm actually learning Java right now, taking a pause from Allegro. More how-tos in near future for sure.
token2d 1 year ago
@ichiman14 I have been having the same problem. What do you mean by "set-up the linker"?
bob4something 1 year ago
Thanks alot token2d
Shofahi 1 year ago
great one!
praffulsahu 1 year ago
works thanks
ddhhT 1 year ago
Thx man, finally allegro installing tutorial that isn't piece of crap :)
Meic89 1 year ago
By the way, anyhow how to make the numbers appear in orange like it does for you? Like how 0 0 and 225 are orange in " makecol(0,0,255)) "
NaturalDre 1 year ago
Thank you SO much!! The crap they have in the ReadMe file does not help at all, but this worked. Thanks :)
By the way, I used the 10.0 files from the website instead of the 9.0
NaturalDre 1 year ago
why the hell did you not include a link in discription
101abob 1 year ago
thx, this helped!
zustLoj 1 year ago
Thanks man, this helped alot!!
Infinite101001 1 year ago
I got a linker error even though I set up the alld.lib like you did.
SoundOnly00 1 year ago
This worked perfectly for me. I did exactly what you did, and I had zero errors. Thanks brother!!!!
ArunBJJ 1 year ago
I've been searching and searching for an answer to this question but can't find anything. Any changes in the c++ language from 2008 - 2010? Just wondering plz answer.
ZepSung 1 year ago
@ZepSung 1. Micro$oft does not hcange the C++ langue
2. mariusbancila(DOT)ro/blog/2010/04/02/visual-studio-2010-changes-for-vc-summary/
MrMelonBread 1 year ago
I got
error PRJ0003 : Error spawning 'cmd.exe'.
after changing the input to alld.lib
flektrum 2 years ago
is the a low tek d&B track or an urban break? who is it? you should check out TJ REMI.
Netstatab 2 years ago
Hey, followed your guide but having this problem when trying to run allegro:
1>------ Build started: Project: all, Configuration: Debug Win32 ------
1> allegrotest.cpp
1>MSVCRTD.lib(crtexe.obj) : error LNK2019: unresolved external symbol _main referenced in function ___tmainCRTStartup
1>c:\documents and settings\mina dokument\visual studio 2010\Projects\all\Debug\all.exe : fatal error LNK1120: 1 unresolved externals
= Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped =
please help
SchtekarnFU 2 years ago
thanks this helped a lot
Gills3339 2 years ago
I have C++ 2008..
When I make a new project and want to start programming. The codes do not have any color.. (In all tutorials I have seen ther is collor on the code text)
And I can´t programman without the color.
I can´t start the program/game I made..
Help plz
TheYoGamer 2 years ago
@TheYoGamer Goto Tools->Options->Fonts and color.
There you will see colors and fonts for all your syntax, comments and other lot of features you can customize.
token2d 2 years ago
@TheYoGamer You can program without the color.. Syntaxhighlighting is for nubs..
malchiah9090 1 year ago
@malchiah9090 idiot, 'I could not. Cuz ur a n00b.
The problem was that I named the file .ccp insted of .cpp
TheYoGamer 1 year ago
@TheYoGamer No, I'm pretty sure I'm not a noob.. Either way, you don't need syntaxhighlightin.
malchiah9090 1 year ago
@malchiah9090 uh, wtf how is it for nubs? lol i see microsoft programmers use syntax highlighting
irascib1e 1 year ago
@irascib1e Because its for nubs.
malchiah9090 1 year ago
@malchiah9090 Not entirely true, syntax highlighting organizes your code and make your code less prone to spelling errors. Using syntax highlighting doesn't make you a neophyte. Unless you like to get errors in your code fine with me--but I'm sure you don't. So don't get to cocky, you were once a neophyte when you started programming. Unless you were I a prodigy at programming which I'm skeptical you were.
monsterhunter445 1 year ago
ok, i did everything the video showed me and its not working. its says" The Application failed to initialize properly (0xc0150002)" please help me!
gamerxxps 2 years ago
@gamerxxps sorry for the late reply, but even I'm investigating on this problem.
token2d 2 years ago
thanks!
I needed help bad dude!
let me know if u come up with something!
: )
gamerxxps 2 years ago
@token2d The problem seems to be running as debug instead of release. Something about dlls, I'm not really sure. What am I sure of is that choosing release instead of debug solves the problem.
Bainemo 1 year ago
@gamerxxps I have exactly the same problem, hey, once u get how to solve it, can u send me a reply so i know how too? =D
Yitzu640 1 year ago
I found out what my problem was. I had installed the 8.0 version with the 9.0 version.
Martyj2009 2 years ago
This has been flagged as spam show
how can i get it on 2008???
Nitros8891 2 years ago
the process should be the same..
token2d 2 years ago
thanks man
Nitros8891 2 years ago
@Nitros8891 No problem dude!!
token2d 2 years ago
does this works with visual c++ 2008 express edition???....i dont want to install visual studio 2008....just express c++ edition....bye
Nitros8891 2 years ago
@Nitros8891 I don't think version matters, what matters is the concept behind it. And I think visual c++ 2008 and visual studio 2008 is the same thing.
token2d 2 years ago
@Nitros8891
*correction*
visual c++ 2008 and visual c++ 2008 express edition are the same thing
token2d 2 years ago
ok man thanks
Nitros8891 2 years ago
It could do without the music, but the tutorial is still helpful. I tried this in 08 version and kept getting run errors, downloaded 2010 version and it worked perfectly. Must be compiling wrong or something.
Martyj2009 2 years ago
It would seem kinda dull without music for 3 mins :) anyway, why doesn't it work on 08?? I tested it in 08 as well and it worked for me!!
token2d 2 years ago
@token2d It's not your guide that's wrong it's my 08 version. I keep getting an error or run time. Native' has exited with code -1072365566 (0xc0150002).
Martyj2009 2 years ago
@Martyj2009 Let me look at that funny little run-time error of yours.
token2d 2 years ago
@token2d I'll take a screen capture of it and upload it as a video response. I tried googling it, but there wasn't much on it.
Martyj2009 2 years ago
I'm getting the same problem. Keep my updated!
The previous errors are egro_testrun.exe' : Loaded 'C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\bin\alld42.dll', Cannot find or open the PDB file
It does this for some SysWOW64 things as well.
nightbyer 2 years ago