The MASM Forum Archive 2004 to 2012

General Forums => The Campus => Topic started by: rags on March 05, 2006, 04:08:18 PM

Title: OA32 ver 1.3e compiling resource errors
Post by: rags on March 05, 2006, 04:08:18 PM
When trying to compile the demo apps included with oa32, using Radasm or the oa32 tools,
I keep getting this error ----fatal error RC1015: cannot open include file 'Resource.h'.
but, when I use the included make.bat it assembles and links fine.
Would this caused by not having a path set properly somewhere?
regards,
rags
Title: Re: OA32 ver 1.3e compiling resource errors
Post by: PBrennick on March 05, 2006, 04:36:00 PM
rags,
I do not use those tools but if you open a dos box and type ml.exe /? you will see that there is this option

Quote/I<name> Add include path

Undoubtedly this is what is being done in make.bat

You can type...
Quoteml.exe /? >AssemblerOptions.txt
to archive the available options so you can easily check whenever you need to and it is convenient and less errorprone to copy and paste.  This enables you to easily do this.

Paul
Title: Re: OA32 ver 1.3e compiling resource errors
Post by: Biterider on March 05, 2006, 05:25:20 PM
Hi rags
Check your masm.ini file in the RadAsm directory.

At the beginning it should be something like

[Enviroment]
1=path,c:\masm32\bin;
2=INCLUDE,C:\Masm32\ObjAsm32;C:\Masm32\ObjAsm32\Resources;C:\Masm32\ObjAsm32\Resources\Dialogs


If not, complete it and pay attention to the punctuation.

Regards,

Biterider
Title: Re: OA32 ver 1.3e compiling resource errors
Post by: rags on March 06, 2006, 03:22:37 AM
Biterider,
I got it working, thanks
rags