Open huohongpeng opened 4 years ago
编译mgncs4touch时总是报下面libmgplus.so相关的信息,在编译mgplus时,已经加入了--enable-ft2support=yes /home/hhp/minigui/install/lib/libmgplus.so: undefined reference to agg::font_engine_freetype_base::font_engine_freetype_base(bool, unsigned int)' /home/hhp/minigui/install/lib/libmgplus.so: undefined reference to agg::font_engine_freetype_base::load_font(char const, unsigned int, agg::glyph_rendering, char const, long)'
报错信息: arm-linux-gnueabihf-gcc -g -O2 -D__MGNCS4TOUCH_LIB__ -Wstrict-prototypes -pipe -o .libs/switchbutton switchbutton.o -L/home/hhp/minigui/install/lib ../src/.libs/libmgncs4touch.so /home/hhp/minigui/install/lib/libmgncs.so /home/hhp/minigui/install/lib/libmgutils.so /home/hhp/minigui/install/lib/libmgeff.so /home/hhp/minigui/install/lib/libmgplus.so -lstdc++ /home/hhp/minigui/install/lib/libminigui_procs.so /home/hhp/minigui/install/lib/libjpeg.so -lrt -lpthread /home/hhp/minigui/install/lib/libharfbuzz.so /home/hhp/minigui/install/lib/libfreetype.so /home/hhp/minigui/install/lib/libpng16.so -lm -lz -lchipmunk -Wl,--rpath -Wl,/home/hhp/minigui/install/lib /home/hhp/minigui/install/lib/libmgplus.so: undefined reference to agg::font_engine_freetype_base::write_glyph_to(unsigned char*) const' /home/hhp/minigui/install/lib/libmgplus.so: undefined reference toagg::font_engine_freetype_base::width(double)' /home/hhp/minigui/install/lib/libmgplus.so: undefined reference to agg::font_engine_freetype_base::flip_y(bool)' /home/hhp/minigui/install/lib/libmgplus.so: undefined reference toagg::font_engine_freetype_base::prepare_glyph(unsigned int)' /home/hhp/minigui/install/lib/libmgplus.so: undefined reference to agg::font_engine_freetype_base::font_engine_freetype_base(bool, unsigned int)' /home/hhp/minigui/install/lib/libmgplus.so: undefined reference toagg::font_engine_freetype_base::load_font(char const, unsigned int, agg::glyph_rendering, char const, long)' /home/hhp/minigui/install/lib/libmgplus.so: undefined reference to agg::font_engine_freetype_base::height(double)' /home/hhp/minigui/install/lib/libmgplus.so: undefined reference toagg::font_engine_freetype_base::~font_engine_freetype_base()' collect2: error: ld returned 1 exit status Makefile:547: recipe for target 'switchbutton' failed
agg::font_engine_freetype_base::write_glyph_to(unsigned char*) const' /home/hhp/minigui/install/lib/libmgplus.so: undefined reference to
agg::font_engine_freetype_base::flip_y(bool)' /home/hhp/minigui/install/lib/libmgplus.so: undefined reference to
agg::font_engine_freetype_base::font_engine_freetype_base(bool, unsigned int)' /home/hhp/minigui/install/lib/libmgplus.so: undefined reference to
agg::font_engine_freetype_base::height(double)' /home/hhp/minigui/install/lib/libmgplus.so: undefined reference to
编译mgncs4touch时总是报下面libmgplus.so相关的信息,在编译mgplus时,已经加入了--enable-ft2support=yes /home/hhp/minigui/install/lib/libmgplus.so: undefined reference to agg::font_engine_freetype_base::font_engine_freetype_base(bool, unsigned int)' /home/hhp/minigui/install/lib/libmgplus.so: undefined reference to agg::font_engine_freetype_base::load_font(char const, unsigned int, agg::glyph_rendering, char const, long)'
报错信息: arm-linux-gnueabihf-gcc -g -O2 -D__MGNCS4TOUCH_LIB__ -Wstrict-prototypes -pipe -o .libs/switchbutton switchbutton.o -L/home/hhp/minigui/install/lib ../src/.libs/libmgncs4touch.so /home/hhp/minigui/install/lib/libmgncs.so /home/hhp/minigui/install/lib/libmgutils.so /home/hhp/minigui/install/lib/libmgeff.so /home/hhp/minigui/install/lib/libmgplus.so -lstdc++ /home/hhp/minigui/install/lib/libminigui_procs.so /home/hhp/minigui/install/lib/libjpeg.so -lrt -lpthread /home/hhp/minigui/install/lib/libharfbuzz.so /home/hhp/minigui/install/lib/libfreetype.so /home/hhp/minigui/install/lib/libpng16.so -lm -lz -lchipmunk -Wl,--rpath -Wl,/home/hhp/minigui/install/lib /home/hhp/minigui/install/lib/libmgplus.so: undefined reference to
agg::font_engine_freetype_base::write_glyph_to(unsigned char*) const' /home/hhp/minigui/install/lib/libmgplus.so: undefined reference to
agg::font_engine_freetype_base::width(double)' /home/hhp/minigui/install/lib/libmgplus.so: undefined reference toagg::font_engine_freetype_base::flip_y(bool)' /home/hhp/minigui/install/lib/libmgplus.so: undefined reference to
agg::font_engine_freetype_base::prepare_glyph(unsigned int)' /home/hhp/minigui/install/lib/libmgplus.so: undefined reference toagg::font_engine_freetype_base::font_engine_freetype_base(bool, unsigned int)' /home/hhp/minigui/install/lib/libmgplus.so: undefined reference to
agg::font_engine_freetype_base::load_font(char const, unsigned int, agg::glyph_rendering, char const, long)' /home/hhp/minigui/install/lib/libmgplus.so: undefined reference toagg::font_engine_freetype_base::height(double)' /home/hhp/minigui/install/lib/libmgplus.so: undefined reference to
agg::font_engine_freetype_base::~font_engine_freetype_base()' collect2: error: ld returned 1 exit status Makefile:547: recipe for target 'switchbutton' failed