#7 Updated DSP files

closed-fixed
nobody
None
5
2002-01-18
2001-07-20
Anonymous
No

I had to update the DSP files in order to build
successfully on VC++. The change is needed because in
OpenSP the output files are now in the lib directory,
and VC++ did not know where to find them, generating
link errors. Also, I had to add the osp15pre4.lib file
to the list of libs. Here are the diffs of the dsp
files that need to be updated:

Index: sx/sx.dsp

============
RCS file: /cvsroot/openjade/sp/sx/sx.dsp,v
retrieving revision 1.2.2.1
diff -r1.2.2.1 sx.dsp
53c53
< # ADD LINK32 kernel32.lib user32.lib gdi32.lib
winspool.lib comdlg32.lib advapi32.lib shell32.lib
ole32.lib oleaut32.lib uuid.lib odbc32.lib
odbccp32.lib /nologo /subsystem:console /machine:I386 /
out:"..\bin\osx.exe"
---
> # ADD LINK32 odbc32.lib odbccp32.lib kernel32.lib
user32.lib gdi32.lib winspool.lib comdlg32.lib
advapi32.lib shell32.lib ole32.lib oleaut32.lib
uuid.lib
osp15pre4.lib /nologo /subsystem:console /machine:I386
/out:"..\bin\osx.exe" /libpath:"..\bin"

Index: spent/spent.dsp

============
RCS file: /cvsroot/openjade/sp/spent/spent.dsp,v
retrieving revision 1.2.2.1
diff -r1.2.2.1 spent.dsp
45c45
< # ADD
CPP /nologo /MD /W3 /GX /O2 /I "..\include" /D "NDEBUG"
/D "_CONSOLE" /D "WIN32" /D
SP_NAMESPACE=OpenSP /D "SP_MULTI_BYTE" /YX /FD /c
---
> # ADD
CPP /nologo /MD /W3 /GX /O2 /I "..\include" /D "NDEBUG"
/D "_CONSOLE" /D "WIN32" /D
SP_NAMESPACE=OpenSP /D "SP_MULTI_BYTE" /FR /YX /FD /c
53c53
< # ADD LINK32 kernel32.lib user32.lib gdi32.lib
winspool.lib comdlg32.lib advapi32.lib shell32.lib
ole32.lib oleaut32.lib
uuid.lib /nologo /subsystem:console /machine:I386 /out:
"..\bin\ospent.exe"
---
> # ADD LINK32 kernel32.lib user32.lib gdi32.lib
winspool.lib comdlg32.lib advapi32.lib shell32.lib
ole32.lib oleaut32.lib uuid.lib
osp15pre4.lib /nologo /subsystem:console /machine:I386
/out:"..\bin\ospent.exe" /libpath:"..\bin"
95,98d94
< SOURCE=.\SpentMessages.rc
< # End Source File
< # Begin Source File
<
126a123,126
> # End Source File
> # Begin Source File
>
> SOURCE=.\SpentMessages.rc

Index: spcat/spcat.dsp

============
RCS file: /cvsroot/openjade/sp/spcat/spcat.dsp,v
retrieving revision 1.3.2.1
diff -r1.3.2.1 spcat.dsp
53c53
< # ADD LINK32 kernel32.lib user32.lib gdi32.lib
winspool.lib comdlg32.lib advapi32.lib shell32.lib
ole32.lib oleaut32.lib
uuid.lib /nologo /subsystem:console /machine:I386 /out:
"..\bin\ospcat.exe" /libpath:"..\lib\release"
---
> # ADD LINK32 kernel32.lib user32.lib gdi32.lib
winspool.lib comdlg32.lib advapi32.lib shell32.lib
ole32.lib oleaut32.lib uuid.lib
osp15pre4.lib /nologo /subsystem:console /machine:I386
/out:"..\bin\ospcat.exe" /libpath:"..\lib\release" /lib
path:"..\bin"
95,98d94
< SOURCE=.\SpcatMessages.rc
< # End Source File
< # Begin Source File
<
126a123,126
> # End Source File
> # Begin Source File
>
> SOURCE=.\SpcatMessages.rc

