Menu

Boost Odeint not found

Anonymous
2016-11-13
2016-11-19
  • Anonymous

    Anonymous - 2016-11-13

    Topic moved from here:

    Dear Brad,
    Thanks very mcuh, I have done that as you wrote above and export WN_XML_CHAR=char works for me.
    But another problem come as follows:
    run_entropy.cpp:32:36: error: boost/numeric/odeint.hpp: No such file or directory
    run_entropy.cpp: In function 'int main(int, char)':
    run_entropy.cpp:653: error: 'boost::numeric' has not been declared
    run_entropy.cpp:653: error: expected primary-expression before '>' token
    run_entropy.cpp:653: error: 'stepper' was not declared in this scope
    make: * [run_entropy] Error 1
    Make failed. Contact project maintainer.
    I tried to reinstall the boost and it still come out with the same error.
    Thanks very much.

     
    • Bradley S. Meyer

      Thanks for your post. The Odeint library was introduced into Boost in version 1.53.0. It may be that your Boost version is not recent enough. You can try the test_versions code in the examples/misc directory to check:

      cd nucnet-tools-code/examples/misc

      make test_versions

      ./test_versions

      This blog post describes how to use the latest version of Boost via git. I hope that helps.

       

      Last edit: Bradley S. Meyer 2016-11-13
  • Anonymous

    Anonymous - 2016-11-14

    Dera Brad,
    I have done that and it seemed work for misc directory .cpp file but for the network files it still have the same problem.
    cd nucnet-tools-code/examples/misc
    ./exmaples_make

    ls

    add_properties_to_zone_xml diff_current print_rates_by_xpath
    add_properties_to_zone_xml.cpp diff_current.cpp print_rates_by_xpath.cpp
    compare_reaction_files_at_t9 examples_make Qvalue_sign_change
    compare_reaction_files_at_t9.cpp extend_partf Qvalue_sign_change.cpp
    compute_separation_energies extend_partf.cpp reactions_latex
    compute_separation_energies.cpp extract_zones_to_xml reactions_latex.cpp
    create_equil_zones_from_network extract_zones_to_xml.cpp select_network
    create_equil_zones_from_network.cpp Makefile select_network.cpp
    create_multi_zone_xml_from_text merge_nuc test_versions
    create_multi_zone_xml_from_text.cpp merge_nuc.cpp test_versions.cpp
    create_zone_xml_from_text one_time_step update_mass_excesses_from_text
    create_zone_xml_from_text.cpp one_time_step.cpp update_mass_excesses_from_text.cpp

    cd nucnet-tools-code/examples/network
    make clean
    ./exmaples_make
    but for the network files still go out this:
    run_entropy.cpp:32:36: error: boost/numeric/odeint.hpp: No such file or directory
    run_entropy.cpp: In function 'int main(int, char)':
    run_entropy.cpp:653: error: 'boost::numeric' has not been declared
    run_entropy.cpp:653: error: expected primary-expression before '>' token
    run_entropy.cpp:653: error: 'stepper' was not declared in this scope
    make:
    * [run_entropy] Error 1
    Make failed. Contact project maintainer.

    Thanks very much for your kind answers.

     
    • Bradley S. Meyer

      When you run examples/misc/test_versions:

      cd nucnet-tools-code/examples/misc

      ./test_versions

      what version of boost does it report?

       
      • Anonymous

        Anonymous - 2016-11-15

        Dear Brad,
        The versions are below.

        misc]$ ./test_versions

        Codes are compiled against:

        libxml version 2.7.6
        gsl version 1.13
        Boost version 1.41.0

         
        • Bradley S. Meyer

          Your version of Boost is 1.41.0. This is very old and certainly before 1.53.0 when Odeint was introduced. Try updating Boost to a recent version.. Then the code should be able to compile. Best wishes.

           
  • Anonymous

    Anonymous - 2016-11-19

    Dear Brad,
    I solved that problem above, but another come, sorry for the problems:

    In analysis directory:
    make: *** [../../obj/WnMatrix.o] Error 1
    Make failed. Contact project maintainer.

    In multi_zone directory:
    /bin/sh: h5c++: command not found
    make: *** [../../obj/WnMatrix.o] Error 127

    analysis]# ./examples_make
    At revision 513.
    tar xz -C ../../vendor -f ../../vendor/wn_matrix.tar.gz
    g++ -Werror -Wall -Wpointer-arith -Wwrite-strings -fshort-enums -fno-common -g -O0 -fopenmp -Wno-deprecated xml2-config --cflags gsl-config --cflags -I../../vendor/libnucnet/0.28/src -I../../vendor/wn_matrix/0.18/src -I../../vendor/libstatmech/0.10/src -I../../vendor/libnuceq/0.7/src -I../.. -c ../../vendor/wn_matrix/0.18/src/WnMatrix.c -o ../../obj/WnMatrix.o
    ../../vendor/wn_matrix/0.18/src/WnMatrix.c: In function 'int WnMatrixassignElement(WnMatrix, size_t, size_t, double)':
    ../../vendor/wn_matrix/0.18/src/WnMatrix.c:130: error: invalid conversion from 'const WnChar
    ' to 'const char'
    ../../vendor/wn_matrix/0.18/src/WnMatrix.c:130: error: initializing argument 3 of 'int xmlStrPrintf(xmlChar
    , int, const char, ...)'
    ../../vendor/wn_matrix/0.18/src/WnMatrix.c:131: error: invalid conversion from 'const WnChar
    ' to 'const char'
    ../../vendor/wn_matrix/0.18/src/WnMatrix.c:131: error: initializing argument 3 of 'int xmlStrPrintf(xmlChar
    , int, const char*, ...)'
    ../../vendor/wn_matrix/0.18/src/WnMatrix.c: In function 'int WnMatrix
    updateElement(WnMatrix, size_t, size_t, double)':
    ../../vendor/wn_matrix/0.18/src/WnMatrix.c:244: error: invalid conversion from 'const WnChar
    ' to 'const char'
    ../../vendor/wn_matrix/0.18/src/WnMatrix.c:244: error: initializing argument 3 of 'int xmlStrPrintf(xmlChar
    , int, const char, ...)'
    ../../vendor/wn_matrix/0.18/src/WnMatrix.c:245: error: invalid conversion from 'const WnChar
    ' to 'const char'
    ../../vendor/wn_matrix/0.18/src/WnMatrix.c:245: error: initializing argument 3 of 'int xmlStrPrintf(xmlChar
    , int, const char, ...)'
    ../../vendor/wn_matrix/0.18/src/WnMatrix.c: In function 'int WnMatrixremoveElement(WnMatrix, size_t, size_t)':
    ../../vendor/wn_matrix/0.18/src/WnMatrix.c:282: error: invalid conversion from 'const WnChar
    ' to 'const char'
    ../../vendor/wn_matrix/0.18/src/WnMatrix.c:282: error: initializing argument 3 of 'int xmlStrPrintf(xmlChar
    , int, const char, ...)'
    ../../vendor/wn_matrix/0.18/src/WnMatrix.c:283: error: invalid conversion from 'const WnChar
    ' to 'const char'
    ../../vendor/wn_matrix/0.18/src/WnMatrix.c:283: error: initializing argument 3 of 'int xmlStrPrintf(xmlChar
    , int, const char*, ...)'
    ../../vendor/wn_matrix/0.18/src/WnMatrix.c: In function 'double WnMatrix
    getElement(WnMatrix
    , size_t, size_t)':
    ../../vendor/wn_matrix/0.18/src/WnMatrix.c:322: error: invalid conversion from 'const WnChar' to 'const char'
    ../../vendor/wn_matrix/0.18/src/WnMatrix.c:322: error: initializing argument 3 of 'int xmlStrPrintf(xmlChar, int, const char, ...)'
    ../../vendor/wn_matrix/0.18/src/WnMatrix.c:323: error: invalid conversion from 'const WnChar' to 'const char'
    ../../vendor/wn_matrix/0.18/src/WnMatrix.c:323: error: initializing argument 3 of 'int xmlStrPrintf(xmlChar, int, const char, ...)'
    ../../vendor/wn_matrix/0.18/src/WnMatrix.c: In function 'WnMatrixLine* WnMatrixgetRow(WnMatrix, size_t)':
    ../../vendor/wn_matrix/0.18/src/WnMatrix.c:1044: error: invalid conversion from 'const WnChar
    ' to 'const char'
    ../../vendor/wn_matrix/0.18/src/WnMatrix.c:1044: error: initializing argument 3 of 'int xmlStrPrintf(xmlChar
    , int, const char, ...)'
    ../../vendor/wn_matrix/0.18/src/WnMatrix.c: In function 'WnMatrixLine* WnMatrixgetColumn(WnMatrix
    , size_t)':
    ../../vendor/wn_matrix/0.18/src/WnMatrix.c:1108: error: invalid conversion from 'const WnChar' to 'const char'
    ../../vendor/wn_matrix/0.18/src/WnMatrix.c:1108: error: initializing argument 3 of 'int xmlStrPrintf(xmlChar, int, const char, ...)'
    ../../vendor/wn_matrix/0.18/src/WnMatrix.c: In function 'xmlDoc WnMatrixCoomakeXmlDocument(WnMatrixCoo, const WnChar)':
    ../../vendor/wn_matrix/0.18/src/WnMatrix.c:1903: error: invalid conversion from 'const WnChar' to 'const char'
    ../../vendor/wn_matrix/0.18/src/WnMatrix.c:1903: error: initializing argument 3 of 'int xmlStrPrintf(xmlChar, int, const char, ...)'
    ../../vendor/wn_matrix/0.18/src/WnMatrix.c:1920: error: invalid conversion from 'const WnChar' to 'const char'
    ../../vendor/wn_matrix/0.18/src/WnMatrix.c:1920: error: initializing argument 3 of 'int xmlStrPrintf(xmlChar, int, const char, ...)'
    ../../vendor/wn_matrix/0.18/src/WnMatrix.c:1937: error: invalid conversion from 'const WnChar' to 'const char'
    ../../vendor/wn_matrix/0.18/src/WnMatrix.c:1937: error: initializing argument 3 of 'int xmlStrPrintf(xmlChar, int, const char, ...)'
    ../../vendor/wn_matrix/0.18/src/WnMatrix.c: In function 'xmlDoc* WnMatrix
    CsrmakeXmlDocument(WnMatrixCsr
    , const WnChar)':
    ../../vendor/wn_matrix/0.18/src/WnMatrix.c:2095: error: invalid conversion from 'const WnChar
    ' to 'const char'
    ../../vendor/wn_matrix/0.18/src/WnMatrix.c:2095: error: initializing argument 3 of 'int xmlStrPrintf(xmlChar
    , int, const char, ...)'
    ../../vendor/wn_matrix/0.18/src/WnMatrix.c:2140: error: invalid conversion from 'const WnChar
    ' to 'const char'
    ../../vendor/wn_matrix/0.18/src/WnMatrix.c:2140: error: initializing argument 3 of 'int xmlStrPrintf(xmlChar
    , int, const char, ...)'
    ../../vendor/wn_matrix/0.18/src/WnMatrix.c:2157: error: invalid conversion from 'const WnChar
    ' to 'const char'
    ../../vendor/wn_matrix/0.18/src/WnMatrix.c:2157: error: initializing argument 3 of 'int xmlStrPrintf(xmlChar
    , int, const char, ...)'
    ../../vendor/wn_matrix/0.18/src/WnMatrix.c: In function 'xmlDoc
    WnMatrixYalemakeXmlDocument(WnMatrixYale, const WnChar)':
    ../../vendor/wn_matrix/0.18/src/WnMatrix.c:2320: error: invalid conversion from 'const WnChar' to 'const char'
    ../../vendor/wn_matrix/0.18/src/WnMatrix.c:2320: error: initializing argument 3 of 'int xmlStrPrintf(xmlChar, int, const char, ...)'
    ../../vendor/wn_matrix/0.18/src/WnMatrix.c:2337: error: invalid conversion from 'const WnChar' to 'const char'
    ../../vendor/wn_matrix/0.18/src/WnMatrix.c:2337: error: initializing argument 3 of 'int xmlStrPrintf(xmlChar, int, const char, ...)'
    ../../vendor/wn_matrix/0.18/src/WnMatrix.c: In function 'xmlDoc* WnMatrix
    make_gsl_vector_xml_document(gsl_vector, const WnChar)':
    ../../vendor/wn_matrix/0.18/src/WnMatrix.c:2899: error: invalid conversion from 'const WnChar' to 'const char'
    ../../vendor/wn_matrix/0.18/src/WnMatrix.c:2899: error: initializing argument 3 of 'int xmlStrPrintf(xmlChar, int, const char, ...)'
    make: [../../obj/WnMatrix.o] Error 1
    rm -fr ../../obj
    rm ../../nnt/string_defs.h
    tar xz -C ../../vendor -f ../../vendor/wn_matrix.tar.gz
    g++ -Werror -Wall -Wpointer-arith -Wwrite-strings -fshort-enums -fno-common -g -O0 -fopenmp -Wno-deprecated xml2-config --cflags gsl-config --cflags -I../../vendor/libnucnet/0.28/src -I../../vendor/wn_matrix/0.18/src -I../../vendor/libstatmech/0.10/src -I../../vendor/libnuceq/0.7/src -I../.. -c ../../vendor/wn_matrix/0.18/src/WnMatrix.c -o ../../obj/WnMatrix.o
    ../../vendor/wn_matrix/0.18/src/WnMatrix.c: In function 'int WnMatrixassignElement(WnMatrix, size_t, size_t, double)':
    ../../vendor/wn_matrix/0.18/src/WnMatrix.c:130: error: invalid conversion from 'const WnChar
    ' to 'const char'
    ../../vendor/wn_matrix/0.18/src/WnMatrix.c:130: error: initializing argument 3 of 'int xmlStrPrintf(xmlChar
    , int, const char, ...)'
    ../../vendor/wn_matrix/0.18/src/WnMatrix.c:131: error: invalid conversion from 'const WnChar
    ' to 'const char'
    ../../vendor/wn_matrix/0.18/src/WnMatrix.c:131: error: initializing argument 3 of 'int xmlStrPrintf(xmlChar
    , int, const char*, ...)'
    ../../vendor/wn_matrix/0.18/src/WnMatrix.c: In function 'int WnMatrix
    updateElement(WnMatrix, size_t, size_t, double)':
    ../../vendor/wn_matrix/0.18/src/WnMatrix.c:244: error: invalid conversion from 'const WnChar
    ' to 'const char'
    ../../vendor/wn_matrix/0.18/src/WnMatrix.c:244: error: initializing argument 3 of 'int xmlStrPrintf(xmlChar
    , int, const char, ...)'
    ../../vendor/wn_matrix/0.18/src/WnMatrix.c:245: error: invalid conversion from 'const WnChar
    ' to 'const char'
    ../../vendor/wn_matrix/0.18/src/WnMatrix.c:245: error: initializing argument 3 of 'int xmlStrPrintf(xmlChar
    , int, const char, ...)'
    ../../vendor/wn_matrix/0.18/src/WnMatrix.c: In function 'int WnMatrixremoveElement(WnMatrix, size_t, size_t)':
    ../../vendor/wn_matrix/0.18/src/WnMatrix.c:282: error: invalid conversion from 'const WnChar
    ' to 'const char'
    ../../vendor/wn_matrix/0.18/src/WnMatrix.c:282: error: initializing argument 3 of 'int xmlStrPrintf(xmlChar
    , int, const char, ...)'
    ../../vendor/wn_matrix/0.18/src/WnMatrix.c:283: error: invalid conversion from 'const WnChar
    ' to 'const char'
    ../../vendor/wn_matrix/0.18/src/WnMatrix.c:283: error: initializing argument 3 of 'int xmlStrPrintf(xmlChar
    , int, const char*, ...)'
    ../../vendor/wn_matrix/0.18/src/WnMatrix.c: In function 'double WnMatrix
    getElement(WnMatrix
    , size_t, size_t)':
    ../../vendor/wn_matrix/0.18/src/WnMatrix.c:322: error: invalid conversion from 'const WnChar' to 'const char'
    ../../vendor/wn_matrix/0.18/src/WnMatrix.c:322: error: initializing argument 3 of 'int xmlStrPrintf(xmlChar, int, const char, ...)'
    ../../vendor/wn_matrix/0.18/src/WnMatrix.c:323: error: invalid conversion from 'const WnChar' to 'const char'
    ../../vendor/wn_matrix/0.18/src/WnMatrix.c:323: error: initializing argument 3 of 'int xmlStrPrintf(xmlChar, int, const char, ...)'
    ../../vendor/wn_matrix/0.18/src/WnMatrix.c: In function 'WnMatrixLine* WnMatrixgetRow(WnMatrix, size_t)':
    ../../vendor/wn_matrix/0.18/src/WnMatrix.c:1044: error: invalid conversion from 'const WnChar
    ' to 'const char'
    ../../vendor/wn_matrix/0.18/src/WnMatrix.c:1044: error: initializing argument 3 of 'int xmlStrPrintf(xmlChar
    , int, const char, ...)'
    ../../vendor/wn_matrix/0.18/src/WnMatrix.c: In function 'WnMatrixLine* WnMatrixgetColumn(WnMatrix
    , size_t)':
    ../../vendor/wn_matrix/0.18/src/WnMatrix.c:1108: error: invalid conversion from 'const WnChar' to 'const char'
    ../../vendor/wn_matrix/0.18/src/WnMatrix.c:1108: error: initializing argument 3 of 'int xmlStrPrintf(xmlChar, int, const char, ...)'
    ../../vendor/wn_matrix/0.18/src/WnMatrix.c: In function 'xmlDoc WnMatrixCoomakeXmlDocument(WnMatrixCoo, const WnChar)':
    ../../vendor/wn_matrix/0.18/src/WnMatrix.c:1903: error: invalid conversion from 'const WnChar' to 'const char'
    ../../vendor/wn_matrix/0.18/src/WnMatrix.c:1903: error: initializing argument 3 of 'int xmlStrPrintf(xmlChar, int, const char, ...)'
    ../../vendor/wn_matrix/0.18/src/WnMatrix.c:1920: error: invalid conversion from 'const WnChar' to 'const char'
    ../../vendor/wn_matrix/0.18/src/WnMatrix.c:1920: error: initializing argument 3 of 'int xmlStrPrintf(xmlChar, int, const char, ...)'
    ../../vendor/wn_matrix/0.18/src/WnMatrix.c:1937: error: invalid conversion from 'const WnChar' to 'const char'
    ../../vendor/wn_matrix/0.18/src/WnMatrix.c:1937: error: initializing argument 3 of 'int xmlStrPrintf(xmlChar, int, const char, ...)'
    ../../vendor/wn_matrix/0.18/src/WnMatrix.c: In function 'xmlDoc* WnMatrix
    CsrmakeXmlDocument(WnMatrixCsr
    , const WnChar)':
    ../../vendor/wn_matrix/0.18/src/WnMatrix.c:2095: error: invalid conversion from 'const WnChar
    ' to 'const char'
    ../../vendor/wn_matrix/0.18/src/WnMatrix.c:2095: error: initializing argument 3 of 'int xmlStrPrintf(xmlChar
    , int, const char, ...)'
    ../../vendor/wn_matrix/0.18/src/WnMatrix.c:2140: error: invalid conversion from 'const WnChar
    ' to 'const char'
    ../../vendor/wn_matrix/0.18/src/WnMatrix.c:2140: error: initializing argument 3 of 'int xmlStrPrintf(xmlChar
    , int, const char, ...)'
    ../../vendor/wn_matrix/0.18/src/WnMatrix.c:2157: error: invalid conversion from 'const WnChar
    ' to 'const char'
    ../../vendor/wn_matrix/0.18/src/WnMatrix.c:2157: error: initializing argument 3 of 'int xmlStrPrintf(xmlChar
    , int, const char, ...)'
    ../../vendor/wn_matrix/0.18/src/WnMatrix.c: In function 'xmlDoc
    WnMatrixYalemakeXmlDocument(WnMatrixYale, const WnChar)':
    ../../vendor/wn_matrix/0.18/src/WnMatrix.c:2320: error: invalid conversion from 'const WnChar' to 'const char'
    ../../vendor/wn_matrix/0.18/src/WnMatrix.c:2320: error: initializing argument 3 of 'int xmlStrPrintf(xmlChar, int, const char, ...)'
    ../../vendor/wn_matrix/0.18/src/WnMatrix.c:2337: error: invalid conversion from 'const WnChar' to 'const char'
    ../../vendor/wn_matrix/0.18/src/WnMatrix.c:2337: error: initializing argument 3 of 'int xmlStrPrintf(xmlChar, int, const char, ...)'
    ../../vendor/wn_matrix/0.18/src/WnMatrix.c: In function 'xmlDoc* WnMatrix
    make_gsl_vector_xml_document(gsl_vector, const WnChar)':
    ../../vendor/wn_matrix/0.18/src/WnMatrix.c:2899: error: invalid conversion from 'const WnChar' to 'const char'
    ../../vendor/wn_matrix/0.18/src/WnMatrix.c:2899: error: initializing argument 3 of 'int xmlStrPrintf(xmlChar, int, const char, ...)'
    make:
    [../../obj/WnMatrix.o] Error 1
    rm -fr ../../obj
    rm ../../nnt/string_defs.h
    rm -fr ../../vendor
    wget http://sourceforge.net/projects//wnmatrix/files/wn_matrix/wn_matrix_0.18.tar.gz -O ../../vendor/wn_matrix.tar.gz
    --2016-11-19 22:03:05-- http://sourceforge.net/projects//wnmatrix/files/wn_matrix/wn_matrix_0.18.tar.gz
    Resolving sourceforge.net... 216.34.181.60
    Connecting to sourceforge.net|216.34.181.60|:80... connected.
    HTTP request sent, awaiting response... 301 Moved Permanently
    Location: https://sourceforge.net/projects//wnmatrix/files/wn_matrix/wn_matrix_0.18.tar.gz [following]
    --2016-11-19 22:03:05-- https://sourceforge.net/projects//wnmatrix/files/wn_matrix/wn_matrix_0.18.tar.gz
    Connecting to sourceforge.net|216.34.181.60|:443... connected.
    HTTP request sent, awaiting response... 302 Found
    Location: https://sourceforge.net/projects/wnmatrix/files/wn_matrix/wn_matrix_0.18.tar.gz/download [following]
    --2016-11-19 22:03:06-- https://sourceforge.net/projects/wnmatrix/files/wn_matrix/wn_matrix_0.18.tar.gz/download
    Connecting to sourceforge.net|216.34.181.60|:443... connected.
    HTTP request sent, awaiting response... 302 Found
    Location: http://downloads.sourceforge.net/project/wnmatrix/wn_matrix/wn_matrix_0.18.tar.gz?r=&ts=1479560587&use_mirror=jaist [following]
    --2016-11-19 22:03:07-- http://downloads.sourceforge.net/project/wnmatrix/wn_matrix/wn_matrix_0.18.tar.gz?r=&ts=1479560587&use_mirror=jaist
    Resolving downloads.sourceforge.net... 216.34.181.59
    Connecting to downloads.sourceforge.net|216.34.181.59|:80... connected.
    HTTP request sent, awaiting response... 302 Found
    Location: http://jaist.dl.sourceforge.net/project/wnmatrix/wn_matrix/wn_matrix_0.18.tar.gz [following]
    --2016-11-19 22:03:07-- http://jaist.dl.sourceforge.net/project/wnmatrix/wn_matrix/wn_matrix_0.18.tar.gz
    Resolving jaist.dl.sourceforge.net... 150.65.7.130, 2001:df0:2ed:feed::feed
    Connecting to jaist.dl.sourceforge.net|150.65.7.130|:80... connected.
    HTTP request sent, awaiting response... 200 OK
    Length: 192418 (188K) [application/x-gzip]
    Saving to: "../../vendor/wn_matrix.tar.gz"

    100%[=================================================================>] 192,418 --.-K/s in 0.04s

    2016-11-19 22:03:07 (4.29 MB/s) - "../../vendor/wn_matrix.tar.gz" saved [192418/192418]

    tar xz -C ../../vendor -f ../../vendor/wn_matrix.tar.gz
    g++ -Werror -Wall -Wpointer-arith -Wwrite-strings -fshort-enums -fno-common -g -O0 -fopenmp -Wno-deprecated xml2-config --cflags gsl-config --cflags -I../../vendor/libnucnet/0.28/src -I../../vendor/wn_matrix/0.18/src -I../../vendor/libstatmech/0.10/src -I../../vendor/libnuceq/0.7/src -I../.. -c ../../vendor/wn_matrix/0.18/src/WnMatrix.c -o ../../obj/WnMatrix.o
    ../../vendor/wn_matrix/0.18/src/WnMatrix.c: In function 'int WnMatrixassignElement(WnMatrix, size_t, size_t, double)':
    ../../vendor/wn_matrix/0.18/src/WnMatrix.c:130: error: invalid conversion from 'const WnChar
    ' to 'const char'
    ../../vendor/wn_matrix/0.18/src/WnMatrix.c:130: error: initializing argument 3 of 'int xmlStrPrintf(xmlChar
    , int, const char, ...)'
    ../../vendor/wn_matrix/0.18/src/WnMatrix.c:131: error: invalid conversion from 'const WnChar
    ' to 'const char'
    ../../vendor/wn_matrix/0.18/src/WnMatrix.c:131: error: initializing argument 3 of 'int xmlStrPrintf(xmlChar
    , int, const char*, ...)'
    ../../vendor/wn_matrix/0.18/src/WnMatrix.c: In function 'int WnMatrix
    updateElement(WnMatrix, size_t, size_t, double)':
    ../../vendor/wn_matrix/0.18/src/WnMatrix.c:244: error: invalid conversion from 'const WnChar
    ' to 'const char'
    ../../vendor/wn_matrix/0.18/src/WnMatrix.c:244: error: initializing argument 3 of 'int xmlStrPrintf(xmlChar
    , int, const char, ...)'
    ../../vendor/wn_matrix/0.18/src/WnMatrix.c:245: error: invalid conversion from 'const WnChar
    ' to 'const char'
    ../../vendor/wn_matrix/0.18/src/WnMatrix.c:245: error: initializing argument 3 of 'int xmlStrPrintf(xmlChar
    , int, const char, ...)'
    ../../vendor/wn_matrix/0.18/src/WnMatrix.c: In function 'int WnMatrixremoveElement(WnMatrix, size_t, size_t)':
    ../../vendor/wn_matrix/0.18/src/WnMatrix.c:282: error: invalid conversion from 'const WnChar
    ' to 'const char'
    ../../vendor/wn_matrix/0.18/src/WnMatrix.c:282: error: initializing argument 3 of 'int xmlStrPrintf(xmlChar
    , int, const char, ...)'
    ../../vendor/wn_matrix/0.18/src/WnMatrix.c:283: error: invalid conversion from 'const WnChar
    ' to 'const char'
    ../../vendor/wn_matrix/0.18/src/WnMatrix.c:283: error: initializing argument 3 of 'int xmlStrPrintf(xmlChar
    , int, const char*, ...)'
    ../../vendor/wn_matrix/0.18/src/WnMatrix.c: In function 'double WnMatrix
    getElement(WnMatrix
    , size_t, size_t)':
    ../../vendor/wn_matrix/0.18/src/WnMatrix.c:322: error: invalid conversion from 'const WnChar' to 'const char'
    ../../vendor/wn_matrix/0.18/src/WnMatrix.c:322: error: initializing argument 3 of 'int xmlStrPrintf(xmlChar, int, const char, ...)'
    ../../vendor/wn_matrix/0.18/src/WnMatrix.c:323: error: invalid conversion from 'const WnChar' to 'const char'
    ../../vendor/wn_matrix/0.18/src/WnMatrix.c:323: error: initializing argument 3 of 'int xmlStrPrintf(xmlChar, int, const char, ...)'
    ../../vendor/wn_matrix/0.18/src/WnMatrix.c: In function 'WnMatrixLine* WnMatrixgetRow(WnMatrix, size_t)':
    ../../vendor/wn_matrix/0.18/src/WnMatrix.c:1044: error: invalid conversion from 'const WnChar
    ' to 'const char'
    ../../vendor/wn_matrix/0.18/src/WnMatrix.c:1044: error: initializing argument 3 of 'int xmlStrPrintf(xmlChar
    , int, const char, ...)'
    ../../vendor/wn_matrix/0.18/src/WnMatrix.c: In function 'WnMatrixLine* WnMatrixgetColumn(WnMatrix
    , size_t)':
    ../../vendor/wn_matrix/0.18/src/WnMatrix.c:1108: error: invalid conversion from 'const WnChar' to 'const char'
    ../../vendor/wn_matrix/0.18/src/WnMatrix.c:1108: error: initializing argument 3 of 'int xmlStrPrintf(xmlChar, int, const char, ...)'
    ../../vendor/wn_matrix/0.18/src/WnMatrix.c: In function 'xmlDoc WnMatrixCoomakeXmlDocument(WnMatrixCoo, const WnChar)':
    ../../vendor/wn_matrix/0.18/src/WnMatrix.c:1903: error: invalid conversion from 'const WnChar' to 'const char'
    ../../vendor/wn_matrix/0.18/src/WnMatrix.c:1903: error: initializing argument 3 of 'int xmlStrPrintf(xmlChar, int, const char, ...)'
    ../../vendor/wn_matrix/0.18/src/WnMatrix.c:1920: error: invalid conversion from 'const WnChar' to 'const char'
    ../../vendor/wn_matrix/0.18/src/WnMatrix.c:1920: error: initializing argument 3 of 'int xmlStrPrintf(xmlChar, int, const char, ...)'
    ../../vendor/wn_matrix/0.18/src/WnMatrix.c:1937: error: invalid conversion from 'const WnChar' to 'const char'
    ../../vendor/wn_matrix/0.18/src/WnMatrix.c:1937: error: initializing argument 3 of 'int xmlStrPrintf(xmlChar, int, const char, ...)'
    ../../vendor/wn_matrix/0.18/src/WnMatrix.c: In function 'xmlDoc* WnMatrix
    CsrmakeXmlDocument(WnMatrixCsr
    , const WnChar)':
    ../../vendor/wn_matrix/0.18/src/WnMatrix.c:2095: error: invalid conversion from 'const WnChar
    ' to 'const char'
    ../../vendor/wn_matrix/0.18/src/WnMatrix.c:2095: error: initializing argument 3 of 'int xmlStrPrintf(xmlChar
    , int, const char, ...)'
    ../../vendor/wn_matrix/0.18/src/WnMatrix.c:2140: error: invalid conversion from 'const WnChar
    ' to 'const char'
    ../../vendor/wn_matrix/0.18/src/WnMatrix.c:2140: error: initializing argument 3 of 'int xmlStrPrintf(xmlChar
    , int, const char, ...)'
    ../../vendor/wn_matrix/0.18/src/WnMatrix.c:2157: error: invalid conversion from 'const WnChar
    ' to 'const char'
    ../../vendor/wn_matrix/0.18/src/WnMatrix.c:2157: error: initializing argument 3 of 'int xmlStrPrintf(xmlChar
    , int, const char, ...)'
    ../../vendor/wn_matrix/0.18/src/WnMatrix.c: In function 'xmlDoc
    WnMatrixYalemakeXmlDocument(WnMatrixYale, const WnChar)':
    ../../vendor/wn_matrix/0.18/src/WnMatrix.c:2320: error: invalid conversion from 'const WnChar' to 'const char'
    ../../vendor/wn_matrix/0.18/src/WnMatrix.c:2320: error: initializing argument 3 of 'int xmlStrPrintf(xmlChar, int, const char, ...)'
    ../../vendor/wn_matrix/0.18/src/WnMatrix.c:2337: error: invalid conversion from 'const WnChar' to 'const char'
    ../../vendor/wn_matrix/0.18/src/WnMatrix.c:2337: error: initializing argument 3 of 'int xmlStrPrintf(xmlChar, int, const char, ...)'
    ../../vendor/wn_matrix/0.18/src/WnMatrix.c: In function 'xmlDoc* WnMatrix
    make_gsl_vector_xml_document(gsl_vector, const WnChar)':
    ../../vendor/wn_matrix/0.18/src/WnMatrix.c:2899: error: invalid conversion from 'const WnChar' to 'const char'
    ../../vendor/wn_matrix/0.18/src/WnMatrix.c:2899: error: initializing argument 3 of 'int xmlStrPrintf(xmlChar, int, const char, ...)'
    make: *** [../../obj/WnMatrix.o] Error 1
    Make failed. Contact project maintainer.

     
    • Bradley S. Meyer

      The error in making the analysis directory codes is still the xmlStrPrintf error. Fix that by setting the appropriate version of the WN_XML_CHAR environment variable.

      The codes in the multi_zone directory need the hdf5 compiler suite. hdf5 can be installed from mac ports, apt-get, or cygwin. Best wishes.

       

Anonymous
Anonymous

Add attachments
Cancel





Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.