Skip to content

Commit f533edc

Browse files
Merge branch 'master' of https://github.com/labatrockwell/ofxLibwebsockets into 0.8.4
2 parents 1b15edb + 30a2d3c commit f533edc

File tree

1 file changed

+14
-11
lines changed

1 file changed

+14
-11
lines changed

README.md

Lines changed: 14 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -89,20 +89,23 @@
8989
2. Add the ofxLibwebsockets paths to the "Additional Library Directories":
9090
* right click on project in the solution explorer, click "Properties", Go down to Linker > General
9191
* 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+
100103
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
103106
4. Finally, go to C/C++ > Preprocessor
104107
* 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*
106109
* In the text box that pops up, paste
107110
```
108111
_WIN32_WINNT=0x500

0 commit comments

Comments
 (0)