Problems building ICU samples under VS2008
I tried to build ICU4C sample "uncv" using visual studio 2008 without success
- I added the header directories (Configuration Properties > C/C++ > General > Additional Include Directories)
- referenced the lib folder (Configuration Properties > Linker > Additional Library Directorie开发者_JAVA技巧s)
- I added the bin folder the PATH environment variable
After building the errors of kind "unresolved external symbol ... referenced in function ..." is shown. Am i missing anything ?
You did indeed miss one step -- you need to actually link to the ICU .lib files rather than just tell the linker where they reside. See .Lib Files as Linker Input for more information.
精彩评论