User Name Password Register
DaniWeb IT Discussion Community
All
What is DaniWeb IT Discussion Community?
You're currently browsing the Software Developers' Lounge section within the Software Development category of DaniWeb, a massive community of 391,689 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 3,224 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our Software Developers' Lounge advertiser:
Views: 474 | Replies: 4
Reply
Join Date: Feb 2008
Posts: 2
Reputation: Zanpakuto is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
Zanpakuto Zanpakuto is offline Offline
Newbie Poster

Help Installing Allegro for Bloodshed

  #1  
Jun 29th, 2008
I'm trying to install Allegro for my Bloodshed compiler, but I seem to be having trouble adding the MINGDIR to my path. I've gotten to my environmental variables, clicked path and edit and added C:\Dev-Cpp\bin to the beginning of my path.

I've done 'gcc -v' in command line and gotten the appropriate blurb. I can get through the fix.bat mingw step with no problem. However, when I do the make command, I get "Your MINGDIR environmental variable is not set. I've looked at the ming32.txt doc, but I can't figure out what "then modify PATH and add MINGDIR" means.

I've tried adding c:\MINGW to my path and c:\MINGDIR to my path. I even added a variable named MINGDIR and set it to c:\MINGW, but that didn't work either. When I try to do make install I get error messages. When I try to run Allegro programs in Dev_C++, I getI've been at this for a few hours now and I'd really appreciate some help. <allegro.> no such file or directory.

I have already installed DirectX and added sdk...bin to binaries, lib to libraries, and include to both c include and c++include. I'm at my whit's end. Any help would be greatly appreciated.
AddThis Social Bookmark Button
Reply With Quote  
Join Date: Jun 2008
Location: new york
Posts: 248
Reputation: sciwizeh is an unknown quantity at this point 
Rep Power: 1
Solved Threads: 10
sciwizeh's Avatar
sciwizeh sciwizeh is offline Offline
Posting Whiz in Training

Re: Help Installing Allegro for Bloodshed

  #2  
Jul 1st, 2008
in dev-cpp with your project open, go to Project->Project Options go to the parameters tab under linker type -lalleg
hope this helps
My site
"If people are good only because they fear punishment, and hope for reward, then we are a sorry lot indeed.",
"If we knew what it was we were doing, it would not be called research, would it? "
-Albert Einstein
Reply With Quote  
Join Date: Feb 2008
Posts: 2
Reputation: Zanpakuto is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
Zanpakuto Zanpakuto is offline Offline
Newbie Poster

Re: Help Installing Allegro for Bloodshed

  #3  
Jul 3rd, 2008
Originally Posted by sciwizeh View Post
in dev-cpp with your project open, go to Project->Project Options go to the parameters tab under linker type -lalleg
hope this helps


No dice. When I try to compile a program, I get "main.cpp allegro.h: No such file or directory. " Any other suggestions?
Reply With Quote  
Join Date: Jun 2008
Location: new york
Posts: 248
Reputation: sciwizeh is an unknown quantity at this point 
Rep Power: 1
Solved Threads: 10
sciwizeh's Avatar
sciwizeh sciwizeh is offline Offline
Posting Whiz in Training

Re: Help Installing Allegro for Bloodshed

  #4  
Jul 3rd, 2008
does your plain "hello world" work in bloodshed?
#include <cstdlib>
#include <iostream>

using namespace std;

int main(int argc, char *argv[])
{
    system("PAUSE");
    return EXIT_SUCCESS;
}

you should see press any key... it should work

if that works i would try to reinstall allegro, from within bloodshed:
1) tools>check for updates/packages
2) from the first drop down select devpaks.org community devpaks
3) click check for updates
4) in the second drop down select allegro
5) select allegro
6) click download selected
7) follow the rest of the instructions onscreen

if this works you can do 1 of 2 things to use allegro, start a new windows application and do my
previous post, or, go to multimedia in a new project and select allegro application
if "hello world" doesn't work reinstall bloodshed Dev-C++

hope this helps
Last edited by sciwizeh : Jul 3rd, 2008 at 8:37 am.
My site
"If people are good only because they fear punishment, and hope for reward, then we are a sorry lot indeed.",
"If we knew what it was we were doing, it would not be called research, would it? "
-Albert Einstein
Reply With Quote  
Join Date: Jun 2008
Location: new york
Posts: 248
Reputation: sciwizeh is an unknown quantity at this point 
Rep Power: 1
Solved Threads: 10
sciwizeh's Avatar
sciwizeh sciwizeh is offline Offline
Posting Whiz in Training

Re: Help Installing Allegro for Bloodshed

  #5  
Jul 10th, 2008
uh did that help at all?
My site
"If people are good only because they fear punishment, and hope for reward, then we are a sorry lot indeed.",
"If we knew what it was we were doing, it would not be called research, would it? "
-Albert Einstein
Reply With Quote  
Reply

Only community members can participate in forum threads. You must register or log in to contribute.

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 

DaniWeb Software Developers' Lounge Marketplace
Thread Tools Display Modes

Other Threads in the Software Developers' Lounge Forum

All times are GMT -4. The time now is 2:29 am.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC