You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I tried building LGL on Ubuntu 18.04, and it seems to fail with the below errors. I'm not really familiar with boost, so I don't know where to start debugging. Any ideas?
make -C Java jarfiles
make[1]: Entering directory '/home/<redacted>/LGL/Java'
make[1]: Nothing to be done for 'jarfiles'.
make[1]: Leaving directory '/home/<redacted>/LGL/Java'
make -C src all
make[1]: Entering directory '/home/<redacted>/LGL/src'
c++ -I../include -c -std=c++11 -Wall -O3 -ftemplate-depth=100 -g -DBOOST_ALLOW_DEPRECATED_HEADERS lglayout.C
c++ -I../include -c -std=c++11 -Wall -O3 -ftemplate-depth=100 -g -DBOOST_ALLOW_DEPRECATED_HEADERS calcFuncs.C
In file included from ../include/particle.hpp:28:0,
from ../include/particleInteractionHandler.hpp:32,
from calcFuncs.C:27:
../include/fixedVec.hpp: In instantiation of ‘void FixedVec<T, dimension_>::operator+=(const FixedVec<U, dimension_>&) [with U = float; T = boost::atomics::atomic<float>; unsigned int dimension_ = 3]’:
../include/particle.hpp:109:40: required from ‘void Particle<prec_, dimension_>::add2F(const vec_type&) [with prec_ = float; unsigned int dimension_ = 3; Particle<prec_, dimension_>::vec_type = FixedVec<float, 3>]’
../include/particleInteractionHandler.hpp:232:8: required from ‘void ParticleInteractionHandler<Particle>::springRepulsiveInteraction(Particle&, Particle&) const [with Particle = Particle<float, 3>]’
calcFuncs.C:163:42: required from here
../include/fixedVec.hpp:189:16: error: no match for ‘operator+=’ (operand types are ‘boost::atomics::atomic<float>’ and ‘FixedVec<float, 3>::prec_ {aka float}’)
orig[ii] += p2[ii];
~~~~~~~~~^~~~~~
Makefile:30: recipe for target 'calcFuncs.o' failed
make[1]: *** [calcFuncs.o] Error 1
make[1]: Leaving directory '/home/<redacted>/LGL/src'
Makefile:11: recipe for target 'all' failed
make: *** [all] Error 2```
The text was updated successfully, but these errors were encountered:
I tried building LGL on Ubuntu 18.04, and it seems to fail with the below errors. I'm not really familiar with boost, so I don't know where to start debugging. Any ideas?
The text was updated successfully, but these errors were encountered: