Closed GoogleCodeExporter closed 8 years ago
I met the same problem, here is tail of the make process (in chinese):
-------------------------------
libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../.. -Wall -pthread
-I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0
-I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0
-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/pixman-1
-I/usr/include/freetype2 -I/usr/include/libpng12 -I../.. -g -O2 -MT newton.lo
-MD -MP -MF .deps/newton.Tpo -c newton.cpp -fPIC -DPIC -o .libs/newton.o
In file included from newton.h:32:0,
from newton.cpp:20:
scene.h: 在构造函数‘scene_t::scene_t()’中:
scene.h:40:16: 错误:‘NULL’在此作用域中尚未声明
make[4]: *** [newton.lo] 错误 1
make[4]: Leaving directory
`/home/yanqian/src/stardict-3.0.3/dict/stardict-plugins/stardict-wordnet-plugin'
make[3]: *** [all-recursive] 错误 1
make[3]: Leaving directory
`/home/yanqian/src/stardict-3.0.3/dict/stardict-plugins'
make[2]: *** [all-recursive] 错误 1
make[2]: Leaving directory `/home/yanqian/src/stardict-3.0.3/dict'
make[1]: *** [all] 错误 2
make[1]: Leaving directory `/home/yanqian/src/stardict-3.0.3/dict'
make: *** [all-recursive] 错误 1
Original comment by Chian....@gmail.com
on 24 Nov 2011 at 2:38
Anybody solved the problem?
Original comment by ggliuzhi...@gmail.com
on 17 Jan 2012 at 4:30
You can do:
./configure --disable-tools
Edit stardict/dict/stardict-plugins/stardict-wordnet-plugin/scene.h
add:
#include <cstddef>
before
#include "partic.h"
Original comment by huzheng...@gmail.com
on 15 Feb 2012 at 1:36
Original issue reported on code.google.com by
juhpeter...@gmail.com
on 17 Aug 2011 at 9:25