Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Toolkit Pro
  New Posts New Posts RSS Feed - Problem compiling Toolkit with /clr
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Problem compiling Toolkit with /clr

 Post Reply Post Reply
Author
Message
JamesL View Drop Down
Newbie
Newbie


Joined: 26 February 2006
Location: UK
Status: Offline
Points: 6
Post Options Post Options   Thanks (0) Thanks(0)   Quote JamesL Quote  Post ReplyReply Direct Link To This Post Topic: Problem compiling Toolkit with /clr
    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

 

Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.078 seconds.