sccr13plyr
Programmer
Hello,
I am new to the forum and new to REXX. I am having a problem with making changes to a REXX build script.
I have a MSVC++ 6.0 application I created. Using the Visual Studio Build and using nmake from the commandline works wonderfully. However, when calling nmake through REXX it blows up in a really strange situation.
Basically, the application is one executable that has dependent static libraries that are built inside the makefile.
c:\> nmake /f viewer.mak
nmake /f artlib.mak
nmake /f complib.mak
Again, when doing this the top makefile that calls the other makefiles, the first lib builds fine and fails during compiling in the second lib.
*The failure is as if an include file is never read.*
#include "defineTypes.h"
#include "useTypes.h"
The compilation fails in useTypes.h. If I move a type definition from defineTypes.h to useTypes.h, then it works.
Also, these two headers are used and listed the same way in the soource files in the first library. Which is why it is so puzzling why the problem in the second.
I added in the defineTypes.h a #pragma message ("got here"). The message showed in the first library build, but not the second. I then added "before" and "after" pragma messages to the failing source file around the defineTypes include. They showed, but not the "got here". So, it seems as if the include is being ignored. How can that happen???
Any suggestions would be appreciated!!!
Thanks,
sccr13plyr
I am new to the forum and new to REXX. I am having a problem with making changes to a REXX build script.
I have a MSVC++ 6.0 application I created. Using the Visual Studio Build and using nmake from the commandline works wonderfully. However, when calling nmake through REXX it blows up in a really strange situation.
Basically, the application is one executable that has dependent static libraries that are built inside the makefile.
c:\> nmake /f viewer.mak
nmake /f artlib.mak
nmake /f complib.mak
Again, when doing this the top makefile that calls the other makefiles, the first lib builds fine and fails during compiling in the second lib.
*The failure is as if an include file is never read.*
#include "defineTypes.h"
#include "useTypes.h"
The compilation fails in useTypes.h. If I move a type definition from defineTypes.h to useTypes.h, then it works.
Also, these two headers are used and listed the same way in the soource files in the first library. Which is why it is so puzzling why the problem in the second.
I added in the defineTypes.h a #pragma message ("got here"). The message showed in the first library build, but not the second. I then added "before" and "after" pragma messages to the failing source file around the defineTypes include. They showed, but not the "got here". So, it seems as if the include is being ignored. How can that happen???
Any suggestions would be appreciated!!!
Thanks,
sccr13plyr