Jump to content
  • Advertisement

Archived

This topic is now archived and is closed to further replies.

Bobby K

Allegro Help

This topic is 6296 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I just installed Allegro and although I dont know anything yet, I''ve been trying to compile and run the example files, and it does not work. Actually, when I open, say, ex1.c from the example folder, it compiles fine, but when I try to run it, it gives me linker errors. If I try to compile again, it can''t find ex1.c. If anyone knows what I''m doing wrong (because it''s probably something embarrasingly simple), I would appreciate any help. "You told your mother I''''d get ya home, but you didn''''t say I had no car. I saw the lion; he was standing alone, with a tadpole in a jar."

Share this post


Link to post
Share on other sites
Advertisement
quote:
Original post by Bobby K
it compiles fine, but when I try to run it, it gives me linker errors.


No offense, but did you link it with the Allegro libraries to produce an executable? As a beginner it took me a while to figure out multifile projects and how to use libraries. If the linker errors are mostly "unresolved external: blah blah blah", then this is your likely problem.

Share this post


Link to post
Share on other sites
No, I wasnt getting any ''unresolved external''s. Actually, I got the examples to compile fine now, but I tried to write my own file and compile it and it gave me the same errors I was getting before. I thought I might have messed up by placing the file in another folder, but I moved it to the same folder as the examples and the same thing is happening again.

"You told your mother I''''d get ya home,
but you didn''''t say I had no car.
I saw the lion; he was standing alone,
with a tadpole in a jar."

Share this post


Link to post
Share on other sites

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!