| | | | Browse by category |
Build and/or link errors trying to integrate LEIF with SourcePro, where the build tags and/or versions are different. For example, using 12d of LEIF with 15d of Source Pro.
Action
To integrate an alternate version of SourcePro in a LEIF-generated project, please refer to KB article 041130-001 "Integrating LEIF with a different version of SourcePro" and follow the instructions posted there.
To accommodate the situation where your SourcePro libraries are built using a build tag different from that used by LEIF by default, the following changes will need to be made to the makefile:
1. Change the SBTAG to the build tag of SourcePro (for example: 15d)
2. Change -D_RWCONFIG=$(SBTAG) to:
-D_RWCONFIG_$(SBTAG) -D_RWCONFIG_$(TAG)
3. Edit all XSDREQLIBS, XSDLINKLIBS, WSDL_REQLIBS, WSDL_LINKLIBS so file names are correct.
For example:
XSDREQLIBS= $(RW_HOME)/lib/leifcore$(SBTAG).$(LIBSUFFIX)
will need to be changed to
XSDREQLIBS= $(RW_HOME)/lib/leifcore$(TAG).$(LIBSUFFIX)
4. Ensure the LEIF include paths use RW_HOME and the SourcePro paths use BUILDSPACE
Note: the includes should put the Source Pro (BUILDSPACE) files before the LEIF (RW_HOME) files.
For illustration purposes an updated Windows/MSVC 6.0 makefile is attached for the Purchase Order example (examples/xmlol/basic) which uses a 15d build of SourcePro 7.
makefile