Hi, > Every time I try to compile it, I get error: > Linking ... > test.obj : error LNK2019: unresolved external symbol > [EMAIL PROTECTED] referenced in function _main > Debug/test.exe : fatal error LNK1120: 1 unresolved externals > > I also try to define APR_DECLARE_STATIC and APU_DECLARE_STATIC symbols in > project properties->C/C++->Command Line (/D "APR_DECLARE_STATIC" /D > "APU_DECLARE_STATIC"), but in this way I only get a lot of new errors (so > the situation is even wrose). > > Please can someone help me to compile my simple aplication?
In VC6 at least, the place to put APR_DECLARE_STATIC is under Project -> Settings -> C/C++ tab -> Category: Preprocessor -> Preprocessor definitions. I'm not sure of the equivalent for VC7, but that fixed the same problem for me. bye, Saxon
