c++ - Cant find include files
- %u (7/7) Aug 30 2011 Is there something special i have to do to get the compiler to find
- Jan Knepper (7/14) Aug 30 2011 How are you invoking the compiler?
- ab (14/14) Aug 30 2011 I am invoking the compiler by command line.
- Bertel Brander (4/17) Aug 30 2011 I'm not an expert, but I think that the problem is that
- ab (1/1) Aug 31 2011 Closer, now it just has a Symbol Undefined for _bios_serialcom
- Walter Bright (2/3) Aug 31 2011 The bios functions only are defined for real mode programming, not for W...
- ab (1/1) Jan 12 2012 This may be dumb, but how do i compile this for real mode programming?
Is there something special i have to do to get the compiler to find the specified include files? I am trying use to use the BIOS.H file. If i do a #include <bios.h> the compiler complains it cant find the attributes im using _COM_SEND etc. I have also tried doing #include "bios.h" and moving the file to the same folder, same output. Is there some switch im missing? Right now im just running DMC.exe main, for my file main.c.
Aug 30 2011
How are you invoking the compiler? - Command Line? - IDDE? Do you have environment variable INCLUDE set? Do you have an sc.ini in the ~/bin directory? If so, what does it contain? On 08/30/2011 02:15 PM, %u wrote:Is there something special i have to do to get the compiler to find the specified include files? I am trying use to use the BIOS.H file. If i do a #include<bios.h> the compiler complains it cant find the attributes im using _COM_SEND etc. I have also tried doing #include "bios.h" and moving the file to the same folder, same output. Is there some switch im missing? Right now im just running DMC.exe main, for my file main.c.
Aug 30 2011
I am invoking the compiler by command line. I do not have the environmental variable set. I was under the impression if you either had the file in the same directory or had the sc.ini you did not need to do this. My sc.ini contains: [Version] version=7.51 Build 020 [Environment] PATH=%PATH%;"% P%\..\bin" BIN="% P%\..\bin" INCLUDE="% P%\..\include";"% P%\..\mfc\include";%INCLUDE% LIB="% P%\..\lib";"% P%\..\mfc\lib";%LIB% HELP="% P%\..\help" Thanks,
Aug 30 2011
Den 30-08-2011 23:00, ab skrev:I am invoking the compiler by command line. I do not have the environmental variable set. I was under the impression if you either had the file in the same directory or had the sc.ini you did not need to do this. My sc.ini contains: [Version] version=7.51 Build 020 [Environment] PATH=%PATH%;"% P%\..\bin" BIN="% P%\..\bin" INCLUDE="% P%\..\include";"% P%\..\mfc\include";%INCLUDE% LIB="% P%\..\lib";"% P%\..\mfc\lib";%LIB% HELP="% P%\..\help"I'm not an expert, but I think that the problem is that what's in bios.h is disabled when you have __NT__ defined, and I think it is by default.
Aug 30 2011
Closer, now it just has a Symbol Undefined for _bios_serialcom
Aug 31 2011
On 8/31/2011 6:33 AM, ab wrote:Closer, now it just has a Symbol Undefined for _bios_serialcomThe bios functions only are defined for real mode programming, not for Win32.
Aug 31 2011
This may be dumb, but how do i compile this for real mode programming?
Jan 12 2012