Added: 2 years ago
From: token2d
Views: 17,540
Sort by time | Sort by thread (beta)

Link to this comment:

Share to:

All Comments (69)

Sign In or Sign Up now to post a comment!
  • i followed all the steps listed but for some reason when i input the final code i get errors like: c:\allegro\allegro1\allegro1\m­ain.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?

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

  • Thank you!

  • this would be so much easier if you used commentary.... oh well I guess this will work

  • TX DUDE.

  • You're using the standard Windows Live Messenger to chat with a baby? How sick is that? :-D

  • does this work for msvc 8 as well?

  • @mgial Yes, you have just to get a version for MSVC 8 from allegro.cc

  • 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 one thing i forgot, i'm also using Visual C++ 2005. that might have something to do with it.

  • what did u type in EDIT?

  • thank you!

  • However, intellisense for native C++ is superb, much better than previous versions.

  • 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

    Microsoft disabled intellisense only for C++/CLI due to time constrains and resources.

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

  • terrible video, no dialogue, no explaination your just going all over the place

  • Nice !!!!!!!

  • Thank you very much! i subbed you!

  • @wowlaxis

    :)) I'm actually learning Java right now, taking a pause from Allegro. More how-tos in near future for sure.

  • @ichiman14 I have been having the same problem. What do you mean by "set-up the linker"?

  • Thanks alot token2d

  • great one!

  • works thanks

  • Thx man, finally allegro installing tutorial that isn't piece of crap :)

  • 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)) "

  • 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

  • why the hell did you not include a link in discription

  • thx, this helped!

  • Thanks man, this helped alot!!

  • I got a linker error even though I set up the alld.lib like you did.

  • This worked perfectly for me. I did exactly what you did, and I had zero errors. Thanks brother!!!!

  • 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. Micro$oft does not hcange the C++ langue

    2. mariusbancila(DOT)ro/blog/2010­/04/02/visual-studio-2010-chan­ges-for-vc-summary/

  • I got

    error PRJ0003 : Error spawning 'cmd.exe'.

    after changing the input to alld.lib

  • is the a low tek d&B track or an urban break? who is it? you should check out TJ REMI.

  • 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.ex­e : fatal error LNK1120: 1 unresolved externals

    = Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped =

    please help

  • thanks this helped a lot

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

  • @TheYoGamer You can program without the color.. Syntaxhighlighting is for nubs..

  • @malchiah9090 idiot, 'I could not. Cuz ur a n00b.

    The problem was that I named the file .ccp insted of .cpp

  • @TheYoGamer No, I'm pretty sure I'm not a noob.. Either way, you don't need syntaxhighlightin.

  • @malchiah9090 uh, wtf how is it for nubs? lol i see microsoft programmers use syntax highlighting

  • @irascib1e Because its for nubs.

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

  • 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 sorry for the late reply, but even I'm investigating on this problem.

  • thanks!

    I needed help bad dude!

    let me know if u come up with something!

    : )

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

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

  • I found out what my problem was. I had installed the 8.0 version with the 9.0 version.

  • the process should be the same..

  • thanks man

  • @Nitros8891 No problem dude!!

  • does this works with visual c++ 2008 express edition???....i dont want to install visual studio 2008....just express c++ edition....bye

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

  • @Nitros8891

    *correction*

    visual c++ 2008 and visual c++ 2008 express edition are the same thing

  • ok man thanks

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

  • 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 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 Let me look at that funny little run-time error of yours.

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

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

Loading...
Alert icon
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more