DS3231 clock query

Good morning,
This is my very firdt post! I hope I am in the right place.
I have just loaded Arduino IDE a few days ago, version 1.8.10. I started to look at examples for the RTC DS3231 to familiar me with a future application.
I tried to compile one of the simple examples, and it stops in the setup loop at instruction:
DS3231_INIT(DS3231_INTCN); to start the rtc
The error message: DS3231_INIT not declared in this scope.
I looked at some other example and found a difference in the writing:
DS3231_init(DS3231_INTCN);
I changed the line recompile and got the message:
(DS3231_INTCN) not declared.
I search other examples and found the following:
DS3231 clock;
...
clock.begin();
Re-compile and re-error message on : clock.begin not declared.
I am sure that these examples are working and I think that something is missing in my environment but I have no idea on what could be missing!
Does anybody has any idea?
Thanks in advance for your answer.
Triskele

Split off from another topic not relevant to this problem
Do not hijack topics

Some very good information for you over here. It quite nicely lists out what could be missing.
It really helps if you do a little reading before posting - that is, if you want to get answers that help you with your project.

It looks like you are finding examples but not installing the libraries that the examples use. It is better to start by picking a library.

Like for most peripheral chips, the Arduino IDE does not come with a built-in library for the DS3231 RTC. There is a built-in list of (mostly third-party) libraries you can install. To see the list, select Tools->Manage Libraries... from the IDE menus. Once it has loaded you can type DS3231 in the "Filter your search..." box to find libraries that support the DS3231 chip. Look at the descriptions of the libraries and pick one. Hover your mouse cursor on the description and an 'Install' button will appear. Click on the 'Install' button and in a few moments the library will be installed.

I chose: "DS3231 by Andrew Wickert, Eric Ayars, Jean-Claude Wippler"

Now that you have the library installed, you can find the examples that come with that library: Frome the IDE menus select: File->Examples->DS3231-> and there you will see all of the examples that came with the library. Try File->Examples->DS3231->Arduino->DS3231_Serial_Easy. It should compile without error.