編譯PWlib時搜索路徑的配置

The Windows configure process for PWLib or OpenH323 is finding the wrong version of a library - how do I stop this?

The configure program for Windows will search all directories looking for installed versions of libraries such as as expat.lib and openldap.lib. If other programs have versions of these libraries installed, then it is likely that configure will pick the wrong file. This is particularly likely if you have two development environments installed, such as VS.net and MSVC. 

To fix this, it is necessary to tell configure not to search in certain directories for files. This can be done by changing the configure command line in the project file, but there are also several predefined environment variables which, if set, will be used by configure to determine which directories to ignore. These variables are set to a list of directories seperated by semicolons (";") :

PWLIB_CONFIGURE_EXCLUDE_DIRS ignore these directories always
MSVC_PWLIB_CONFIGURE_EXCLUDE_DIRS ignore these directories when compiling using MSVC 6
VSNET_PWLIB_CONFIGURE_EXCLUDE_DIRS ignore these directories when compiling using VS.net 2003
 
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章