Unknown type name errors when using TC 5.1 on RS 10.3.3 with bcc32c

TwineCompile - Cut C++Builder compile times by up to 50x!
Post Reply
DeveloperAcstre
Posts: 9
Joined: Sat May 23, 2020 9:29 am

Unknown type name errors when using TC 5.1 on RS 10.3.3 with bcc32c

Post by DeveloperAcstre »

Hi,

I have a problem compiling with TwineCompile 5.1 under Rad Studio 10.3.3 using the clang compiler. I am able to reproduce the problem in a demo project.

Test.zip
(9.18 KiB) Downloaded 856 times

Lets say i have a unit with one declaration in the header file:

Code: Select all

String test();
I do not include the String header file in that unit because i included it in the precompiled header. If i try to compile it gives me an error saying "Unknown type name 'String'". It should find the declaration in the precompiled header. If i try to build it again without doing any changes it compiles fine. But if i Clean the project and try to compile it again the same error appears.

The error is happening only when using twine compile.

Best regards!
jomitech
Site Admin
Posts: 2175
Joined: Wed Oct 08, 2008 12:23 am

Re: Unknown type name errors when using TC 5.1 on RS 10.3.3 with bcc32c

Post by jomitech »

Are you compiling just this unit, or does the problem appear when doing a Build or Make of the entire project?
Jon
DeveloperAcstre
Posts: 9
Joined: Sat May 23, 2020 9:29 am

Re: Unknown type name errors when using TC 5.1 on RS 10.3.3 with bcc32c

Post by DeveloperAcstre »

It appears when i am doing Build or Make of the entire project.
jomitech
Site Admin
Posts: 2175
Joined: Wed Oct 08, 2008 12:23 am

Re: Unknown type name errors when using TC 5.1 on RS 10.3.3 with bcc32c

Post by jomitech »

Please download the attached file and extract it into the TwineCompile Program Files directory to resolve this issue.
Attachments
TCTargets103.zip
(7.13 KiB) Downloaded 726 times
Jon
DeveloperAcstre
Posts: 9
Joined: Sat May 23, 2020 9:29 am

Re: Unknown type name errors when using TC 5.1 on RS 10.3.3 with bcc32c

Post by DeveloperAcstre »

I am getting this error:

Code: Select all

[MSBuild Error] TCTargets103.targets(115, 5): MSB4036 The "TCInitTasks" task was not found. Check the following: 1.) The name of the task in the project file is the same as the name of the task class. 2.) The task class is "public" and implements the Microsoft.Build.Framework.ITask interface. 3.) The task is correctly declared with <UsingTask> in the project file, or in the *.tasks files located in the "C:\Windows\Microsoft.NET\Framework\v4.0.30319" directory.
jomitech
Site Admin
Posts: 2175
Joined: Wed Oct 08, 2008 12:23 am

Re: Unknown type name errors when using TC 5.1 on RS 10.3.3 with bcc32c

Post by jomitech »

Sorry about that, that included another fix. Can you download the latest build of TwineCompile and install it?
Jon
DeveloperAcstre
Posts: 9
Joined: Sat May 23, 2020 9:29 am

Re: Unknown type name errors when using TC 5.1 on RS 10.3.3 with bcc32c

Post by DeveloperAcstre »

The latest version works fine, thanks.

C++ Builder 10.4 is released will Twine Compile support it soon?
jomitech
Site Admin
Posts: 2175
Joined: Wed Oct 08, 2008 12:23 am

Re: Unknown type name errors when using TC 5.1 on RS 10.3.3 with bcc32c

Post by jomitech »

Yes, 5.2 with support for 10.4 will be out soon
Jon
Post Reply