# Make Error when compling

**URL:** <https://forum.collaboraonline.com/t/make-error-when-compling/253>\
**Category:** Uncategorized\
**Created:** [March 16, 2021, 6:11am UTC](https://forum.collaboraonline.com/t/make-error-when-compling/253 "2021-03-16T06:11:58Z")\
**Posts on this page:** 12\
**Page:** 1

<div class="post-metadata">

**Author:** ![wxf26054](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.collaboraonline.com/wxf26054/32/1087_2.png) [@wxf26054](https://forum.collaboraonline.com/u/wxf26054)\
**Post date:** [March 16, 2021, 6:11am UTC](https://forum.collaboraonline.com/t/make-error-when-compling/253/1 "2021-03-16T06:11:58Z")

</div>

![image](https://europe1.discourse-cdn.com/flex013/uploads/collaboraonline/original/1X/560c1df1b248b1c993b661c3f123b63ef7dd370b.png)

---

<div class="post-metadata">

**Author:** ![kara](https://avatars.discourse-cdn.com/v4/letter/k/e480ec/32.png) [@kara](https://forum.collaboraonline.com/u/kara)\
**Post date:** [March 16, 2021, 8:10am UTC](https://forum.collaboraonline.com/t/make-error-when-compling/253/2 "2021-03-16T08:10:44Z")

</div>

Could you please share the path you followed for building?

Your clone of online or LibreOffice core might be out of date or out of sync.

---

<div class="post-metadata">

**Author:** ![wxf26054](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.collaboraonline.com/wxf26054/32/1087_2.png) [@wxf26054](https://forum.collaboraonline.com/u/wxf26054)\
**Post date:** [March 16, 2021, 8:41am UTC](https://forum.collaboraonline.com/t/make-error-when-compling/253/3 "2021-03-16T08:41:21Z")

</div>

> **[LibreOffice/online](https://github.com/LibreOffice/online)**
>
> Read-only Mirror - no pull request (use https://gerrit.libreoffice.org instead)

Is github repository will never update?

---

<div class="post-metadata">

**Author:** ![wxf26054](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.collaboraonline.com/wxf26054/32/1087_2.png) [@wxf26054](https://forum.collaboraonline.com/u/wxf26054)\
**Post date:** [March 16, 2021, 8:42am UTC](https://forum.collaboraonline.com/t/make-error-when-compling/253/4 "2021-03-16T08:42:08Z")

</div>

I only cloned the online.git, not the core.git.

---

<div class="post-metadata">

**Author:** ![kara](https://avatars.discourse-cdn.com/v4/letter/k/e480ec/32.png) [@kara](https://forum.collaboraonline.com/u/kara)\
**Post date:** [March 16, 2021, 9:10am UTC](https://forum.collaboraonline.com/t/make-error-when-compling/253/5 "2021-03-16T09:10:07Z")

</div>

I see. It explains a lot. 🙂

Please follow the instructions here: [Build Collabora Online | Collabora Online - Community Page](https://collaboraonline.github.io/post/build-code/)

---

<div class="post-metadata">

**Author:** ![wxf26054](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.collaboraonline.com/wxf26054/32/1087_2.png) [@wxf26054](https://forum.collaboraonline.com/u/wxf26054)\
**Post date:** [March 16, 2021, 9:11am UTC](https://forum.collaboraonline.com/t/make-error-when-compling/253/6 "2021-03-16T09:11:51Z")

</div>

OK, I’ll try it! Thank you!

---

<div class="post-metadata">

**Author:** ![wxf26054](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.collaboraonline.com/wxf26054/32/1087_2.png) [@wxf26054](https://forum.collaboraonline.com/u/wxf26054)\
**Post date:** [March 17, 2021, 2:13am UTC](https://forum.collaboraonline.com/t/make-error-when-compling/253/7 "2021-03-17T02:13:42Z")

</div>

It still notifies me of errors.

root@mail:~/collabora-online# make check  
Making check in .  
make[1]: 进入目录“/root/collabora-online”  
CXX kit/ChildSession.o  
In file included from kit/ChildSession.hpp:19:0,  
from kit/ChildSession.cpp:10:  
kit/Watermark.hpp: In member function ‘const std::vector\* Watermark::getPixmap(int, int)’:  
kit/Watermark.hpp:120:107: error: no matching function for call to ‘lok::Document::renderFont(const char\*, const char\*, int\*, int\*, int)’  
unsigned char\* textPixels = _loKitDoc-\>renderFont(font.c\_str(), text.c\_str(), &width, &height, 0);  
^  
In file included from kit/ChildSession.hpp:14:0,  
from kit/ChildSession.cpp:10:  
/usr/include/LibreOfficeKit/LibreOfficeKit.hxx:411:20: note: candidate: unsigned char\* lok::Document::renderFont(const char\*, const char\*, int\*, int\*)  
unsigned char\* renderFont(const char \*pFontName,  
^ ~~~~~~~~~  
/usr/include/LibreOfficeKit/LibreOfficeKit.hxx:411:20: note: candidate expects 4 arguments, 5 provided  
In file included from kit/ChildSession.cpp:41:0:  
kit/KitHelper.hpp: In function ‘std::\_\_cxx11::string LOKitHelper::documentStatus(LibreOfficeKitDocument\*)’:  
kit/KitHelper.hpp:70:51: error: ‘LibreOfficeKitDocumentClass {aka struct \_LibreOfficeKitDocumentClass}’ has no member named ‘getPartInfo’; did you mean ‘getPart ’?  
ptrValue = loKitDocument-\>pClass-\>getPartInfo(loKitDocument, i);  
^ ~~~~~~~~~~  
getParts  
In file included from ./common/Session.hpp:21:0,  
from kit/ChildSession.hpp:18,  
from kit/ChildSession.cpp:10:  
kit/ChildSession.cpp: In member function ‘virtual bool ChildSession::handleInput(const char\*, int)’:  
kit/ChildSession.cpp:163:60: error: ‘lokCallbackTypeToString’ was not declared in this scope  
\<\< lokCallbackTypeToString(event.getType())  
^  
./common/Log.hpp:288:31: note: in definition of macro ‘LOG\_BODY’  
oss \<\< std::boolalpha \<\< X;   
^  
kit/ChildSession.cpp:162:17: note: in expansion of macro ‘LOG\_TRC’  
LOG\_TRC("Replaying missed view event: " \<\< viewPair.first \<\< ’ ’  
^ ~~~~~~  
kit/ChildSession.cpp:172:51: error: ‘lokCallbackTypeToString’ was not declared in this scope  
LOG\_TRC("Replaying missed event: " \<\< lokCallbackTypeToString(event.getType()) \<\< ": "  
^  
./common/Log.hpp:288:31: note: in definition of macro ‘LOG\_BODY’  
oss_ \<\< std::boolalpha \<\< X;   
^  
kit/ChildSession.cpp:172:13: note: in expansion of macro ‘LOG\_TRC’  
LOG\_TRC("Replaying missed event: " \<\< lokCallbackTypeToString(event.getType()) \<\< ": "  
^ ~~~~~~  
kit/ChildSession.cpp:186:21: error: ‘lokCallbackTypeToString’ was not declared in this scope  
lokCallbackTypeToString(event.getType()) \<\< ": " \<\< event.getPayload());  
^  
./common/Log.hpp:288:31: note: in definition of macro ‘LOG\_BODY\_’  
oss\_ \<\< std::boolalpha \<\< X;   
^  
kit/ChildSession.cpp:185:13: note: in expansion of macro ‘LOG\_TRC’  
LOG\_TRC("Replaying missed event (part of sequence): " \<\<  
^ ~~~~~~  
kit/ChildSession.cpp: In member function ‘bool ChildSession::outlineState(const char\*, int, const StringVector&)’:  
kit/ChildSession.cpp:913:25: error: ‘using element\_type = class lok::Document {aka class lok::Document}’ has no member named ‘setOutlineState’  
getLOKitDocument()-\>setOutlineState(column, level, index, hidden);  
^ ~~~~~~~~~~~~~~  
kit/ChildSession.cpp: In member function ‘bool ChildSession::getTextSelection(const char\*, int, const StringVector&)’:  
kit/ChildSession.cpp:1035:51: error: ‘using element\_type = class lok::Document {aka class lok::Document}’ has no member named ‘getSelectionType’; did you mean ‘resetSelection’?  
const int selectionType = getLOKitDocument()-\>getSelectionType();  
^ ~~~~~~~~~~~~~~~  
resetSelection  
kit/ChildSession.cpp:1036:26: error: ‘LOK\_SELTYPE\_LARGE\_TEXT’ was not declared in this scope  
if (selectionType == LOK\_SELTYPE\_LARGE\_TEXT || selectionType == LOK\_SELTYPE\_COMPLEX ||  
^ ~~~~~~~~~~~~~~~~~~~~~  
kit/ChildSession.cpp:1036:26: note: suggested alternative: ‘LOK\_DOCTYPE\_TEXT’  
if (selectionType == LOK\_SELTYPE\_LARGE\_TEXT || selectionType == LOK\_SELTYPE\_COMPLEX ||  
^ ~~~~~~~~~~~~~~~~~~~~~  
LOK\_DOCTYPE\_TEXT  
kit/ChildSession.cpp:1036:69: error: ‘LOK\_SELTYPE\_COMPLEX’ was not declared in this scope  
if (selectionType == LOK\_SELTYPE\_LARGE\_TEXT || selectionType == LOK\_SELTYPE\_COMPLEX ||  
^ ~~~~~~~~~~~~~~~~~~  
kit/ChildSession.cpp:1036:69: note: suggested alternative: ‘LOK\_DOCTYPE\_OTHER’  
if (selectionType == LOK\_SELTYPE\_LARGE\_TEXT || selectionType == LOK\_SELTYPE\_COMPLEX ||  
^ ~~~~~~~~~~~~~~~~~~  
LOK\_DOCTYPE\_OTHER  
kit/ChildSession.cpp: In member function ‘bool ChildSession::getClipboard(const char\*, int, const StringVector&)’:  
kit/ChildSession.cpp:1068:35: error: ‘using element\_type = class lok::Document {aka class lok::Document}’ has no member named ‘getClipboard’  
success = getLOKitDocument()-\>getClipboard(pMimeTypes, &nOutCount, &pOutMimeTypes,  
^ ~~~~~~~~~~~  
kit/ChildSession.cpp: In member function ‘bool ChildSession::setClipboard(const char\*, int, const StringVector&)’:  
kit/ChildSession.cpp:1136:34: error: ‘using element\_type = class lok::Document {aka class lok::Document}’ has no member named ‘setClipboard’  
if (!getLOKitDocument()-\>setClipboard(nInCount, pInMimeTypes, pInSizes, pInStreams))  
^ ~~~~~~~~~~~  
kit/ChildSession.cpp: In member function ‘bool ChildSession::extTextInputEvent(const char\*, int, const StringVector&)’:  
kit/ChildSession.cpp:1276:40: error: ‘LOK\_EXT\_TEXTINPUT’ was not declared in this scope  
{{“input”, LOK\_EXT\_TEXTINPUT}, {“end”, LOK\_EXT\_TEXTINPUT\_END}},  
^ ~~~~~~~~~~~~~~~~  
kit/ChildSession.cpp:1276:68: error: ‘LOK\_EXT\_TEXTINPUT\_END’ was not declared in this scope  
{{“input”, LOK\_EXT\_TEXTINPUT}, {“end”, LOK\_EXT\_TEXTINPUT\_END}},  
^ ~~~~~~~~~~~~~~~~~~~~  
kit/ChildSession.cpp:1276:68: note: suggested alternative: ‘LOK\_SETTEXTSELECTION\_END’  
{{“input”, LOK\_EXT\_TEXTINPUT}, {“end”, LOK\_EXT\_TEXTINPUT\_END}},  
^ ~~~~~~~~~~~~~~~~~~~~  
LOK\_SETTEXTSELECTION\_END  
kit/ChildSession.cpp:1277:33: error: no matching function for call to ‘getTokenKeyword(std::\_\_cxx11::string, const char [5], , int&)’  
type))  
^  
In file included from ./common/Session.hpp:20:0,  
from kit/ChildSession.hpp:18,  
from kit/ChildSession.cpp:10:  
./common/Protocol.hpp:88:10: note: candidate: bool LOOLProtocol::getTokenKeyword(const string&, const string&, const std::map\<std::\_\_cxx11::basic\_string, int\>&, int&)  
bool getTokenKeyword(const std::string& token, const std::string& name, const std::map\<std::string, int\>& map, int& value);  
^ ~~~~~~~~~~~~~~  
./common/Protocol.hpp:88:10: note: no known conversion for argument 3 from ‘’ to ‘const std::map\<std::\_\_cxx11::basic\_string, int\>&’  
In file included from ./common/Session.hpp:20:0,  
from kit/ChildSession.hpp:18,  
from kit/ChildSession.cpp:10:  
./common/Protocol.hpp:90:10: note: candidate: bool LOOLProtocol::getTokenKeyword(const StringVector&, const string&, const std::map\<std::\_\_cxx11::basic\_string, int\>&, int&)  
bool getTokenKeyword(const StringVector& tokens, const std::string& name, const std::map\<std::string, int\>& map, int& value);  
^ ~~~~~~~~~~~~~~  
./common/Protocol.hpp:90:10: note: no known conversion for argument 1 from ‘std::\_\_cxx11::string {aka std::\_\_cxx11::basic\_string}’ to ‘const StringVector&’  
kit/ChildSession.cpp:1294:29: error: ‘using element\_type = class lok::Document {aka class lok::Document}’ has no member named ‘postWindowExtTextInputEvent’  
getLOKitDocument()-\>postWindowExtTextInputEvent(id, type, decodedText.c\_str());  
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~  
kit/ChildSession.cpp:1297:29: error: ‘using element\_type = class lok::Document {aka class lok::Document}’ has no member named ‘postWindowExtTextInputEvent’  
getLOKitDocument()-\>postWindowExtTextInputEvent(id, LOK\_EXT\_TEXTINPUT, decodedText.c\_str());  
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~  
kit/ChildSession.cpp:1297:61: error: ‘LOK\_EXT\_TEXTINPUT’ was not declared in this scope  
getLOKitDocument()-\>postWindowExtTextInputEvent(id, LOK\_EXT\_TEXTINPUT, decodedText.c\_str());  
^ ~~~~~~~~~~~~~~~~  
kit/ChildSession.cpp:1298:29: error: ‘using element\_type = class lok::Document {aka class lok::Document}’ has no member named ‘postWindowExtTextInputEvent’  
getLOKitDocument()-\>postWindowExtTextInputEvent(id, LOK\_EXT\_TEXTINPUT\_END, decodedText.c\_str());  
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~  
kit/ChildSession.cpp:1298:61: error: ‘LOK\_EXT\_TEXTINPUT\_END’ was not declared in this scope  
getLOKitDocument()-\>postWindowExtTextInputEvent(id, LOK\_EXT\_TEXTINPUT\_END, decodedText.c\_str());  
^ ~~~~~~~~~~~~~~~~~~~~  
kit/ChildSession.cpp:1298:61: note: suggested alternative: ‘LOK\_SETTEXTSELECTION\_END’  
getLOKitDocument()-\>postWindowExtTextInputEvent(id, LOK\_EXT\_TEXTINPUT\_END, decodedText.c\_str());  
^ ~~~~~~~~~~~~~~~~~~~~  
LOK\_SETTEXTSELECTION\_END  
kit/ChildSession.cpp: In member function ‘bool ChildSession::keyEvent(const char\*, int, const StringVector&, LokEventTargetEnum)’:  
kit/ChildSession.cpp:1356:29: error: ‘using element\_type = class lok::Document {aka class lok::Document}’ has no member named ‘postWindowKeyEvent’; did you mean ‘postKeyEvent’?  
getLOKitDocument()-\>postWindowKeyEvent(winId, type, charcode, keycode);  
^ ~~~~~~~~~~~~~~~~~  
postKeyEvent  
kit/ChildSession.cpp: In member function ‘bool ChildSession::gestureEvent(const char\*, int, const StringVector&)’:  
kit/ChildSession.cpp:1393:25: error: ‘using element\_type = class lok::Document {aka class lok::Document}’ has no member named ‘postWindowGestureEvent’; did you mean ‘postMouseEvent’?  
getLOKitDocument()-\>postWindowGestureEvent(windowID, type.c\_str(), x, y, offset);  
^ ~~~~~~~~~~~~~~~~~~~~~  
postMouseEvent  
kit/ChildSession.cpp: In member function ‘bool ChildSession::mouseEvent(const char\*, int, const StringVector&, LokEventTargetEnum)’:  
kit/ChildSession.cpp:1461:29: error: ‘using element\_type = class lok::Document {aka class lok::Document}’ has no member named ‘postWindowMouseEvent’; did you mean ‘postMouseEvent’?  
getLOKitDocument()-\>postWindowMouseEvent(winId, type, x, y, count, buttons, modifier);  
^ ~~~~~~~~~~~~~~~~~~~  
postMouseEvent  
kit/ChildSession.cpp: In member function ‘bool ChildSession::dialogEvent(const char\*, int, const StringVector&)’:  
kit/ChildSession.cpp:1482:29: error: ‘using element\_type = class lok::Document {aka class lok::Document}’ has no member named ‘sendDialogEvent’  
getLOKitDocument()-\>sendDialogEvent(nLOKWindowId,  
^ ~~~~~~~~~~~~~~  
kit/ChildSession.cpp:1487:21: error: ‘using element\_type = class lok::Office {aka class lok::Office}’ has no member named ‘sendDialogEvent’  
getLOKit()-\>sendDialogEvent(nLOKWindowId, tokens.cat(’ ', 2).c\_str());  
^ ~~~~~~~~~~~~~~  
kit/ChildSession.cpp: In member function ‘bool ChildSession::formFieldEvent(const char\*, int, const StringVector&)’:  
kit/ChildSession.cpp:1505:25: error: ‘using element\_type = class lok::Document {aka class lok::Document}’ has no member named ‘sendFormFieldEvent’  
getLOKitDocument()-\>sendFormFieldEvent(sArguments.c\_str());  
^ ~~~~~~~~~~~~~~~~~  
kit/ChildSession.cpp: In member function ‘bool ChildSession::completeFunction(const char\*, int, const StringVector&)’:  
kit/ChildSession.cpp:1524:25: error: ‘using element\_type = class lok::Document {aka class lok::Document}’ has no member named ‘completeFunction’  
getLOKitDocument()-\>completeFunction(functionName.c\_str());  
^ ~~~~~~~~~~~~~~~  
kit/ChildSession.cpp: In member function ‘bool ChildSession::selectText(const char\*, int, const StringVector&, LokEventTargetEnum)’:  
kit/ChildSession.cpp:1610:29: error: ‘using element\_type = class lok::Document {aka class lok::Document}’ has no member named ‘setWindowTextSelection’; did you mean ‘setTextSelection’?  
getLOKitDocument()-\>setWindowTextSelection(winId, swap == “true”, x, y);  
^ ~~~~~~~~~~~~~~~~~~~~~  
setTextSelection  
kit/ChildSession.cpp: In member function ‘bool ChildSession::renderWindow(const char\*, int, const StringVector&)’:  
kit/ChildSession.cpp:1656:25: error: ‘using element\_type = class lok::Document {aka class lok::Document}’ has no member named ‘paintWindow’; did you mean ‘paintTile’?  
getLOKitDocument()-\>paintWindow(winId, pixmap.data(), startX, startY, width, height, dpiScale,  
^ ~~~~~~~~~~  
paintTile  
kit/ChildSession.cpp: In member function ‘bool ChildSession::resizeWindow(const char\*, int, const StringVector&)’:  
kit/ChildSession.cpp:1772:33: error: ‘using element\_type = class lok::Document {aka class lok::Document}’ has no member named ‘resizeWindow’  
getLOKitDocument()-\>resizeWindow(winId, sizeParts[0], sizeParts[1]);  
^ ~~~~~~~~~~~  
kit/ChildSession.cpp: In member function ‘bool ChildSession::sendWindowCommand(const char\*, int, const StringVector&)’:  
kit/ChildSession.cpp:1788:29: error: ‘using element\_type = class lok::Document {aka class lok::Document}’ has no member named ‘postWindow’  
getLOKitDocument()-\>postWindow(winId, LOK\_WINDOW\_CLOSE, nullptr);  
^ ~~~~~~~~~  
kit/ChildSession.cpp:1788:47: error: ‘LOK\_WINDOW\_CLOSE’ was not declared in this scope  
getLOKitDocument()-\>postWindow(winId, LOK\_WINDOW\_CLOSE, nullptr);  
^ ~~~~~~~~~~~~~~~  
kit/ChildSession.cpp:1788:47: note: suggested alternative: ‘TCP\_WINDOW\_CLAMP’  
getLOKitDocument()-\>postWindow(winId, LOK\_WINDOW\_CLOSE, nullptr);  
^ ~~~~~~~~~~~~~~~  
TCP\_WINDOW\_CLAMP  
kit/ChildSession.cpp:1790:29: error: ‘using element\_type = class lok::Document {aka class lok::Document}’ has no member named ‘postWindow’  
getLOKitDocument()-\>postWindow(winId, LOK\_WINDOW\_PASTE, tokens[3].c\_str());  
^ ~~~~~~~~~  
kit/ChildSession.cpp:1790:47: error: ‘LOK\_WINDOW\_PASTE’ was not declared in this scope  
getLOKitDocument()-\>postWindow(winId, LOK\_WINDOW\_PASTE, tokens[3].c\_str());  
^ ~~~~~~~~~~~~~~~  
kit/ChildSession.cpp:1790:47: note: suggested alternative: ‘PNG\_INFO\_PLTE’  
getLOKitDocument()-\>postWindow(winId, LOK\_WINDOW\_PASTE, tokens[3].c\_str());  
^ ~~~~~~~~~~~~~~~  
PNG\_INFO\_PLTE  
kit/ChildSession.cpp: In member function ‘bool ChildSession::signDocumentContent(const char\*, int, const StringVector&)’:  
kit/ChildSession.cpp:1862:39: error: ‘using element\_type = class lok::Document {aka class lok::Document}’ has no member named ‘addCertificate’  
bResult = getLOKitDocument()-\>addCertificate(  
^ ~~~~~~~~~~~~~  
kit/ChildSession.cpp:1876:35: error: ‘using element\_type = class lok::Document {aka class lok::Document}’ has no member named ‘insertCertificate’  
bResult = getLOKitDocument()-\>insertCertificate(  
^ ~~~~~~~~~~~~~~~~  
kit/ChildSession.cpp: In member function ‘bool ChildSession::exportSignAndUploadDocument(const char\*, int, const StringVector&)’:  
kit/ChildSession.cpp:1943:39: error: ‘using element\_type = class lok::Document {aka class lok::Document}’ has no member named ‘addCertificate’  
bResult = getLOKitDocument()-\>addCertificate(  
^ ~~~~~~~~~~~~~  
kit/ChildSession.cpp:1967:44: error: ‘using element\_type = class lok::Office {aka class lok::Office}’ has no member named ‘signDocument’  
bResult = \_docManager-\>getLOKit()-\>signDocument(aTempDocumentURL.c\_str(),  
^ ~~~~~~~~~~~  
kit/ChildSession.cpp: In member function ‘bool ChildSession::askSignatureStatus(const char\*, int, const StringVector&)’:  
kit/ChildSession.cpp:2073:43: error: ‘using element\_type = class lok::Document {aka class lok::Document}’ has no member named ‘addCertificate’  
bResult = getLOKitDocument()-\>addCertificate(  
^ ~~~~~~~~~~~~~  
kit/ChildSession.cpp:2082:39: error: ‘using element\_type = class lok::Document {aka class lok::Document}’ has no member named ‘getSignatureState’  
int nStatus = getLOKitDocument()-\>getSignatureState();  
^ ~~~~~~~~~~~~~~~~  
kit/ChildSession.cpp: In member function ‘bool ChildSession::selectClientPart(const char\*, int, const StringVector&)’:  
kit/ChildSession.cpp:2269:33: error: ‘using element\_type = class lok::Document {aka class lok::Document}’ has no member named ‘selectPart’; did you mean ‘setPar ’?  
getLOKitDocument()-\>selectPart(nPart, nSelect);  
^ ~~~~~~~~~  
setPart  
kit/ChildSession.cpp: In member function ‘bool ChildSession::moveSelectedClientParts(const char\*, int, const StringVector&)’:  
kit/ChildSession.cpp:2299:29: error: ‘using element\_type = class lok::Document {aka class lok::Document}’ has no member named ‘moveSelectedParts’  
getLOKitDocument()-\>moveSelectedParts(nPosition, false); // Move, don’t duplicate.  
^ ~~~~~~~~~~~~~~~~  
kit/ChildSession.cpp: In member function ‘bool ChildSession::renderShapeSelection(const char\*, int, const StringVector&)’:  
kit/ChildSession.cpp:2344:57: error: ‘using element\_type = class lok::Document {aka class lok::Document}’ has no member named ‘renderShapeSelection’; did you mean ‘resetSelection’?  
const std::size\_t nOutputSize = getLOKitDocument()-\>renderShapeSelection(&pOutput);  
^ ~~~~~~~~~~~~~~~~~~~  
resetSelection  
kit/ChildSession.cpp: In member function ‘bool ChildSession::removeTextContext(const char\*, int, const StringVector&)’:  
kit/ChildSession.cpp:2380:25: error: ‘using element\_type = class lok::Document {aka class lok::Document}’ has no member named ‘removeTextContext’  
getLOKitDocument()-\>removeTextContext(id, before, after);  
^ ~~~~~~~~~~~~~~~~  
kit/ChildSession.cpp: In member function ‘void ChildSession::rememberEventsForInactiveUser(int, const string&)’:  
kit/ChildSession.cpp:2404:22: error: ‘LOK\_CALLBACK\_INVALIDATE\_SHEET\_GEOMETRY’ was not declared in this scope  
type == LOK\_CALLBACK\_INVALIDATE\_SHEET\_GEOMETRY ||  
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~  
kit/ChildSession.cpp:2404:22: note: suggested alternative: ‘LOK\_CALLBACK\_INVALIDATE\_HEADER’  
type == LOK\_CALLBACK\_INVALIDATE\_SHEET\_GEOMETRY ||  
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~  
LOK\_CALLBACK\_INVALIDATE\_HEADER  
kit/ChildSession.cpp:2406:22: error: ‘LOK\_CALLBACK\_REFERENCE\_MARKS’ was not declared in this scope  
type == LOK\_CALLBACK\_REFERENCE\_MARKS)  
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~  
kit/ChildSession.cpp:2406:22: note: suggested alternative: ‘LOK\_CALLBACK\_RULER\_UPDATE’  
type == LOK\_CALLBACK\_REFERENCE\_MARKS)  
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~  
LOK\_CALLBACK\_RULER\_UPDATE  
kit/ChildSession.cpp: In member function ‘void ChildSession::loKitCallback(int, const string&)’:  
kit/ChildSession.cpp:2469:34: error: ‘lokCallbackTypeToString’ was not declared in this scope  
const char\* const typeName = lokCallbackTypeToString(type);  
^ ~~~~~~~~~~~~~~~~~~~~~~  
kit/ChildSession.cpp:2680:10: error: ‘LOK\_CALLBACK\_WINDOW’ was not declared in this scope  
case LOK\_CALLBACK\_WINDOW:  
^ ~~~~~~~~~~~~~~~~~~  
kit/ChildSession.cpp:2680:10: note: suggested alternative: ‘LOK\_CALLBACK\_ERROR’  
case LOK\_CALLBACK\_WINDOW:  
^ ~~~~~~~~~~~~~~~~~~  
LOK\_CALLBACK\_ERROR  
kit/ChildSession.cpp:2683:10: error: ‘LOK\_CALLBACK\_VALIDITY\_LIST\_BUTTON’ was not declared in this scope  
case LOK\_CALLBACK\_VALIDITY\_LIST\_BUTTON:  
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~  
kit/ChildSession.cpp:2683:10: note: suggested alternative: ‘LOK\_CALLBACK\_INVALIDATE\_VIEW\_CURSOR’  
case LOK\_CALLBACK\_VALIDITY\_LIST\_BUTTON:  
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~  
LOK\_CALLBACK\_INVALIDATE\_VIEW\_CURSOR  
kit/ChildSession.cpp:2686:10: error: ‘LOK\_CALLBACK\_VALIDITY\_INPUT\_HELP’ was not declared in this scope  
case LOK\_CALLBACK\_VALIDITY\_INPUT\_HELP:  
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~  
kit/ChildSession.cpp:2686:10: note: suggested alternative: ‘LOK\_CALLBACK\_INVALIDATE\_TILES’  
case LOK\_CALLBACK\_VALIDITY\_INPUT\_HELP:  
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~  
LOK\_CALLBACK\_INVALIDATE\_TILES  
kit/ChildSession.cpp:2689:10: error: ‘LOK\_CALLBACK\_CLIPBOARD\_CHANGED’ was not declared in this scope  
case LOK\_CALLBACK\_CLIPBOARD\_CHANGED:  
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~  
kit/ChildSession.cpp:2689:10: note: suggested alternative: ‘LOK\_CALLBACK\_STATE\_CHANGED’  
case LOK\_CALLBACK\_CLIPBOARD\_CHANGED:  
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~  
LOK\_CALLBACK\_STATE\_CHANGED  
kit/ChildSession.cpp:2702:10: error: ‘LOK\_CALLBACK\_CONTEXT\_CHANGED’ was not declared in this scope  
case LOK\_CALLBACK\_CONTEXT\_CHANGED:  
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~  
kit/ChildSession.cpp:2702:10: note: suggested alternative: ‘LOK\_CALLBACK\_STATE\_CHANGED’  
case LOK\_CALLBACK\_CONTEXT\_CHANGED:  
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~  
LOK\_CALLBACK\_STATE\_CHANGED  
kit/ChildSession.cpp:2705:10: error: ‘LOK\_CALLBACK\_SIGNATURE\_STATUS’ was not declared in this scope  
case LOK\_CALLBACK\_SIGNATURE\_STATUS:  
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~  
kit/ChildSession.cpp:2705:10: note: suggested alternative: ‘LOK\_CALLBACK\_STATE\_CHANGED’  
case LOK\_CALLBACK\_SIGNATURE\_STATUS:  
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~  
LOK\_CALLBACK\_STATE\_CHANGED  
kit/ChildSession.cpp:2709:10: error: ‘LOK\_CALLBACK\_PROFILE\_FRAME’ was not declared in this scope  
case LOK\_CALLBACK\_PROFILE\_FRAME:  
^ ~~~~~~~~~~~~~~~~~~~~~~~~~  
kit/ChildSession.cpp:2709:10: note: suggested alternative: ‘LOK\_CALLBACK\_RULER\_UPDATE’  
case LOK\_CALLBACK\_PROFILE\_FRAME:  
^ ~~~~~~~~~~~~~~~~~~~~~~~~~  
LOK\_CALLBACK\_RULER\_UPDATE  
kit/ChildSession.cpp:2714:10: error: ‘LOK\_CALLBACK\_CELL\_SELECTION\_AREA’ was not declared in this scope  
case LOK\_CALLBACK\_CELL\_SELECTION\_AREA:  
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~  
kit/ChildSession.cpp:2714:10: note: suggested alternative: ‘LOK\_CALLBACK\_TEXT\_SELECTION\_END’  
case LOK\_CALLBACK\_CELL\_SELECTION\_AREA:  
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~  
LOK\_CALLBACK\_TEXT\_SELECTION\_END  
kit/ChildSession.cpp:2717:10: error: ‘LOK\_CALLBACK\_CELL\_AUTO\_FILL\_AREA’ was not declared in this scope  
case LOK\_CALLBACK\_CELL\_AUTO\_FILL\_AREA:  
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~  
kit/ChildSession.cpp:2717:10: note: suggested alternative: ‘LOK\_CALLBACK\_CELL\_FORMULA’  
case LOK\_CALLBACK\_CELL\_AUTO\_FILL\_AREA:  
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~  
LOK\_CALLBACK\_CELL\_FORMULA  
kit/ChildSession.cpp:2720:10: error: ‘LOK\_CALLBACK\_TABLE\_SELECTED’ was not declared in this scope  
case LOK\_CALLBACK\_TABLE\_SELECTED:  
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~  
kit/ChildSession.cpp:2720:10: note: suggested alternative: ‘LOK\_CALLBACK\_TEXT\_SELECTION’  
case LOK\_CALLBACK\_TABLE\_SELECTED:  
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~  
LOK\_CALLBACK\_TEXT\_SELECTION  
kit/ChildSession.cpp:2723:10: error: ‘LOK\_CALLBACK\_REFERENCE\_MARKS’ was not declared in this scope  
case LOK\_CALLBACK\_REFERENCE\_MARKS:  
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~  
kit/ChildSession.cpp:2723:10: note: suggested alternative: ‘LOK\_CALLBACK\_RULER\_UPDATE’  
case LOK\_CALLBACK\_REFERENCE\_MARKS:  
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~  
LOK\_CALLBACK\_RULER\_UPDATE  
kit/ChildSession.cpp:2726:10: error: ‘LOK\_CALLBACK\_JSDIALOG’ was not declared in this scope  
case LOK\_CALLBACK\_JSDIALOG:  
^ ~~~~~~~~~~~~~~~~~~~~  
kit/ChildSession.cpp:2726:10: note: suggested alternative: ‘LOK\_CALLBACK\_VIEW\_LOCK’  
case LOK\_CALLBACK\_JSDIALOG:  
^ ~~~~~~~~~~~~~~~~~~~~  
LOK\_CALLBACK\_VIEW\_LOCK  
kit/ChildSession.cpp:2729:10: error: ‘LOK\_CALLBACK\_CALC\_FUNCTION\_LIST’ was not declared in this scope  
case LOK\_CALLBACK\_CALC\_FUNCTION\_LIST:  
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~  
kit/ChildSession.cpp:2729:10: note: suggested alternative: ‘LOK\_CALLBACK\_TEXT\_SELECTION\_END’  
case LOK\_CALLBACK\_CALC\_FUNCTION\_LIST:  
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~  
LOK\_CALLBACK\_TEXT\_SELECTION\_END  
kit/ChildSession.cpp:2732:10: error: ‘LOK\_CALLBACK\_TAB\_STOP\_LIST’ was not declared in this scope  
case LOK\_CALLBACK\_TAB\_STOP\_LIST:  
^ ~~~~~~~~~~~~~~~~~~~~~~~~~  
kit/ChildSession.cpp:2732:10: note: suggested alternative: ‘LOK\_CALLBACK\_SET\_PART’  
case LOK\_CALLBACK\_TAB\_STOP\_LIST:  
^ ~~~~~~~~~~~~~~~~~~~~~~~~~  
LOK\_CALLBACK\_SET\_PART  
kit/ChildSession.cpp:2735:10: error: ‘LOK\_CALLBACK\_FORM\_FIELD\_BUTTON’ was not declared in this scope  
case LOK\_CALLBACK\_FORM\_FIELD\_BUTTON:  
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~  
kit/ChildSession.cpp:2735:10: note: suggested alternative: ‘LOK\_CALLBACK\_CELL\_VIEW\_CURSOR’  
case LOK\_CALLBACK\_FORM\_FIELD\_BUTTON:  
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~  
LOK\_CALLBACK\_CELL\_VIEW\_CURSOR  
kit/ChildSession.cpp:2738:10: error: ‘LOK\_CALLBACK\_INVALIDATE\_SHEET\_GEOMETRY’ was not declared in this scope  
case LOK\_CALLBACK\_INVALIDATE\_SHEET\_GEOMETRY:  
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~  
kit/ChildSession.cpp:2738:10: note: suggested alternative: ‘LOK\_CALLBACK\_INVALIDATE\_HEADER’  
case LOK\_CALLBACK\_INVALIDATE\_SHEET\_GEOMETRY:  
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~  
LOK\_CALLBACK\_INVALIDATE\_HEADER  
Makefile:1888: recipe for target ‘kit/ChildSession.o’ failed  
make[1]: \*\*\* [kit/ChildSession.o] Error 1  
make[1]: 离开目录“/root/collabora-online”  
Makefile:3741: recipe for target ‘check-recursive’ failed  
make: \*\*\* [check-recursive] Error 1

---

<div class="post-metadata">

**Author:** ![kara](https://avatars.discourse-cdn.com/v4/letter/k/e480ec/32.png) [@kara](https://forum.collaboraonline.com/u/kara)\
**Post date:** [March 18, 2021, 10:37am UTC](https://forum.collaboraonline.com/t/make-error-when-compling/253/8 "2021-03-18T10:37:35Z")

</div>

Which set of instructions have you followed (which OS/diistro)? Could you please share the details of what you did? (Commands, downloads, installations etc.)

---

<div class="post-metadata">

**Author:** ![wxf26054](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.collaboraonline.com/wxf26054/32/1087_2.png) [@wxf26054](https://forum.collaboraonline.com/u/wxf26054)\
**Post date:** [March 19, 2021, 7:17am UTC](https://forum.collaboraonline.com/t/make-error-when-compling/253/9 "2021-03-19T07:17:42Z")

</div>

My OS is Ubuntu 18.04 with no graphical desktop. Only ssh connection  
./autogen.sh

All the compiling dependency was installed as the newest version. Then next  
./configure --with-lo-path=/usr/lib/libreoffice/program

---

<div class="post-metadata">

**Author:** ![kara](https://avatars.discourse-cdn.com/v4/letter/k/e480ec/32.png) [@kara](https://forum.collaboraonline.com/u/kara)\
**Post date:** [March 25, 2021, 10:12am UTC](https://forum.collaboraonline.com/t/make-error-when-compling/253/10 "2021-03-25T10:12:56Z")

</div>

From what I see, I understand that you are referencing a local installation of LibreOffice in your configure command, which is most probably the source of issues you are having. You need to use the correct/matching version of Collabora Online together with Collabora Office (not LibreOffice). (Collabora Office is LibreOffice-based but not exactly the same.)

Try to follow the instructions precisely, and you should be fine. 😉

---

<div class="post-metadata">

**Author:** ![wxf26054](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.collaboraonline.com/wxf26054/32/1087_2.png) [@wxf26054](https://forum.collaboraonline.com/u/wxf26054)\
**Post date:** [March 26, 2021, 1:08am UTC](https://forum.collaboraonline.com/t/make-error-when-compling/253/11 "2021-03-26T01:08:54Z")

</div>

Did you mean the branch “Online” under [CollaboraOnline](https://github.com/CollaboraOnline/online) ?  
 ![image](https://europe1.discourse-cdn.com/flex013/uploads/collaboraonline/original/1X/b6ee3c02ebc744a67160c5f973e1a847ad6998c8.png)

---

<div class="post-metadata">

**Author:** ![wxf26054](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.collaboraonline.com/wxf26054/32/1087_2.png) [@wxf26054](https://forum.collaboraonline.com/u/wxf26054)\
**Post date:** [March 28, 2021, 12:23am UTC](https://forum.collaboraonline.com/t/make-error-when-compling/253/12 "2021-03-28T00:23:11Z")

</div>

I’ve solved this by following the Development guide docs.
