Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

Compiling Heretic Source Code

Recommended Posts

I installed the Watcom compiler and put the heretic source code in the bin to try and compile. I'm getting errors saying it can't open dos.h and can't open stdlib.h

both dos.h and stdlib.h are in the bin folder though

Please Help

Thank You

Share this post

Link to post

I don't know for sure how the Watcom compiler works, but maybe you need to setup some paths somewhere to the compiler's include directory (don't just copy files over!). There must be a document describing how to do that inside the compiler package.

Share this post

Link to post

Most people in the DOOM community use free-software compilers such as gcc. I compile Eternity on MinGW and DJGPP, which are gcc variants for Microsoft OSes, and on Visual C++, which is MS's proprietary Win32 compiler (Visual C++ is extremely expensive, so good luck getting ahold of it...).

Your problems with Watcom might be either due to a version difference between the compiler that id/Raven used and what you have, or due to a platform issue (DOOM was cross-compiled for DOS on NeXTStep machines IIRC).

Share this post

Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now