Print Page | Close Window

Problem compiling Toolkit with /clr

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Toolkit Pro
Forum Description: Topics Related to Codejock Toolkit Pro
URL: http://forum.codejock.com/forum_posts.asp?TID=3863
Printed Date: 10 November 2025 at 3:22am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Problem compiling Toolkit with /clr
Posted By: JamesL
Subject: Problem compiling Toolkit with /clr
Date Posted: 24 March 2006 at 5:53am

Hi

I am trying to compile the tookit with /clr to create managed static libs. I am getting 2 problems (version 9.80)

1) the /RTC1 option seems to be for on the debug versions even when I have set it to default in project options

cl : Command line error D2016 : '/RTC1' and '/clr' command-line options are incompatible

2) I get the following link errors when I link with the new /clr'd release lib

Linking...

Codejock.ToolkitPro.Mfc71.v9.80S.lib(XTPReportControl.obj) : error LNK2022: metadata operation failed (8013118D) : Inconsistent layout information in duplicated types (tagTOOLINFOA): (0x0200007c).

Codejock.ToolkitPro.Mfc71.v9.80S.lib(XTPReportHeader.obj) : error LNK2022: metadata operation failed (8013118D) : Inconsistent layout information in duplicated types (tagTOOLINFOA): (0x02000053).

Codejock.ToolkitPro.Mfc71.v9.80S.lib(XTHeaderCtrl.obj) : error LNK2022: metadata operation failed (8013118D) : Inconsistent layout information in duplicated types (tagTOOLINFOA): (0x02000059).

LINK : fatal error LNK1255: link failed because of metadata errors

Any prointers very gratefully receieved.

Thanks

Jim

 




Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net