Print Page | Close Window

Can't compile Toolkit Pro 24.0.0 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=24506
Printed Date: 03 December 2024 at 12:29pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Can't compile Toolkit Pro 24.0.0 with /clr
Posted By: PeterP
Subject: Can't compile Toolkit Pro 24.0.0 with /clr
Date Posted: 03 October 2024 at 3:55am
My Visual C++ application is compiled with /clr as it interfaces with various .Net bits.

Upgrading to Toolkit Pro 24.0.0, I immediately hit this error.
Including Xtreme Toolkit Pro
C:\Program Files\Microsoft Visual Studio\2022\Professional\VC\Tools\MSVC\14.38.33130\include\concrt.h(30,1): error C1189: #error:  ERROR: Concurrency Runtime is not supported when compiling /clr.

I read in the release notes for 24.0 about various improvements around parallelism.  I guess that is what needs the concurrency runtime.
Is there some way to turn off the concurrency features and enable /clr compilation?




Replies:
Posted By: cpede
Date Posted: 04 October 2024 at 4:05am
I ran into the same problem. However, my /clr integration is located to one project, why I could use the XTP_PARALLEL_DISABLE define to remove this support for that particular project.



-------------
Product: Xtreme ToolkitPro (24.0.0)
Platform: Windows 10 (x64)
Language: Visual Studio 2017 (C++)



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