|
89 | 89 | 2. Add the ofxLibwebsockets paths to the "Additional Library Directories": |
90 | 90 | * right click on project in the solution explorer, click "Properties", Go down to Linker > General |
91 | 91 | * click the arrow at the right of "Additional Library Directories" and select "edit" |
92 | | - * add |
93 | | - ``` |
94 | | - ..\..\..\addons\ofxLibwebsockets\libs\libwebsockets\lib\win32\Release |
95 | | - ``` |
96 | | - and |
97 | | - ``` |
98 | | - ..\..\..\addons\ofxLibwebsockets\libs\libwebsockets\libs\openssl\lib\win32 |
99 | | - ``` |
| 92 | + * In your debug scheme, add |
| 93 | + |
| 94 | + `..\..\..\addons\ofxLibwebsockets\libs\libwebsockets\lib\win32\Debug` |
| 95 | + * In your release scheme, add |
| 96 | + |
| 97 | + `..\..\..\addons\ofxLibwebsockets\libs\libwebsockets\lib\win32\Release` |
| 98 | + |
| 99 | + * and if you need to use OpenSSL, add: |
| 100 | + |
| 101 | + `..\..\..\addons\ofxLibwebsockets\libs\libwebsockets\libs\openssl\lib\win32` |
| 102 | + |
100 | 103 | 3. Now go down to Linker > Input; open the editor "Additional dependencies" the same way |
101 | | - * In your debug scheme, add libwebsocketswin32d.lib, libeay32.lib, and ssleay32.lib |
102 | | - * In your release scheme, add libwebsocketswin32.lib, libeay32.lib, and ssleay32.lib |
| 104 | + * Add websockets_static.lib and ZLIB.lib |
| 105 | + * If you need to use OpenSSL, add libeay32.lib and ssleay32.lib |
103 | 106 | 4. Finally, go to C/C++ > Preprocessor |
104 | 107 | * Make sure you're editing "All Configurations", not just Debug or Release (drop down at the top left) |
105 | | - * Click the drop down next to "Preprocessor Definitions" and select <Edit> |
| 108 | + * Click the drop down next to "Preprocessor Definitions" and select *Edit* |
106 | 109 | * In the text box that pops up, paste |
107 | 110 | ``` |
108 | 111 | _WIN32_WINNT=0x500 |
|
0 commit comments