We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I want to add Demo function to my project,but I only add DocumentPtr doc = newLucene<Document>(); to my code,and I have error.
DocumentPtr doc = newLucene<Document>();
g++ -std=c++11 -I/usr/local/include/ -I/usr/local/include/lucene++ main.1.cpp -o test.out -lboost_system -L/usr/local/lib/ /tmp/ccFsKMbz.o: In function `boost::detail::sp_if_not_array<Lucene::Document>::type boost::make_shared<Lucene::Document>()': main.1.cpp:(.text._ZN5boost11make_sharedIN6Lucene8DocumentEJEEENS_6detail15sp_if_not_arrayIT_E4typeEDpOT0_[_ZN5boost11make_sharedIN6Lucene8DocumentEJEEENS_6detail15sp_if_not_arrayIT_E4typeEDpOT0_]+0x77): undefined reference to `Lucene::Document::Document()' collect2: error: ld returned 1 exit status makefile:6: recipe for target 'test' failed make: *** [test] Error 1
Can someone tell me what happen to this error?
The text was updated successfully, but these errors were encountered:
No branches or pull requests
I want to add Demo function to my project,but I only add
DocumentPtr doc = newLucene<Document>();
to my code,and I have error.
Can someone tell me what happen to this error?
The text was updated successfully, but these errors were encountered: