make problem-openflower0.3

Help
chemflux
2005-01-04
2013-04-09
  • chemflux
    chemflux
    2005-01-04

    Hello, Thank you for your great works of developing CFD application

    I downloaded openflower v0.3 and tried to compile
    but some problems took place like previous thread, I fixed the "ifstream" error as a method reported by tusharg
    but the orther compile errors came into as follows
    the gcc version of mine is 2.95.4, I don't kow what to do..
    Could you get out new version of openflow?

    [root@localhost openflower-v0.3]# make
    make  all-recursive
    make[1]: 들어감 `/root/openflower/openflower-v0.3' 디렉토리
    Making all in src
    make[2]: 들어감 `/root/openflower/openflower-v0.3/src' 디렉토리
    Making all in Algorithms
    make[3]: 들어감 `/root/openflower/openflower-v0.3/src/Algorithms' 디렉토리
    make[3]: Nothing to be done for `all'.
    make[3]: 나감 `/root/openflower/openflower-v0.3/src/Algorithms' 디렉토리
    Making all in Boundaries
    make[3]: 들어감 `/root/openflower/openflower-v0.3/src/Boundaries' 디렉토리
    make[3]: Nothing to be done for `all'.
    make[3]: 나감 `/root/openflower/openflower-v0.3/src/Boundaries' 디렉토리
    Making all in Equations
    make[3]: 들어감 `/root/openflower/openflower-v0.3/src/Equations' 디렉토리
    make[3]: Nothing to be done for `all'.
    make[3]: 나감 `/root/openflower/openflower-v0.3/src/Equations' 디렉토리
    Making all in Geometry
    make[3]: 들어감 `/root/openflower/openflower-v0.3/src/Geometry' 디렉토리
    c++ -DHAVE_CONFIG_H -I. -I. -I../..  -I../Utils -I../Maths -I../PostProcessing    -g -O2 -c Octree.cpp
    Octree.cpp: In method `void Octree::searchElementWithCoordinates(MyVector<double> &, int &, MyVector<double> &)':
    Octree.cpp:388: implicit declaration of function `int pow(...)'
    make[3]: *** [Octree.o] &#50724;&#47448; 1
    make[3]: &#45208;&#44048; `/root/openflower/openflower-v0.3/src/Geometry' &#46356;&#47113;&#53664;&#47532;
    make[2]: *** [all-recursive] &#50724;&#47448; 1
    make[2]: &#45208;&#44048; `/root/openflower/openflower-v0.3/src' &#46356;&#47113;&#53664;&#47532;
    make[1]: *** [all-recursive] &#50724;&#47448; 1
    make[1]: &#45208;&#44048; `/root/openflower/openflower-v0.3' &#46356;&#47113;&#53664;&#47532;
    make: *** [all-recursive-am] &#50724;&#47448; 2

     
    • Hi,

      Thank you very much for your collaboration in reporting problems in compiling the code and for your comments.
      It is a recurrent problem that we encounter... ;-)

      I guess that we should have include the math.h header file at the beginning of Octree.cpp and did not... I guess that some compilers manage to get the information from the proper header file concerning the mathematical function pow().

      I think it should help. Have you tried this ? If yes and it did not work out, then please let me know and i'll try to see what is going on.

      See U soon,
      VortexFlow.

       
      • chemflux
        chemflux
        2005-01-06

        vortexflow, Thank you for your kind answer.
        I completely compiled and installed the openflower
        great!!