tarbaevbb / wnd-charm

Automatically exported from code.google.com/p/wnd-charm
0 stars 0 forks source link

Cannot compile wnd-charm #36

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Download wnd-charm 1.31-release
2. ./configure
3. make

What is the expected output? What do you see instead?

There are compile errors.

What version of the product are you using? On what operating system?

1.31.251 on Arch Linux x86.

Please provide any additional information below.

Compiler output:

[user@host wndchrm-1.31.251]$ make
make  all-am
make[1]: Entering directory `/tmp/wndchrm-1.31.251'
g++ -DHAVE_CONFIG_H -I.  -fPIC  -Wall -g -O2  -MT specfunc.o -MD -MP -MF 
.deps/specfunc.Tpo -c -o specfunc.o `test -f 'gsl/specfunc.cpp' || echo 
'./'`gsl/specfunc.cpp
mv -f .deps/specfunc.Tpo .deps/specfunc.Po
g++ -DHAVE_CONFIG_H -I.  -fPIC  -Wall -g -O2  -MT wndchrm_error.o -MD -MP -MF 
.deps/wndchrm_error.Tpo -c -o wndchrm_error.o wndchrm_error.cpp
wndchrm_error.cpp: In function ‘void catError(const char*, ...)’:
wndchrm_error.cpp:28:8: warning: variable ‘err_lngth’ set but not used 
[-Wunused-but-set-variable]
mv -f .deps/wndchrm_error.Tpo .deps/wndchrm_error.Po
g++ -DHAVE_CONFIG_H -I.  -fPIC  -Wall -g -O2  -MT cmatrix.o -MD -MP -MF 
.deps/cmatrix.Tpo -c -o cmatrix.o cmatrix.cpp
cmatrix.cpp: In member function ‘void ImageMatrix::ChebyshevTransform(int)’:
cmatrix.cpp:1082:12: warning: variable ‘old_width’ set but not used 
[-Wunused-but-set-variable]
mv -f .deps/cmatrix.Tpo .deps/cmatrix.Po
g++ -DHAVE_CONFIG_H -I.  -fPIC  -Wall -g -O2  -MT FuzzyCalc.o -MD -MP -MF 
.deps/FuzzyCalc.Tpo -c -o FuzzyCalc.o `test -f 'colors/FuzzyCalc.cpp' || echo 
'./'`colors/FuzzyCalc.cpp
mv -f .deps/FuzzyCalc.Tpo .deps/FuzzyCalc.Po
g++ -DHAVE_CONFIG_H -I.  -fPIC  -Wall -g -O2  -MT signatures.o -MD -MP -MF 
.deps/signatures.Tpo -c -o signatures.o signatures.cpp
mv -f .deps/signatures.Tpo .deps/signatures.Po
g++ -DHAVE_CONFIG_H -I.  -fPIC  -Wall -g -O2  -MT CombFirst4Moments.o -MD -MP 
-MF .deps/CombFirst4Moments.Tpo -c -o CombFirst4Moments.o `test -f 
'statistics/CombFirst4Moments.cpp' || echo './'`statistics/CombFirst4Moments.cpp
statistics/CombFirst4Moments.cpp:30:0: warning: ignoring #pragma hdrstop  
[-Wunknown-pragmas]
statistics/CombFirst4Moments.cpp:381:0: warning: ignoring #pragma package  
[-Wunknown-pragmas]
statistics/CombFirst4Moments.cpp: In function ‘int 
CombFirst4Moments2D(ImageMatrix*, double*)’:
statistics/CombFirst4Moments.cpp:176:29: warning: unused variable ‘z’ 
[-Wunused-variable]
mv -f .deps/CombFirst4Moments.Tpo .deps/CombFirst4Moments.Po
g++ -DHAVE_CONFIG_H -I.  -fPIC  -Wall -g -O2  -MT FeatureStatistics.o -MD -MP 
-MF .deps/FeatureStatistics.Tpo -c -o FeatureStatistics.o `test -f 
'statistics/FeatureStatistics.cpp' || echo './'`statistics/FeatureStatistics.cpp
statistics/FeatureStatistics.cpp:33:0: warning: ignoring #pragma hdrstop  
[-Wunknown-pragmas]
statistics/FeatureStatistics.cpp:284:0: warning: ignoring #pragma package  
[-Wunknown-pragmas]
statistics/FeatureStatistics.cpp: In function ‘int EulerNumber(ImageMatrix*, 
int)’:
statistics/FeatureStatistics.cpp:276:39: error: using temporary as lvalue 
[-fpermissive]
statistics/FeatureStatistics.cpp:277:42: error: using temporary as lvalue 
[-fpermissive]
make[1]: *** [FeatureStatistics.o] Error 1
make[1]: Leaving directory `/tmp/wndchrm-1.31.251'
make: *** [all] Error 2

Original issue reported on code.google.com by gez...@gmail.com on 9 Jan 2012 at 3:19

GoogleCodeExporter commented 9 years ago

Original comment by christop...@nih.gov on 13 Feb 2012 at 9:25