Variable LIBMARIADB not defined
|
|
---|---|
Hi, My work environment is as follows.
From this environment I try to build tango-controls with the following instructions.
In the file build/distr/cppserver/database/DataBase.h the variable LIBMARIADB is not defined anywhere. This is what causes the build error. I searched all the code, also configuration generators (ant, automake), I did not find any trace of definition of this variable. Any help to unblock my situation is welcome. |
|
|
---|---|
Hi JC, as a quick workaround you can uncomment the offending code. See below. I've opened https://gitlab.com/tango-controls/TangoDatabase/-/issues/29 to track that issue. The symbol LIBMARIADB is defined by the mariadb client header.
|
|
|
---|---|
Thank you for this prompt answer and for opening a ticket on GitLab about this! So first I will comment these lines of code to continue the build. |
|
|
---|---|
I now have a fix ready at https://gitlab.com/tango-controls/TangoDatabase/-/merge_requests/30. Please have a look if that works. |
|
|
---|---|
I was not able to get the bugfix/compilation-error-my-bool branch via git. I integrated the changes in the DataBase.h file by hand. The build works perfectly! Thanks Thomas. |