chengxq / nlpbamboo

Automatically exported from code.google.com/p/nlpbamboo
GNU General Public License v3.0
0 stars 0 forks source link

链接静态库时报错 #23

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
regress_seg.o(.text+0x171): In function `main':
/home/bingzhen/nlpbamboo/source/regress_test/regress_seg.cc:14: undefined 
reference to `bamboo::ParserFactory::get_instance()'
regress_seg.o(.text+0x18f):/home/bingzhen/nlpbamboo/source/regress_test/reg
ress_seg.cc:15: undefined reference to `bamboo::ParserFactory::create(char 
const*, char const*, bool)'
../../build/opt/bamboo/lib/libbamboo.a(bamboo.cxx.o)(.text+0x204): In 
function `bamboo_init':
: undefined reference to `bamboo::ParserFactory::get_instance()'
../../build/opt/bamboo/lib/libbamboo.a(bamboo.cxx.o)(.text+0x21f): In 
function `bamboo_init':
: undefined reference to `bamboo::ParserFactory::create(char const*, char 
const*, bool)'

Original issue reported on code.google.com by weibingz...@gmail.com on 5 Dec 2008 at 1:25

GoogleCodeExporter commented 8 years ago
fixed by rearch CMake

Original comment by det...@gmail.com on 5 Dec 2008 at 9:10