RTC Forums

Subscription => Support => Topic started by: andreag0 on December 13, 2018, 03:34:07 PM



Title: Compilation issue with C++ Builder 10.2
Post by: andreag0 on December 13, 2018, 03:34:07 PM
Hello,
I am getting many errors in compiling one simple project with C++ Builder 10.2.
I am using just tho components (RtcHttpServer and RtcDataProvider).
Can you help me to solve?
I can send you the project in zip file, where?
Here there is no place where to attach.

Thank You.

Regards
Andrea


Title: Re: Compilation issue with C++ Builder 10.2
Post by: D.Tkalcec (RTC) on December 13, 2018, 07:26:57 PM
You can post the source code of your simple Project and the list of errors you get when you try to compile it, here. Not as an attachment, but as plain text. Source code can be enclosed in a CODE block (see the # icon) .


Title: Re: Compilation issue with C++ Builder 10.2
Post by: andreag0 on December 13, 2018, 07:47:02 PM
Hi,
many errors are in rtcSrcList.hpp [C++ Error] rtcSrcList.hpp(72, 16): E2139 Declaration missing ;
First one on the line ... typedef tnode *pnode;

https://www.dropbox.com/s/b45v0k0ilkw31su/Test_RealThinClient.zip?dl=0

Regards
Andrea


Title: Re: Compilation issue with C++ Builder 10.2
Post by: D.Tkalcec (RTC) on December 13, 2018, 08:13:19 PM
If you've managed to compile and install the "rtcSDK.dpk" package into your IDE, then your problem is most likely NOT in the RTC SDK source code, but in your IDE configuration. Did you configure the Library search path for your compiler and target platform, as explained in the "readme.txt" file, so the compiler can find the source code when compiling your Project?

NOTE: Compiling the Delphi package does not require IDE configuration, because all the files are int he same folder. But if you want to use the RTC SDK in your Project, then you need to configure the compiler to find the RTC SDK source code.


Title: Re: Compilation issue with C++ Builder 10.2
Post by: andreag0 on December 13, 2018, 08:23:45 PM
Yes I did as you can see in project property.

Anyway you can reproduce the issue crating new C++ Builder VCL Form Application project and add the
RTCHttpServer and RTCDataProvider.

Very simple.

I think is about .hpp automatic creation from Embarcadero IDE and can be fixed if you will
add some patch to your Delphi code with RTC_SDK.


Title: Re: Compilation issue with C++ Builder 10.2
Post by: D.Tkalcec (RTC) on December 13, 2018, 09:16:25 PM
Sorry, but C++Builder is NOT a compiler we officially support and I'm NOT a C++Builder developer, soooo .... if your problem is automatic C++Builder header file generation, I won't be able to help you.


Title: Re: Compilation issue with C++ Builder 10.2
Post by: andreag0 on December 13, 2018, 09:26:07 PM
Realy?
Good to know.


Title: Re: Compilation issue with C++ Builder 10.2
Post by: andreag0 on January 27, 2019, 11:40:40 AM
Hi,
the issue disappera with RTC SDK 9.5 ;)

Andrea


Title: Re: Compilation issue with C++ Builder 10.2
Post by: D.Tkalcec (RTC) on January 27, 2019, 11:57:09 AM
Perfect. Thanks for your feedback.

PS. Don't ask me why ;)