Dear professor,
I am a freshman to use nucnet. when I type make run_single_zone, a problem occured as shown below. Could you tell me how to solve it? Thanks a lot.
[root@huzi network]# make run_single_zone
tar xz -C ../../vendor -f ../../vendor/wn_matrix.tar.gz
g++ -Werror -Wall -Wpointer-arith -Wcast-qual -Wwrite-strings -fshort-enums -fno-common -g -ansi -Wconversion -O0 -fopenmp -Wno-deprecated -DHYDRO_EXP_EXPANSION -Wno-error=sign-compare xml2-config --cflagsgsl-config --cflags -I../../vendor/libnucnet/0.27/src -I../../vendor/wn_matrix/0.17/src -I../../vendor/libstatmech/0.9/src -I../../vendor/libnuceq/0.5/src -I../.. -I ../../vendor/wn_sparse_solve/0.5/src -c ../../vendor/wn_matrix/0.17/src/WnMatrix.c -o ../../obj/WnMatrix.o
../../vendor/wn_matrix/0.17/src/WnMatrix.c: In function ‘int WnMatrixassignElement(WnMatrix, size_t, size_t, double)’:
../../vendor/wn_matrix/0.17/src/WnMatrix.c:130: error: invalid conversion from ‘const WnChar’ to ‘const char’
../../vendor/wn_matrix/0.17/src/WnMatrix.c:130: error: initializing argument 3 of ‘int xmlStrPrintf(xmlChar, int, const char, ...)’
cc1plus: warnings being treated as errors
../../vendor/wn_matrix/0.17/src/WnMatrix.c:130: error: format ‘%lu’ expects type ‘long unsigned int’, but argument 4 has type ‘size_t’
../../vendor/wn_matrix/0.17/src/WnMatrix.c:131: error: invalid conversion from ‘const WnChar’ to ‘const char’
../../vendor/wn_matrix/0.17/src/WnMatrix.c:131: error: initializing argument 3 of ‘int xmlStrPrintf(xmlChar, int, const char*, ...)’
../../vendor/wn_matrix/0.17/src/WnMatrix.c:131: error: format ‘%lu’ expects type ‘long unsigned int’, but argument 4 has type ‘size_t’
../../vendor/wn_matrix/0.17/src/WnMatrix.c: In function ‘int WnMatrixupdateElement(WnMatrix, size_t, size_t, double)’:
../../vendor/wn_matrix/0.17/src/WnMatrix.c:244: error: invalid conversion from ‘const WnChar’ to ‘const char’
../../vendor/wn_matrix/0.17/src/WnMatrix.c:244: error: initializing argument 3 of ‘int xmlStrPrintf(xmlChar, int, const char, ...)’
../../vendor/wn_matrix/0.17/src/WnMatrix.c:244: error: format ‘%lu’ expects type ‘long unsigned int’, but argument 4 has type ‘size_t’
../../vendor/wn_matrix/0.17/src/WnMatrix.c:245: error: invalid conversion from ‘const WnChar’ to ‘const char’
../../vendor/wn_matrix/0.17/src/WnMatrix.c:245: error: initializing argument 3 of ‘int xmlStrPrintf(xmlChar, int, const char, ...)’
../../vendor/wn_matrix/0.17/src/WnMatrix.c:245: error: format ‘%lu’ expects type ‘long unsigned int’, but argument 4 has type ‘size_t’
../../vendor/wn_matrix/0.17/src/WnMatrix.c: In function ‘int WnMatrixremoveElement(WnMatrix, size_t, size_t)’:
../../vendor/wn_matrix/0.17/src/WnMatrix.c:282: error: invalid conversion from ‘const WnChar’ to ‘const char’
../../vendor/wn_matrix/0.17/src/WnMatrix.c:282: error: initializing argument 3 of ‘int xmlStrPrintf(xmlChar, int, const char, ...)’
../../vendor/wn_matrix/0.17/src/WnMatrix.c:282: error: format ‘%lu’ expects type ‘long unsigned int’, but argument 4 has type ‘size_t’
../../vendor/wn_matrix/0.17/src/WnMatrix.c:283: error: invalid conversion from ‘const WnChar’ to ‘const char’
../../vendor/wn_matrix/0.17/src/WnMatrix.c:283: error: initializing argument 3 of ‘int xmlStrPrintf(xmlChar, int, const char*, ...)’
../../vendor/wn_matrix/0.17/src/WnMatrix.c:283: error: format ‘%lu’ expects type ‘long unsigned int’, but argument 4 has type ‘size_t’
../../vendor/wn_matrix/0.17/src/WnMatrix.c: In function ‘double WnMatrixgetElement(WnMatrix, size_t, size_t)’:
../../vendor/wn_matrix/0.17/src/WnMatrix.c:322: error: invalid conversion from ‘const WnChar’ to ‘const char’
../../vendor/wn_matrix/0.17/src/WnMatrix.c:322: error: initializing argument 3 of ‘int xmlStrPrintf(xmlChar, int, const char, ...)’
../../vendor/wn_matrix/0.17/src/WnMatrix.c:322: error: format ‘%lu’ expects type ‘long unsigned int’, but argument 4 has type ‘size_t’
../../vendor/wn_matrix/0.17/src/WnMatrix.c:323: error: invalid conversion from ‘const WnChar’ to ‘const char’
../../vendor/wn_matrix/0.17/src/WnMatrix.c:323: error: initializing argument 3 of ‘int xmlStrPrintf(xmlChar, int, const char, ...)’
../../vendor/wn_matrix/0.17/src/WnMatrix.c:323: error: format ‘%lu’ expects type ‘long unsigned int’, but argument 4 has type ‘size_t’
../../vendor/wn_matrix/0.17/src/WnMatrix.c: In function ‘WnMatrixLine* WnMatrixgetRow(WnMatrix, size_t)’:
../../vendor/wn_matrix/0.17/src/WnMatrix.c:1044: error: invalid conversion from ‘const WnChar’ to ‘const char’
../../vendor/wn_matrix/0.17/src/WnMatrix.c:1044: error: initializing argument 3 of ‘int xmlStrPrintf(xmlChar, int, const char, ...)’
../../vendor/wn_matrix/0.17/src/WnMatrix.c:1044: error: format ‘%lu’ expects type ‘long unsigned int’, but argument 4 has type ‘size_t’
../../vendor/wn_matrix/0.17/src/WnMatrix.c: In function ‘WnMatrixLine* WnMatrixgetColumn(WnMatrix, size_t)’:
../../vendor/wn_matrix/0.17/src/WnMatrix.c:1108: error: invalid conversion from ‘const WnChar’ to ‘const char’
../../vendor/wn_matrix/0.17/src/WnMatrix.c:1108: error: initializing argument 3 of ‘int xmlStrPrintf(xmlChar, int, const char, ...)’
../../vendor/wn_matrix/0.17/src/WnMatrix.c:1108: error: format ‘%lu’ expects type ‘long unsigned int’, but argument 4 has type ‘size_t’
../../vendor/wn_matrix/0.17/src/WnMatrix.c: In function ‘xmlDoc WnMatrixCoomakeXmlDocument(WnMatrixCoo, const WnChar)’:
../../vendor/wn_matrix/0.17/src/WnMatrix.c:1903: error: invalid conversion from ‘const WnChar’ to ‘const char’
../../vendor/wn_matrix/0.17/src/WnMatrix.c:1903: error: initializing argument 3 of ‘int xmlStrPrintf(xmlChar, int, const char, ...)’
../../vendor/wn_matrix/0.17/src/WnMatrix.c:1903: error: format ‘%lu’ expects type ‘long unsigned int’, but argument 4 has type ‘unsigned int’
../../vendor/wn_matrix/0.17/src/WnMatrix.c:1920: error: invalid conversion from ‘const WnChar’ to ‘const char’
../../vendor/wn_matrix/0.17/src/WnMatrix.c:1920: error: initializing argument 3 of ‘int xmlStrPrintf(xmlChar, int, const char, ...)’
../../vendor/wn_matrix/0.17/src/WnMatrix.c:1920: error: format ‘%lu’ expects type ‘long unsigned int’, but argument 4 has type ‘unsigned int’
../../vendor/wn_matrix/0.17/src/WnMatrix.c:1937: error: invalid conversion from ‘const WnChar’ to ‘const char’
../../vendor/wn_matrix/0.17/src/WnMatrix.c:1937: error: initializing argument 3 of ‘int xmlStrPrintf(xmlChar, int, const char, ...)’
../../vendor/wn_matrix/0.17/src/WnMatrix.c: In function ‘xmlDoc* WnMatrixCsrmakeXmlDocument(WnMatrixCsr, const WnChar)’:
../../vendor/wn_matrix/0.17/src/WnMatrix.c:2095: error: invalid conversion from ‘const WnChar’ to ‘const char’
../../vendor/wn_matrix/0.17/src/WnMatrix.c:2095: error: initializing argument 3 of ‘int xmlStrPrintf(xmlChar, int, const char, ...)’
../../vendor/wn_matrix/0.17/src/WnMatrix.c:2140: error: invalid conversion from ‘const WnChar’ to ‘const char’
../../vendor/wn_matrix/0.17/src/WnMatrix.c:2140: error: initializing argument 3 of ‘int xmlStrPrintf(xmlChar, int, const char, ...)’
../../vendor/wn_matrix/0.17/src/WnMatrix.c:2140: error: format ‘%lu’ expects type ‘long unsigned int’, but argument 4 has type ‘unsigned int’
../../vendor/wn_matrix/0.17/src/WnMatrix.c:2157: error: invalid conversion from ‘const WnChar’ to ‘const char’
../../vendor/wn_matrix/0.17/src/WnMatrix.c:2157: error: initializing argument 3 of ‘int xmlStrPrintf(xmlChar, int, const char, ...)’
../../vendor/wn_matrix/0.17/src/WnMatrix.c: In function ‘xmlDoc WnMatrixYalemakeXmlDocument(WnMatrixYale, const WnChar)’:
../../vendor/wn_matrix/0.17/src/WnMatrix.c:2320: error: invalid conversion from ‘const WnChar’ to ‘const char’
../../vendor/wn_matrix/0.17/src/WnMatrix.c:2320: error: initializing argument 3 of ‘int xmlStrPrintf(xmlChar, int, const char, ...)’
../../vendor/wn_matrix/0.17/src/WnMatrix.c:2320: error: format ‘%lu’ expects type ‘long unsigned int’, but argument 4 has type ‘unsigned int’
../../vendor/wn_matrix/0.17/src/WnMatrix.c:2337: error: invalid conversion from ‘const WnChar’ to ‘const char’
../../vendor/wn_matrix/0.17/src/WnMatrix.c:2337: error: initializing argument 3 of ‘int xmlStrPrintf(xmlChar, int, const char, ...)’
../../vendor/wn_matrix/0.17/src/WnMatrix.c: In function ‘xmlDoc* WnMatrixmake_gsl_vector_xml_document(gsl_vector, const WnChar)’:
../../vendor/wn_matrix/0.17/src/WnMatrix.c:2899: error: invalid conversion from ‘const WnChar’ to ‘const char’
../../vendor/wn_matrix/0.17/src/WnMatrix.c:2899: error: initializing argument 3 of ‘int xmlStrPrintf(xmlChar, int, const char, ...)’
make: *** [../../obj/WnMatrix.o] Error 1
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Dear professor,
Thanks a lot fpr your prompt reply. I am so sorry to delay in reply because I am out of office for a week. Now the problem have been solved. Thanks.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Dear Professor,
Sorry to delay in reply. I am sent out for a week and have no access to internet. Now the problem is solved, maybe my linux version is old. After I set up a new version, It is ok. Thank you once again.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I don't know if you are still interested in using NucNet Tools, but given the above error, it would be really helpful to me to know what happens if you do the following on your computer:
When I type as you adviced, it seems it does not work. You can see the case below: [huzi@huzi ~]$ svn checkout svn://svn.code.sf.net/p/wnmatrix/code/branches/extern
svn: URL 'svn://svn.code.sf.net/p/wnmatrix/code/branches/extern' doesn't exist
what is wrong with it?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Dear Professor,
When I type "./examples_make", error occured as below:
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:641: error: ‘boost::numeric’ has not been declared
run_entropy.cpp:641: error: expected primary-expression before ‘>’ token
run_entropy.cpp:641: error: ‘stepper’ was not declared in this scope
make: * [run_entropy] Error 1
Make failed. Contact project maintainer.
What should I do ?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
View and moderate all "Getting Help with Nucnet Tools" comments posted by this user
Mark all as spam, and block user from posting to "Discussion"
Dear professor,
I am a freshman to use nucnet. when I type make run_single_zone, a problem occured as shown below. Could you tell me how to solve it? Thanks a lot.
[root@huzi network]# make run_single_zone
tar xz -C ../../vendor -f ../../vendor/wn_matrix.tar.gz
g++ -Werror -Wall -Wpointer-arith -Wcast-qual -Wwrite-strings -fshort-enums -fno-common -g -ansi -Wconversion -O0 -fopenmp -Wno-deprecated -DHYDRO_EXP_EXPANSION -Wno-error=sign-compare
xml2-config --cflags
gsl-config --cflags
-I../../vendor/libnucnet/0.27/src -I../../vendor/wn_matrix/0.17/src -I../../vendor/libstatmech/0.9/src -I../../vendor/libnuceq/0.5/src -I../.. -I ../../vendor/wn_sparse_solve/0.5/src -c ../../vendor/wn_matrix/0.17/src/WnMatrix.c -o ../../obj/WnMatrix.o../../vendor/wn_matrix/0.17/src/WnMatrix.c: In function ‘int WnMatrixassignElement(WnMatrix, size_t, size_t, double)’:
../../vendor/wn_matrix/0.17/src/WnMatrix.c:130: error: invalid conversion from ‘const WnChar’ to ‘const char’
../../vendor/wn_matrix/0.17/src/WnMatrix.c:130: error: initializing argument 3 of ‘int xmlStrPrintf(xmlChar, int, const char, ...)’
cc1plus: warnings being treated as errors
../../vendor/wn_matrix/0.17/src/WnMatrix.c:130: error: format ‘%lu’ expects type ‘long unsigned int’, but argument 4 has type ‘size_t’
../../vendor/wn_matrix/0.17/src/WnMatrix.c:131: error: invalid conversion from ‘const WnChar’ to ‘const char’
../../vendor/wn_matrix/0.17/src/WnMatrix.c:131: error: initializing argument 3 of ‘int xmlStrPrintf(xmlChar, int, const char*, ...)’
../../vendor/wn_matrix/0.17/src/WnMatrix.c:131: error: format ‘%lu’ expects type ‘long unsigned int’, but argument 4 has type ‘size_t’
../../vendor/wn_matrix/0.17/src/WnMatrix.c: In function ‘int WnMatrixupdateElement(WnMatrix, size_t, size_t, double)’:
../../vendor/wn_matrix/0.17/src/WnMatrix.c:244: error: invalid conversion from ‘const WnChar’ to ‘const char’
../../vendor/wn_matrix/0.17/src/WnMatrix.c:244: error: initializing argument 3 of ‘int xmlStrPrintf(xmlChar, int, const char, ...)’
../../vendor/wn_matrix/0.17/src/WnMatrix.c:244: error: format ‘%lu’ expects type ‘long unsigned int’, but argument 4 has type ‘size_t’
../../vendor/wn_matrix/0.17/src/WnMatrix.c:245: error: invalid conversion from ‘const WnChar’ to ‘const char’
../../vendor/wn_matrix/0.17/src/WnMatrix.c:245: error: initializing argument 3 of ‘int xmlStrPrintf(xmlChar, int, const char, ...)’
../../vendor/wn_matrix/0.17/src/WnMatrix.c:245: error: format ‘%lu’ expects type ‘long unsigned int’, but argument 4 has type ‘size_t’
../../vendor/wn_matrix/0.17/src/WnMatrix.c: In function ‘int WnMatrixremoveElement(WnMatrix, size_t, size_t)’:
../../vendor/wn_matrix/0.17/src/WnMatrix.c:282: error: invalid conversion from ‘const WnChar’ to ‘const char’
../../vendor/wn_matrix/0.17/src/WnMatrix.c:282: error: initializing argument 3 of ‘int xmlStrPrintf(xmlChar, int, const char, ...)’
../../vendor/wn_matrix/0.17/src/WnMatrix.c:282: error: format ‘%lu’ expects type ‘long unsigned int’, but argument 4 has type ‘size_t’
../../vendor/wn_matrix/0.17/src/WnMatrix.c:283: error: invalid conversion from ‘const WnChar’ to ‘const char’
../../vendor/wn_matrix/0.17/src/WnMatrix.c:283: error: initializing argument 3 of ‘int xmlStrPrintf(xmlChar, int, const char*, ...)’
../../vendor/wn_matrix/0.17/src/WnMatrix.c:283: error: format ‘%lu’ expects type ‘long unsigned int’, but argument 4 has type ‘size_t’
../../vendor/wn_matrix/0.17/src/WnMatrix.c: In function ‘double WnMatrixgetElement(WnMatrix, size_t, size_t)’:
../../vendor/wn_matrix/0.17/src/WnMatrix.c:322: error: invalid conversion from ‘const WnChar’ to ‘const char’
../../vendor/wn_matrix/0.17/src/WnMatrix.c:322: error: initializing argument 3 of ‘int xmlStrPrintf(xmlChar, int, const char, ...)’
../../vendor/wn_matrix/0.17/src/WnMatrix.c:322: error: format ‘%lu’ expects type ‘long unsigned int’, but argument 4 has type ‘size_t’
../../vendor/wn_matrix/0.17/src/WnMatrix.c:323: error: invalid conversion from ‘const WnChar’ to ‘const char’
../../vendor/wn_matrix/0.17/src/WnMatrix.c:323: error: initializing argument 3 of ‘int xmlStrPrintf(xmlChar, int, const char, ...)’
../../vendor/wn_matrix/0.17/src/WnMatrix.c:323: error: format ‘%lu’ expects type ‘long unsigned int’, but argument 4 has type ‘size_t’
../../vendor/wn_matrix/0.17/src/WnMatrix.c: In function ‘WnMatrixLine* WnMatrixgetRow(WnMatrix, size_t)’:
../../vendor/wn_matrix/0.17/src/WnMatrix.c:1044: error: invalid conversion from ‘const WnChar’ to ‘const char’
../../vendor/wn_matrix/0.17/src/WnMatrix.c:1044: error: initializing argument 3 of ‘int xmlStrPrintf(xmlChar, int, const char, ...)’
../../vendor/wn_matrix/0.17/src/WnMatrix.c:1044: error: format ‘%lu’ expects type ‘long unsigned int’, but argument 4 has type ‘size_t’
../../vendor/wn_matrix/0.17/src/WnMatrix.c: In function ‘WnMatrixLine* WnMatrixgetColumn(WnMatrix, size_t)’:
../../vendor/wn_matrix/0.17/src/WnMatrix.c:1108: error: invalid conversion from ‘const WnChar’ to ‘const char’
../../vendor/wn_matrix/0.17/src/WnMatrix.c:1108: error: initializing argument 3 of ‘int xmlStrPrintf(xmlChar, int, const char, ...)’
../../vendor/wn_matrix/0.17/src/WnMatrix.c:1108: error: format ‘%lu’ expects type ‘long unsigned int’, but argument 4 has type ‘size_t’
../../vendor/wn_matrix/0.17/src/WnMatrix.c: In function ‘xmlDoc WnMatrixCoomakeXmlDocument(WnMatrixCoo, const WnChar)’:
../../vendor/wn_matrix/0.17/src/WnMatrix.c:1903: error: invalid conversion from ‘const WnChar’ to ‘const char’
../../vendor/wn_matrix/0.17/src/WnMatrix.c:1903: error: initializing argument 3 of ‘int xmlStrPrintf(xmlChar, int, const char, ...)’
../../vendor/wn_matrix/0.17/src/WnMatrix.c:1903: error: format ‘%lu’ expects type ‘long unsigned int’, but argument 4 has type ‘unsigned int’
../../vendor/wn_matrix/0.17/src/WnMatrix.c:1920: error: invalid conversion from ‘const WnChar’ to ‘const char’
../../vendor/wn_matrix/0.17/src/WnMatrix.c:1920: error: initializing argument 3 of ‘int xmlStrPrintf(xmlChar, int, const char, ...)’
../../vendor/wn_matrix/0.17/src/WnMatrix.c:1920: error: format ‘%lu’ expects type ‘long unsigned int’, but argument 4 has type ‘unsigned int’
../../vendor/wn_matrix/0.17/src/WnMatrix.c:1937: error: invalid conversion from ‘const WnChar’ to ‘const char’
../../vendor/wn_matrix/0.17/src/WnMatrix.c:1937: error: initializing argument 3 of ‘int xmlStrPrintf(xmlChar, int, const char, ...)’
../../vendor/wn_matrix/0.17/src/WnMatrix.c: In function ‘xmlDoc* WnMatrixCsrmakeXmlDocument(WnMatrixCsr, const WnChar)’:
../../vendor/wn_matrix/0.17/src/WnMatrix.c:2095: error: invalid conversion from ‘const WnChar’ to ‘const char’
../../vendor/wn_matrix/0.17/src/WnMatrix.c:2095: error: initializing argument 3 of ‘int xmlStrPrintf(xmlChar, int, const char, ...)’
../../vendor/wn_matrix/0.17/src/WnMatrix.c:2140: error: invalid conversion from ‘const WnChar’ to ‘const char’
../../vendor/wn_matrix/0.17/src/WnMatrix.c:2140: error: initializing argument 3 of ‘int xmlStrPrintf(xmlChar, int, const char, ...)’
../../vendor/wn_matrix/0.17/src/WnMatrix.c:2140: error: format ‘%lu’ expects type ‘long unsigned int’, but argument 4 has type ‘unsigned int’
../../vendor/wn_matrix/0.17/src/WnMatrix.c:2157: error: invalid conversion from ‘const WnChar’ to ‘const char’
../../vendor/wn_matrix/0.17/src/WnMatrix.c:2157: error: initializing argument 3 of ‘int xmlStrPrintf(xmlChar, int, const char, ...)’
../../vendor/wn_matrix/0.17/src/WnMatrix.c: In function ‘xmlDoc WnMatrixYalemakeXmlDocument(WnMatrixYale, const WnChar)’:
../../vendor/wn_matrix/0.17/src/WnMatrix.c:2320: error: invalid conversion from ‘const WnChar’ to ‘const char’
../../vendor/wn_matrix/0.17/src/WnMatrix.c:2320: error: initializing argument 3 of ‘int xmlStrPrintf(xmlChar, int, const char, ...)’
../../vendor/wn_matrix/0.17/src/WnMatrix.c:2320: error: format ‘%lu’ expects type ‘long unsigned int’, but argument 4 has type ‘unsigned int’
../../vendor/wn_matrix/0.17/src/WnMatrix.c:2337: error: invalid conversion from ‘const WnChar’ to ‘const char’
../../vendor/wn_matrix/0.17/src/WnMatrix.c:2337: error: initializing argument 3 of ‘int xmlStrPrintf(xmlChar, int, const char, ...)’
../../vendor/wn_matrix/0.17/src/WnMatrix.c: In function ‘xmlDoc* WnMatrixmake_gsl_vector_xml_document(gsl_vector, const WnChar)’:
../../vendor/wn_matrix/0.17/src/WnMatrix.c:2899: error: invalid conversion from ‘const WnChar’ to ‘const char’
../../vendor/wn_matrix/0.17/src/WnMatrix.c:2899: error: initializing argument 3 of ‘int xmlStrPrintf(xmlChar, int, const char, ...)’
make: *** [../../obj/WnMatrix.o] Error 1
Thanks for your post. Could you please tell me:
1) What operating system are you using? Is it linux, mac, or cygwin?
2) What happens when you type
xml2-config --version
Best wishes.
Last edit: Bradley S. Meyer 2016-07-15
View and moderate all "Getting Help with Nucnet Tools" comments posted by this user
Mark all as spam, and block user from posting to "Discussion"
View and moderate all "Getting Help with Nucnet Tools" comments posted by this user
Mark all as spam, and block user from posting to "Discussion"
Dear professor,
Thanks a lot fpr your prompt reply. I am so sorry to delay in reply because I am out of office for a week. Now the problem have been solved. Thanks.
Dear Professor,
Sorry to delay in reply. I am sent out for a week and have no access to internet. Now the problem is solved, maybe my linux version is old. After I set up a new version, It is ok. Thank you once again.
Hi,
I don't know if you are still interested in using NucNet Tools, but given the above error, it would be really helpful to me to know what happens if you do the following on your computer:
svn checkout svn://svn.code.sf.net/p/wnmatrix/code/branches/extern
cd extern/examples
make all
Then if that does not compile, try
export WN_XML_CHAR=xmlChar
make all
Best wishes.
Dear Professor,
When I type as you adviced, it seems it does not work. You can see the case below:
[huzi@huzi ~]$ svn checkout svn://svn.code.sf.net/p/wnmatrix/code/branches/extern
svn: URL 'svn://svn.code.sf.net/p/wnmatrix/code/branches/extern' doesn't exist
what is wrong with it?
Since I merged in the changes from the extern branch, I have deleted it. Please use the trunk (see below).
I'm going to close this thread. As I have noted, I have updated the underlying librariers. One should be able to do the following:
cd nucnet-tools-code/examples/network/
./examples_make
If this does not work, try
export WN_XML_CHAR=xmlChar
and try compiling again with
make clean
make all_network
If this does not work, try the other value for WN_XML_CHAR by typing
export WN_XML_CHAR=char
and then try compiling again.
Last edit: Bradley S. Meyer 2016-07-24
Dear Professor,
When I type "./examples_make", error occured as below:
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:641: error: ‘boost::numeric’ has not been declared
run_entropy.cpp:641: error: expected primary-expression before ‘>’ token
run_entropy.cpp:641: error: ‘stepper’ was not declared in this scope
make: * [run_entropy] Error 1
Make failed. Contact project maintainer.
What should I do ?
Since this is a new topic, I have moved this to a new thread.