compile problems

Help
2007-06-28
2013-04-09
  • Hi,

    I am trying to compile openflower v1.0 and get the following error when I run make:

    g++  -g -O2   -o OpenFlower  main.o ./Kernel/libKernel.a ./Equations/libEquations.a ./Boundaries/libBoundaries.a ./Boundaries/BCNavierStokes/libBCNavierStokes.a ./Geometry/libGeometry.a ./Maths/libMaths.a ./Maths/LinAlg/libLinAlg.a ./PostProcessing/libPostProc.a ./Utils/libUtils.a ./Algorithms/libAlgorithms.a  -llaspack -lxc
    /usr/bin/ld: cannot find -lxc
    collect2: ld returned 1 exit status
    make[3]: *** [OpenFlower] Error 1
    make[3]: Leaving directory `/home/ol/openflower/openflower-v1.0/src'
    make[2]: *** [all-recursive] Error 1
    make[2]: Leaving directory `/home/ol/openflower/openflower-v1.0/src'
    make[1]: *** [all-recursive] Error 1
    make[1]: Leaving directory `/home/ol/openflower/openflower-v1.0'
    make: *** [all] Error 2

    I guess the linker doesn't like something but I don't know enough about linux to figure it out. Any help appriciated.

     
    • you need to download & install laspack (google for laspack-1.12.2.tgz)