diff options
author | McCabe Maxsted | 2009-11-13 22:24:15 -0700 |
---|---|---|
committer | McCabe Maxsted | 2009-11-13 22:26:31 -0700 |
commit | 87e60447dc0a2acbf481f1a3674f2e76e6bcfc26 (patch) | |
tree | fcbbb148264c7c7d0a0f377683fff5a3cbf5cd49 | |
parent | Fixed linker error (onClickHome in llfloaterhtmlhelp.cpp) (diff) | |
download | meta-impy-87e60447dc0a2acbf481f1a3674f2e76e6bcfc26.zip meta-impy-87e60447dc0a2acbf481f1a3674f2e76e6bcfc26.tar.gz meta-impy-87e60447dc0a2acbf481f1a3674f2e76e6bcfc26.tar.bz2 meta-impy-87e60447dc0a2acbf481f1a3674f2e76e6bcfc26.tar.xz |
Force Imprudence to use the correst boost libraries, e.g: #pragma comment( lib, libboost_signals-vc80-mt-1_36.lib )
-rw-r--r-- | ChangeLog.txt | 6 | ||||
-rw-r--r-- | linden/indra/newview/llappviewerwin32.cpp | 25 |
2 files changed, 31 insertions, 0 deletions
diff --git a/ChangeLog.txt b/ChangeLog.txt index c0995e8..00c65ee 100644 --- a/ChangeLog.txt +++ b/ChangeLog.txt | |||
@@ -4,6 +4,12 @@ | |||
4 | 4 | ||
5 | 2009-11-12 McCabe Maxsted <hakushakukun@gmail.com> | 5 | 2009-11-12 McCabe Maxsted <hakushakukun@gmail.com> |
6 | 6 | ||
7 | * Force Imprudence to use the correst boost libraries, e.g: | ||
8 | #pragma comment( lib, "libboost_signals-vc80-mt-1_36.lib" ) | ||
9 | |||
10 | modified: linden/indra/newview/llappviewerwin32.cpp | ||
11 | |||
12 | |||
7 | * Fixed linker error (onClickHome in llfloaterhtmlhelp.cpp). | 13 | * Fixed linker error (onClickHome in llfloaterhtmlhelp.cpp). |
8 | 14 | ||
9 | modified: linden/indra/newview/llfloaterhtmlhelp.cpp | 15 | modified: linden/indra/newview/llfloaterhtmlhelp.cpp |
diff --git a/linden/indra/newview/llappviewerwin32.cpp b/linden/indra/newview/llappviewerwin32.cpp index e1c9471..87be31a 100644 --- a/linden/indra/newview/llappviewerwin32.cpp +++ b/linden/indra/newview/llappviewerwin32.cpp | |||
@@ -78,6 +78,31 @@ extern "C" { | |||
78 | #endif | 78 | #endif |
79 | #endif | 79 | #endif |
80 | 80 | ||
81 | // Force Imprudence to link against the correct boost libraries -- McCabe | ||
82 | #if defined(_MSC_VER) | ||
83 | #if _MSC_VER >= 1500 | ||
84 | #ifdef LL_DEBUG | ||
85 | #pragma comment( lib, "libboost_signals-vc90-mt-gd-1_36.lib" ) | ||
86 | #pragma comment( lib, "libboost_regex-vc90-mt-gd-1_36.lib" ) | ||
87 | #pragma comment( lib, "libboost_program_options-vc90-mt-gd-1_36.lib" ) | ||
88 | #else | ||
89 | #pragma comment( lib, "libboost_signals-vc90-mt-1_36.lib" ) | ||
90 | #pragma comment( lib, "libboost_regex-vc90-mt-1_36.lib" ) | ||
91 | #pragma comment( lib, "libboost_program_options-vc90-mt-1_36.lib" ) | ||
92 | #endif | ||
93 | #elif _MSC_VER >= 1400 | ||
94 | #ifdef LL_DEBUG | ||
95 | #pragma comment( lib, "libboost_signals-vc80-mt-gd-1_36.lib" ) | ||
96 | #pragma comment( lib, "libboost_regex-vc80-mt-gd-1_36.lib" ) | ||
97 | #pragma comment( lib, "libboost_program_options-vc80-mt-gd-1_36.lib" ) | ||
98 | #else | ||
99 | #pragma comment( lib, "libboost_signals-vc80-mt-1_36.lib" ) | ||
100 | #pragma comment( lib, "libboost_regex-vc80-mt-1_36.lib" ) | ||
101 | #pragma comment( lib, "libboost_program_options-vc80-mt-1_36.lib" ) | ||
102 | #endif | ||
103 | #endif | ||
104 | #endif | ||
105 | |||
81 | const std::string LLAppViewerWin32::sWindowClass = "Second Life"; | 106 | const std::string LLAppViewerWin32::sWindowClass = "Second Life"; |
82 | 107 | ||
83 | LONG WINAPI viewer_windows_exception_handler(struct _EXCEPTION_POINTERS *exception_infop) | 108 | LONG WINAPI viewer_windows_exception_handler(struct _EXCEPTION_POINTERS *exception_infop) |