Index: spam/spam.dsp

============
RCS file: /cvsroot/openjade/sp/spam/spam.dsp,v
retrieving revision 1.2.2.1
diff -r1.2.2.1 spam.dsp
53c53
< # ADD LINK32 kernel32.lib user32.lib gdi32.lib
winspool.lib comdlg32.lib advapi32.lib shell32.lib
ole32.lib oleaut32.lib
uuid.lib /nologo /subsystem:console /machine:I386 /out:
"..\bin\ospam.exe"
---
> # ADD LINK32 kernel32.lib user32.lib gdi32.lib
winspool.lib comdlg32.lib advapi32.lib shell32.lib
ole32.lib oleaut32.lib uuid.lib
osp15pre4.lib /nologo /subsystem:console /machine:I386
/out:"..\bin\ospam.exe" /libpath:"..\bin"

Index: sgmlnorm/sgmlnorm.dsp

============
RCS file: /cvsroot/openjade/sp/sgmlnorm/sgmlnorm.dsp,v
retrieving revision 1.2.2.1
diff -r1.2.2.1 sgmlnorm.dsp
53c53
< # ADD LINK32 kernel32.lib user32.lib gdi32.lib
winspool.lib comdlg32.lib advapi32.lib shell32.lib
ole32.lib oleaut32.lib
uuid.lib /nologo /subsystem:console /machine:I386 /out:
"..\bin\osgmlnorm.exe"
---
> # ADD LINK32 kernel32.lib user32.lib gdi32.lib
winspool.lib comdlg32.lib advapi32.lib shell32.lib
ole32.lib oleaut32.lib uuid.lib
osp15pre4.lib /nologo /subsystem:console /machine:I386
/out:"..\bin\osgmlnorm.exe" /libpath:"..\bin"
99,102d98
< SOURCE=.\SgmlnormMessages.rc
< # End Source File
< # Begin Source File
<
130a127,130
> # End Source File
> # Begin Source File
>
> SOURCE=.\SgmlnormMessages.rc

Index: nsgmls/nsgmls.dsp

============
RCS file: /cvsroot/openjade/sp/nsgmls/nsgmls.dsp,v
retrieving revision 1.2.2.1
diff -r1.2.2.1 nsgmls.dsp
45c45
< # ADD
CPP /nologo /MD /W3 /GX /O2 /I "..\include" /D "NDEBUG"
/D "_CONSOLE" /D "WIN32" /D
SP_NAMESPACE=OpenSP /D "SP_MULTI_BYTE" /YX /FD /c
---
> # ADD
CPP /nologo /MD /W3 /GX /O2 /I "..\include" /D "NDEBUG"
/D "_CONSOLE" /D "WIN32" /D
SP_NAMESPACE=OpenSP /D "SP_MULTI_BYTE" /FR /YX /FD /c
53c53
< # ADD LINK32 kernel32.lib user32.lib gdi32.lib
winspool.lib comdlg32.lib advapi32.lib shell32.lib
ole32.lib oleaut32.lib
uuid.lib /nologo /subsystem:console /machine:I386 /out:
"..\bin\onsgmls.exe"
---
> # ADD LINK32 kernel32.lib user32.lib gdi32.lib
winspool.lib comdlg32.lib advapi32.lib shell32.lib
ole32.lib oleaut32.lib uuid.lib
osp15pre4.lib /nologo /subsystem:console /machine:I386
/out:"..\bin\onsgmls.exe" /libpath:"..\bin"
253d252
<

Discussion

  • Ian Castle

    Ian Castle - 2002-01-18
    • status: open --> closed-fixed
     
  • Ian Castle

    Ian Castle - 2002-01-18

    Logged In: YES
    user_id=262940

    Openjade 1.3.1 builds on Win32 with VC++ 6.0. Not this
    this patch exactly.. so you might like to retest.

     

Log in to post a comment.