- create a new project with 'Win32 Console Application'
- add 'new project...' with CLucene
- in property of Solution, change 'Project Dependencies', your project depends on CLucene
- edit stdafx.h, stdafx.c with the same content of Demo
- in property pages of your project:
- C/C++ General: ../../src;../../src/yourProj
- Preprocessor (maybe)
- Code Generation: Runtime library - /MTd
- Precompiled Headers: Not using (maybe)
- Liner General: Enable Incremental Linking - Yes (/Incremental) (maybe)
- input: Additional Dependencies - ../../build/lib/clucene-coreUDMT.lib
If you got the link error "IndexFiles.obj : error LNK2019: unresolved external symbol "public: char * __thiscall lucene:: ....", something was wrong with the very first step. Try to New a 'Win32 Console Application'.
No comments:
Post a Comment