Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Identifier not found "TRawByteStringStream" #7

Open
migmam opened this issue Dec 18, 2021 · 10 comments
Open

Identifier not found "TRawByteStringStream" #7

migmam opened this issue Dec 18, 2021 · 10 comments
Assignees

Comments

@migmam
Copy link

migmam commented Dec 18, 2021

Hi!

I'm getting the following error when compiling "Identifier not found "TRawByteStringStream"

@Al-Muhandis
Copy link
Owner

Hi! Which version of FreePascal are you using? This type exists in standard rtl in FreePascal. Weird

@migmam
Copy link
Author

migmam commented Dec 19, 2021

This is the version I'm using:
Free Pascal Compiler version 3.0.4+dfsg-18ubuntu2 [2018/08/29] for x86_64

@Al-Muhandis
Copy link
Owner

Is there any valid reason why you are using an outdated version of FPC? Current stable FPC is 3.2.2.

Of course, I can try to add some hack to the code for backward compatibility of older versions of FPC. But You'll have to wait until I get home few days

@migmam
Copy link
Author

migmam commented Dec 20, 2021

Well, it's the version that is coming in my linux ubuntu (18.04). Knowing that it is just a problem of fpc version I will try to install a more updated version, no need backward compatibily. Thanks for your support!

@migmam
Copy link
Author

migmam commented Dec 21, 2021

Wow. I can see there is no office package for debian/ubuntu for the version you told me:

https://www.freepascal.org/down/i386/linux-hungary.html#linuxdeb

@Al-Muhandis
Copy link
Owner

I'll think about a hack for backward compatibility.
As for getting a more recent version of FPC, and generally a convenient installation, I recommend using fpcupdeluxe to install Lazarus

@Al-Muhandis
Copy link
Owner

So, I added defines for the outdated FPC to work. Try it now https://github.com/Al-Muhandis/fp-telegram/tree/deprecated-fpc. Message here if it helped, I will apply the changes to the main branch as well

@migmam
Copy link
Author

migmam commented Dec 22, 2021

Great!! It works like a charm! Thanks!!!

@Al-Muhandis
Copy link
Owner

So, then I will add to the main branch

@Al-Muhandis Al-Muhandis self-assigned this Dec 22, 2021
@Al-Muhandis
Copy link
Owner

#8

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants