[xsde-users] Moved application code to different XSDe build environment, get a runtime version mismatch error

O'Laughlin, Terry Terry.O'Laughlin at ipc.com
Wed Dec 1 09:26:28 EST 2010

Sorry, I found my error.  I have a batch file that generates the code, it was hardcoded to the wrong version of the compiler.  So I understand why I was having the problem.



Terry O'

Please consider the environment before printing this email.

-----Original Message-----
From: xsde-users-bounces at codesynthesis.com [mailto:xsde-users-bounces at codesynthesis.com] On Behalf Of O'Laughlin, Terry
Sent: Wednesday, December 01, 2010 12:13 AM
To: xsde-users at codesynthesis.com
Subject: [xsde-users] Moved application code to different XSDe build environment, get a runtime version mismatch error


I moved my message parsers from the latest 3.2b1 version to an older version (3.1.? or first 3.2 version).

Get a runtime version mismatch.

Why does the generated code still generate the version number of my other build?  Even when I clean the environment first?  What file is hanging around that tells the xsde compiler to generate code with the old runtime version, not the latest?
I rebuilt the entire library and examples and have no problem.  So why my newly added directory with my message parsers having this problem?

C:\xsde_v3.2_win32_vc9\examples\cxx\hybrid\MessageParsers>nmake -f nmakefile

Microsoft (R) Program Maintenance Utility Version 9.00.30729.01 Copyright (C) Microsoft Corporation.  All rights reserved.

        cl.exe -D_CRT_SECURE_NO_DEPRECATE /I..\..\..\..\libxsde /nologo /W3 /EHs /c /TP driver.cxx /Fodriver.obj driver.cxx
c:\xsde_v3.2_win32_vc9\examples\cxx\hybrid\messageparsers\messages.hxx(27) : fatal error C1189: #error :  XSD/e runtime version mismatch NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual Studio 9.0\VC\BIN\cl.exe"' : return code '0x2'

Terry O'Laughlin
Sr. Software Engineer
TS Engineering Alliance Sustaining Dept.
777 Commerce Drive
Fairfield, CT 06825
phone: 203-339-7987
fax: 203-339-7809
Terry.O'Laughlin at ipc.com<mailto:first.last at ipc.com>

DISCLAIMER: This e-mail may contain information that is confidential, privileged or otherwise protected from disclosure. If you are not an intended recipient of this e-mail, do not duplicate or redistribute it by any means. Please delete it and any attachments and notify the sender that you have received it in error. Unintended recipients are prohibited from taking action on the basis of information in this e-mail.E-mail messages may contain computer viruses or other defects, may not be accurately replicated on other systems, or may be intercepted, deleted or interfered with without the knowledge of the sender or the intended recipient. If you are not comfortable with the risks associated with e-mail messages, you may decide not to use e-mail to communicate with IPC. IPC reserves the right, to the extent and under circumstances permitted by applicable law, to retain, monitor and intercept e-mail messages to and from its systems.

[cid:green-logo32de.jpg]Please consider the environment before printing this email.

More information about the xsde-users mailing list