[Halld-offline] sim-recon compillation problems
Shepherd, Matthew
mashephe at indiana.edu
Tue Feb 6 06:21:52 EST 2018
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
More information about the Halld-offline
mailing list