cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
dave74321
Explorer
Explorer
1,350 Views
Registered: ‎09-29-2016

Vitis 2019.2 with applications with both C and C++ code

Jump to solution

Previously with SDK 2018.2 I had a project that was generally C code with some C++ files.  Therefore the project was created as a C project and the files that were C++ had their build options individually changed.

However with Vitis 2019.2 I can find no options to set the build options for individual files.

In Vitis 2019.2 I have created a C++ application which has both C and C++ files in it, but I get C++ errors and warnings on the C files.

What should I do to have an application that has both C and C++ files in it?

 

Thanks.

 

>>>28 JAN 2020>>>i.e. JPEGs below showing that in SDK there are "Tool Chain Editor" settings but in Vitis there is not.

 

SDK Cpp Build Options.JPG
Vitis C Build Options.JPG
1 Solution

Accepted Solutions
abouassi
Moderator
Moderator
924 Views
Registered: ‎03-25-2019

The feature will be available starting from 2020.2

Best regards,
Abdallah
-------------------------------------------------------------------------------
Please don't forget to reply, kudo and accept as a solution

View solution in original post

5 Replies
abouassi
Moderator
Moderator
1,260 Views
Registered: ‎03-25-2019

Hi @dave74321,

This feature is not working in Vitis. I have reported that internally to our development team.

Thanks for pointing this out.

Best regards,
Abdallah
-------------------------------------------------------------------------------
Please don't forget to reply, kudo and accept as a solution
akozak
Observer
Observer
1,127 Views
Registered: ‎07-22-2019

@abouassi Any update on this?

MKHen
Observer
Observer
958 Views
Registered: ‎09-18-2020

Hi @abouassi 

I am interested in this topic as well.

I want to use a separate FreeRTOS implementation (not the build in one) in my C++ project and I am not able to compile.

Greetings.

0 Kudos
abouassi
Moderator
Moderator
925 Views
Registered: ‎03-25-2019

The feature will be available starting from 2020.2

Best regards,
Abdallah
-------------------------------------------------------------------------------
Please don't forget to reply, kudo and accept as a solution

View solution in original post

MKHen
Observer
Observer
902 Views
Registered: ‎09-18-2020

Thank a lot @abouassi for the information.

Are you allowed to give a hint about the release date?

0 Kudos