Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 635957
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T20:27:45+00:00 2026-05-13T20:27:45+00:00

I am trying to build a project with the allegro-msvc80-4.2.2 pre-built package. I’m using

  • 0

I am trying to build a project with the allegro-msvc80-4.2.2 pre-built package. I’m using Visual C++ Express Edition 2005 and have added the input library alld.lib and am including allegro.h asp per these instructions:

http://wiki.allegro.cc/index.php?title=Visual_C%2B%2B_Express_2005

When I compile, I get the fatal error:

C1083: Cannot open include file:
‘pc.h’: No such file or directory

This is because the allegro platform header file “aldjgpp.h” tries to include the nonexistent file (as well as others such as dpmi.h and unistd.h) if SCAN_DEPEND is undefined.

If I try defining SCAN_DEPEND, I get an error from alconfig.h saying “platform not supported.”

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-13T20:27:45+00:00Added an answer on May 13, 2026 at 8:27 pm

    That error indicates that you are not using the proper header files. The header files that come with the pre-built files are set appropriately.

    You should have an include/allegro/platform/alplatf.h file. For MSVC that should have one line:

    #define ALLEGRO_MSVC
    

    The best solution is to delete all instance of Allegro source from your computer, and redownload the file. Be sure to check your compiler’s directories for stray headers. The following command, as run from the cmd.exe prompt, will help you find any files.

    dir /s c:\allegro.h

    If you continue to use the old header files, you may run across other problems.

    Also, you may want to consider using Allegro 4.2.3, as it is the latest version of the 4.2 series. (Available at http://www.allegro.cc/files/.)

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a simple spring3,hibernate 3 project.When am trying to build the project using
I am trying to build a project using Boost's Asio and I am having
I'm trying to build my project using ANT. My project uses ActionbarSherlock, and Roboguice-Sherlock.
I am trying to build a project using TFS2010 Build.TFS resides on its own
I am trying to build a project using the newest release candidate of Scala
I'm trying to build a project in Ant, using BuildFile (build.xml). Although ANT_HOME environment
I am trying to build a project using Maven but I don't know Maven.
I am trying to build and run an android project using the phonegap framework.
I'm trying to build a new to me Visual C++ project (building it from
Possible Duplicate: compiling project with jdk1.5 using maven2 I am trying to build java

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.