diff options
author | McCabe Maxsted | 2009-11-10 13:58:38 -0700 |
---|---|---|
committer | McCabe Maxsted | 2009-11-10 13:58:38 -0700 |
commit | 25b13a129b1617a8d3036213472b1c34122a5e7e (patch) | |
tree | 0f35b94bd42a753544cdf420ab70230b15013e8c /linden | |
parent | Fixed llstartup header issue and removed WIN32_LEAN_AND_MEAN define (diff) | |
download | meta-impy-25b13a129b1617a8d3036213472b1c34122a5e7e.zip meta-impy-25b13a129b1617a8d3036213472b1c34122a5e7e.tar.gz meta-impy-25b13a129b1617a8d3036213472b1c34122a5e7e.tar.bz2 meta-impy-25b13a129b1617a8d3036213472b1c34122a5e7e.tar.xz |
Viewer compiles, but still trying to get everything to link on Windows
Diffstat (limited to 'linden')
-rw-r--r-- | linden/indra/cmake/Boost.cmake | 26 | ||||
-rw-r--r-- | linden/indra/llcommon/linden_common.h | 1 | ||||
-rw-r--r-- | linden/indra/llmath/llmath.h | 9 | ||||
-rw-r--r-- | linden/indra/newview/llfloaterhtmlhelp.cpp | 3 | ||||
-rw-r--r-- | linden/indra/newview/llfloaterhtmlhelp.h | 3 | ||||
-rw-r--r-- | linden/install.xml | 12 |
6 files changed, 35 insertions, 19 deletions
diff --git a/linden/indra/cmake/Boost.cmake b/linden/indra/cmake/Boost.cmake index 0578ae9..50b8eff 100644 --- a/linden/indra/cmake/Boost.cmake +++ b/linden/indra/cmake/Boost.cmake | |||
@@ -15,18 +15,18 @@ else (STANDALONE) | |||
15 | set(Boost_INCLUDE_DIRS ${LIBS_PREBUILT_DIR}/include) | 15 | set(Boost_INCLUDE_DIRS ${LIBS_PREBUILT_DIR}/include) |
16 | 16 | ||
17 | if (WINDOWS) | 17 | if (WINDOWS) |
18 | set(BOOST_VERSION 1_34_1) | 18 | set(BOOST_VERSION 1_36) |
19 | if (MSVC71) | 19 | if (MSVC71) |
20 | set(BOOST_PROGRAM_OPTIONS_LIBRARY | 20 | set(BOOST_PROGRAM_OPTIONS_LIBRARY |
21 | optimized libboost_program_options-vc71-mt-s-${BOOST_VERSION} | 21 | optimized libboost_program_options-vc71-mt-${BOOST_VERSION} |
22 | debug libboost_program_options-vc71-mt-sgd-${BOOST_VERSION}) | 22 | debug libboost_program_options-vc71-mt-gd-${BOOST_VERSION}) |
23 | set(BOOST_REGEX_LIBRARY | 23 | set(BOOST_REGEX_LIBRARY |
24 | optimized libboost_regex-vc71-mt-s-${BOOST_VERSION} | 24 | optimized libboost_regex-vc71-mt-${BOOST_VERSION} |
25 | debug libboost_regex-vc71-mt-sgd-${BOOST_VERSION}) | 25 | debug libboost_regex-vc71-mt-gd-${BOOST_VERSION}) |
26 | set(BOOST_SIGNALS_LIBRARY | 26 | set(BOOST_SIGNALS_LIBRARY |
27 | optimized libboost_signals-vc71-mt-s-${BOOST_VERSION} | 27 | optimized libboost_signals-vc71-mt-${BOOST_VERSION} |
28 | debug libboost_signals-vc71-mt-sgd-${BOOST_VERSION}) | 28 | debug libboost_signals-vc71-mt-gd-${BOOST_VERSION}) |
29 | else (MSVC71) | 29 | elseif (MSVC80) |
30 | set(BOOST_PROGRAM_OPTIONS_LIBRARY | 30 | set(BOOST_PROGRAM_OPTIONS_LIBRARY |
31 | optimized libboost_program_options-vc80-mt-${BOOST_VERSION} | 31 | optimized libboost_program_options-vc80-mt-${BOOST_VERSION} |
32 | debug libboost_program_options-vc80-mt-gd-${BOOST_VERSION}) | 32 | debug libboost_program_options-vc80-mt-gd-${BOOST_VERSION}) |
@@ -36,6 +36,16 @@ else (STANDALONE) | |||
36 | set(BOOST_SIGNALS_LIBRARY | 36 | set(BOOST_SIGNALS_LIBRARY |
37 | optimized libboost_signals-vc80-mt-${BOOST_VERSION} | 37 | optimized libboost_signals-vc80-mt-${BOOST_VERSION} |
38 | debug libboost_signals-vc80-mt-gd-${BOOST_VERSION}) | 38 | debug libboost_signals-vc80-mt-gd-${BOOST_VERSION}) |
39 | elseif (MSVC90) | ||
40 | set(BOOST_PROGRAM_OPTIONS_LIBRARY | ||
41 | optimized libboost_program_options-vc90-mt-${BOOST_VERSION} | ||
42 | debug libboost_program_options-vc90-mt-gd-${BOOST_VERSION}) | ||
43 | set(BOOST_REGEX_LIBRARY | ||
44 | optimized libboost_regex-vc90-mt-${BOOST_VERSION} | ||
45 | debug libboost_regex-vc90-mt-gd-${BOOST_VERSION}) | ||
46 | set(BOOST_SIGNALS_LIBRARY | ||
47 | optimized libboost_signals-vc90-mt-${BOOST_VERSION} | ||
48 | debug libboost_signals-vc90-mt-gd-${BOOST_VERSION}) | ||
39 | endif (MSVC71) | 49 | endif (MSVC71) |
40 | elseif (DARWIN) | 50 | elseif (DARWIN) |
41 | set(BOOST_PROGRAM_OPTIONS_LIBRARY boost_program_options-mt) | 51 | set(BOOST_PROGRAM_OPTIONS_LIBRARY boost_program_options-mt) |
diff --git a/linden/indra/llcommon/linden_common.h b/linden/indra/llcommon/linden_common.h index f9d5877..25dd629 100644 --- a/linden/indra/llcommon/linden_common.h +++ b/linden/indra/llcommon/linden_common.h | |||
@@ -75,6 +75,7 @@ | |||
75 | #pragma warning (disable : 4396) // the inline specifier cannot be used when a friend declaration refers to a specialization of a function template | 75 | #pragma warning (disable : 4396) // the inline specifier cannot be used when a friend declaration refers to a specialization of a function template |
76 | #pragma warning (disable : 4512) // assignment operator could not be generated | 76 | #pragma warning (disable : 4512) // assignment operator could not be generated |
77 | #pragma warning (disable : 4706) // assignment within conditional (even if((x = y)) ) | 77 | #pragma warning (disable : 4706) // assignment within conditional (even if((x = y)) ) |
78 | #pragma warning (disable : 4265) // boost 1.36.0, non-virtual destructor in boost::exception_detail::* | ||
78 | #endif // LL_WINDOWS | 79 | #endif // LL_WINDOWS |
79 | 80 | ||
80 | // Linden only libs in alpha-order other than stdtypes.h | 81 | // Linden only libs in alpha-order other than stdtypes.h |
diff --git a/linden/indra/llmath/llmath.h b/linden/indra/llmath/llmath.h index 66451b1..9f8e539 100644 --- a/linden/indra/llmath/llmath.h +++ b/linden/indra/llmath/llmath.h | |||
@@ -60,9 +60,7 @@ | |||
60 | #endif | 60 | #endif |
61 | 61 | ||
62 | // Single Precision Floating Point Routines | 62 | // Single Precision Floating Point Routines |
63 | #ifndef fsqrtf | 63 | #if _MSC_VER < 1400 |
64 | #define fsqrtf(x) ((F32)sqrt((F64)(x))) | ||
65 | #endif | ||
66 | #ifndef sqrtf | 64 | #ifndef sqrtf |
67 | #define sqrtf(x) ((F32)sqrt((F64)(x))) | 65 | #define sqrtf(x) ((F32)sqrt((F64)(x))) |
68 | #endif | 66 | #endif |
@@ -83,6 +81,11 @@ | |||
83 | #ifndef powf | 81 | #ifndef powf |
84 | #define powf(x,y) ((F32)pow((F64)(x),(F64)(y))) | 82 | #define powf(x,y) ((F32)pow((F64)(x),(F64)(y))) |
85 | #endif | 83 | #endif |
84 | #endif | ||
85 | |||
86 | #ifndef fsqrtf | ||
87 | #define fsqrtf(x) sqrtf(x) | ||
88 | #endif | ||
86 | 89 | ||
87 | const F32 GRAVITY = -9.8f; | 90 | const F32 GRAVITY = -9.8f; |
88 | 91 | ||
diff --git a/linden/indra/newview/llfloaterhtmlhelp.cpp b/linden/indra/newview/llfloaterhtmlhelp.cpp index 8de489a..607a245 100644 --- a/linden/indra/newview/llfloaterhtmlhelp.cpp +++ b/linden/indra/newview/llfloaterhtmlhelp.cpp | |||
@@ -307,6 +307,8 @@ public: | |||
307 | virtual void draw(); | 307 | virtual void draw(); |
308 | 308 | ||
309 | static void show(std::string url, std::string title); | 309 | static void show(std::string url, std::string title); |
310 | |||
311 | private: | ||
310 | static void onClickBack( void* data ); | 312 | static void onClickBack( void* data ); |
311 | static void onClickHome( void* data ); | 313 | static void onClickHome( void* data ); |
312 | static void onClickForward( void* data ); | 314 | static void onClickForward( void* data ); |
@@ -321,7 +323,6 @@ public: | |||
321 | 323 | ||
322 | static bool onClickF1HelpLoadURL(const LLSD& notification, const LLSD& response); | 324 | static bool onClickF1HelpLoadURL(const LLSD& notification, const LLSD& response); |
323 | 325 | ||
324 | protected: | ||
325 | LLWebBrowserCtrl* mWebBrowser; | 326 | LLWebBrowserCtrl* mWebBrowser; |
326 | static LLFloaterHtmlHelp* sInstance; | 327 | static LLFloaterHtmlHelp* sInstance; |
327 | LLButton* mBackButton; | 328 | LLButton* mBackButton; |
diff --git a/linden/indra/newview/llfloaterhtmlhelp.h b/linden/indra/newview/llfloaterhtmlhelp.h index 5b09634..fa04f06 100644 --- a/linden/indra/newview/llfloaterhtmlhelp.h +++ b/linden/indra/newview/llfloaterhtmlhelp.h | |||
@@ -69,6 +69,8 @@ public: | |||
69 | 69 | ||
70 | static void toggle(); | 70 | static void toggle(); |
71 | static void helpF1(); | 71 | static void helpF1(); |
72 | |||
73 | private: | ||
72 | static void onEnterAddress(LLUICtrl* ctrl, void* user_data); | 74 | static void onEnterAddress(LLUICtrl* ctrl, void* user_data); |
73 | static void onClickRefresh(void* user_data); | 75 | static void onClickRefresh(void* user_data); |
74 | static void onClickBack(void* user_data); | 76 | static void onClickBack(void* user_data); |
@@ -81,7 +83,6 @@ public: | |||
81 | static void onClickSetHome(void* user_data); | 83 | static void onClickSetHome(void* user_data); |
82 | static bool onClickF1HelpLoadURL(const LLSD& notification, const LLSD& response); | 84 | static bool onClickF1HelpLoadURL(const LLSD& notification, const LLSD& response); |
83 | 85 | ||
84 | private: | ||
85 | LLWebBrowserCtrl* mBrowser; | 86 | LLWebBrowserCtrl* mBrowser; |
86 | LLComboBox* mAddressCombo; | 87 | LLComboBox* mAddressCombo; |
87 | std::string mCurrentURL; | 88 | std::string mCurrentURL; |
diff --git a/linden/install.xml b/linden/install.xml index fafdc81..e7d4c6b 100644 --- a/linden/install.xml +++ b/linden/install.xml | |||
@@ -195,9 +195,9 @@ | |||
195 | <key>windows</key> | 195 | <key>windows</key> |
196 | <map> | 196 | <map> |
197 | <key>md5sum</key> | 197 | <key>md5sum</key> |
198 | <string>d2b2ad9b46b9981c2a6be7c912bd17b4</string> | 198 | <string>286cca0d0fc3fb301b158672fb6465f6</string> |
199 | <key>url</key> | 199 | <key>url</key> |
200 | <uri>http://s3.amazonaws.com/viewer-source-downloads/install_pkgs/boost-1.34.1-windows-20080723.tar.bz2</uri> | 200 | <uri>http://www.lawlinter.net/data/boost-1.36.0-windows-20090626.tar.bz2</uri> |
201 | </map> | 201 | </map> |
202 | </map> | 202 | </map> |
203 | </map> | 203 | </map> |
@@ -726,9 +726,9 @@ anguage Infrstructure (CLI) international standard</string> | |||
726 | <key>windows</key> | 726 | <key>windows</key> |
727 | <map> | 727 | <map> |
728 | <key>md5sum</key> | 728 | <key>md5sum</key> |
729 | <string>200bdf3c5a5489210fcee965f639a3f9</string> | 729 | <string>c781cd9846cf20afb90ac40ad1a0ce9d</string> |
730 | <key>url</key> | 730 | <key>url</key> |
731 | <uri>http://imprudenceviewer.org/download/libs/libpng-1.2.34-1-windows-04172009.tar.bz2</uri> | 731 | <uri>http://s3.amazonaws.com/viewer-source-downloads/install_pkgs/libpng-1.2.35-windows-20090917.tar.bz2</uri> |
732 | </map> | 732 | </map> |
733 | </map> | 733 | </map> |
734 | </map> | 734 | </map> |
@@ -1014,9 +1014,9 @@ anguage Infrstructure (CLI) international standard</string> | |||
1014 | <key>windows</key> | 1014 | <key>windows</key> |
1015 | <map> | 1015 | <map> |
1016 | <key>md5sum</key> | 1016 | <key>md5sum</key> |
1017 | <string>8a75180cae12d268071c090abb031ba5</string> | 1017 | <string>dd85209081b832e836de6e1538541d89</string> |
1018 | <key>url</key> | 1018 | <key>url</key> |
1019 | <uri>http://s3.amazonaws.com/viewer-source-downloads/install_pkgs/openSSL-0.9.7c-windows-20080613.tar.bz2</uri> | 1019 | <uri>http://s3.amazonaws.com/viewer-source-downloads/install_pkgs/openSSL-0.9.8j-windows-20090129.tar.bz2</uri> |
1020 | </map> | 1020 | </map> |
1021 | </map> | 1021 | </map> |
1022 | </map> | 1022 | </map> |