[Halld-offline] sim-recon compillation problems
Alexander Somov
somov at jlab.org
Tue Feb 6 17:12:36 EST 2018
Hi All,
Mark explained to me, that one has to set two variables
setenv SQLITECPP_VERSION 2.2.0
setenv SQLITECPP_HOME /group/halld/Software/builds/Linux_CentOS7-x86_64-gcc4.9.2/sqlitecpp/SQLiteCpp-2.2.0
I think that these vars have to be added to the BMS_OSNAME/setenv.csh file
which is created at the compilation stage (I usually just copy this file
from the nightly build or sim-recon version I want to use).
Mark, did you have a chance to check whether the parser 'really'
works with SQLite (I remember that Dmitry R. had some problems with it;
I hope that he fixed them) ?
Thanks,
Alex
On Tue, 6 Feb 2018, Shepherd, Matthew wrote:
>
> Mark,
>
> As usual, we don't pay attention to these informative messages until we have a problem... only to find out we were already told we were going to have a problem!
>
> My turn now:
>
> So I've compiled the new version of SQLiteCpp and have the static library: libSQLiteCpp.a that is needed to resolve linking problems in sim-recon.
>
> ...but where is the right place to put it?
>
> I was able to kludge a solution, by putting a symlink to libSQLiteCpp.a in:
>
> $HALLD_HOME/Linux_CentOS6-x86_64-gcc4.9.3/libraries
>
> This got my compilation to work, but it isn't really a permanent solution.
>
> Matt
>
>
>> On Feb 4, 2018, at 4:26 PM, Mark Ito <marki at jlab.org> wrote:
>>
>> Alex,
>>
>> Please see
>>
>> https://mailman.jlab.org/pipermail/halld-offline/2018-February/003090.html
>>
>> and let me know if I can offer further help.
>>
>> -- Mark
>>
>>
>> On 02/04/2018 04:19 PM, Alexander Somov wrote:
>>>
>>> Hi,
>>>
>>> I cannot compile the latest version of sim-recon (taken from the github), there are some rcdb errors
>>> related to the sqlite support.
>>>
>>> Any ideas what can be wrong ?
>>>
>>> Thanks,
>>> Alex
>>>
>>>
>>> (vars are taken from
>>> nightly/2018-02-01/Linux_CentOS6-x86_64-gcc4.9.2/sim-recon/Linux_CentOS6-x86_64-gcc4.9.2/setenv.csh)
>>>
>>> setenv BMS_OSNAME Linux_CentOS6-x86_64-gcc4.9.2
>>> setenv RCDB_HOME /group/halld/Software/builds/Linux_CentOS6-x86_64-gcc4.9.2/rcdb/rcdb_0.02.01
>>>
>>>
>>>
>>> /group/halld/Software/builds/Linux_CentOS6-x86_64-gcc4.9.2/rcdb/rcdb_0.02.01/cpp/include/RCDB/SqLiteProvider.h: In member function 'virtual std::unique_ptr<rcdb::Condition> rcdb::SqLiteProvider::GetCondition(uint64_t, const rcdb::ConditionType&)':
>>> /group/halld/Software/builds/Linux_CentOS6-x86_64-gcc4.9.2/rcdb/rcdb_0.02.01/cpp/include/RCDB/SqLiteProvider.h:87:41: error: 'sqlite3_int64' was not declared in this scope
>>> _getConditionQuery.bind(1, (sqlite3_int64)run);
>>> ^
>>> /group/halld/Software/builds/Linux_CentOS6-x86_64-gcc4.9.2/rcdb/rcdb_0.02.01/cpp/include/RCDB/SqLiteProvider.h:88:55: error: expected ')' before 'typeId'
>>> _getConditionQuery.bind(2, (sqlite3_int64)typeId);
>>>
>>>
>>> _______________________________________________
>>> Halld-offline mailing list
>>> Halld-offline at jlab.org
>>> https://mailman.jlab.org/mailman/listinfo/halld-offline
>>
>> _______________________________________________
>> Halld-offline mailing list
>> Halld-offline at jlab.org
>> https://mailman.jlab.org/mailman/listinfo/halld-offline
>
>
> _______________________________________________
> Halld-offline mailing list
> Halld-offline at jlab.org
> https://mailman.jlab.org/mailman/listinfo/halld-offline
>
More information about the Halld-offline
mailing list