Integrating LEIF with SourcePro edition3

Article ID: 1151
Last updated: 07 Feb, 2008
Article ID: 1151
Last updated: 07 Feb, 2008
Revision: 1
Views: 1731
Posted: 01 Jan, 2000
by Dean J.
Updated: 07 Feb, 2008
by Dean J.
Problem


This article specifies all changes required to make your Leif project compatible with SourcePro Edition 3.


Cause


Currently Leif 2.0, 2.1 and 2.2 include SourcePro Edition 6


Action


 

This article specifies all changes required to make your Leif project compatible with SourcePro edition 3.

 

Following are the changes made to Forecast example provided in the <install-dir> soapworxForecast to make it compile with SourcePro Edition3.  Please note that you have to make similar changes to your project files

 

1)     Changes required in generated file ForecastNotificationSkeleton.cpp

          ·         add "#include <rw/rwerr.h>".  Recent version of Leif includes this file  implicitly, but it must be explicitly specified for SourcePro Edition 3.

 

2)     Changes required in generated ForecastSkeleton.cpp

 

·         add "#include <rw/rwerr.h>".  Recent version of Leif includes this file implicitly, but it must be explicitly specified for SourcePro Edition 3.

 

3)     Changes required in the generated makefile

 

·         Change BUILDSPACE macro from "$(RW_HOME)" to "c:spro_ed3RW_buildspace" (or whatever your SourcePro root is).

 

·         Change CONFIGDEF from "-D_RWCONFIG=$(TAG)" to    

      "-D_RWCONFIG=$(TAG) -D_RWCONFIG_$(TAG)

 

·         add "-DNOMINMAX -DWIN32 -Zc:wchar_t" to the CPP_FLAGS macro. "-Zc:wchar_t" may only be required for RW stdlib builds.

 

·          add "/LIBPATH:$(BUILDSPACE)lib" to the LINKER_FLAGS macro.    This _must_ be first in the macro list.

 

·          add "/LIBPATH:$(BUILDSPACE)lib" to the ARCHIVER_FLAGS macro.   This _must_ be first in the macro list.

 

·          Change "$(BUILDSPACE)" references in the WSDL_REQLIBS macro to $(RW_HOME) for any non-sourcepro libraries.  Leave it as $(BUILDSPACE) for sourcepro libraries.

 

·          add "std$(SBTAG).lib" to the WSDL_LINKLIBS macro. (RW standard library only).

This article was:   Helpful | Not helpful
Report an issue
Article ID: 1151
Last updated: 07 Feb, 2008
Revision: 1
Views: 1731
Posted: 01 Jan, 2000 by Dean J.
Updated: 07 Feb, 2008 by Dean J.
Also listed in


Others in this category