2012-03-06 47 views
0

我需要闪电++运行第三方库,但我不能编译它。 ./configure命令运行良好,并设置Makefile文件,但是当我使其产生以下错误:错误安装闪电++ ++

In file included from ../blitz/array/funcs.h:29:0, 
       from ../blitz/array/newet.h:29, 
       from ../blitz/array/et.h:27, 
       from ../blitz/array-impl.h:2515, 
       from ../blitz/array.h:32, 
       from ../src/globals.cpp:13: 
../blitz/funcs.h: In static member function 'static blitz::Fn_abs<long int>::T_numtype blitz::Fn_abs<long int>::apply(blitz::Fn_abs<long int>::T_numtype1)': 
../blitz/funcs.h:530:14: error: 'labs' is not a member of 'std' 
../blitz/funcs.h:530:14: note: suggested alternative: 
/usr/include/stdlib.h:772:17: note: 'labs' 
make[1]: *** [globals.lo] Error 1 

我遵循的指示,我不明白为什么会这样。我使用的是Ubuntu 11.10和闪电0.9。另外,我尝试了gcc 4.4和4.6。请在解决方法上帮助noob。

回答